From 09a71dbf902527fcee731535fdd01018d8a9b090 Mon Sep 17 00:00:00 2001 From: Slavik Panasovets Date: Wed, 7 Aug 2024 01:54:39 +0000 Subject: [PATCH] Update golang gcp compute APIs Commands executed: - go get -u cloud.google.com/go/compute - go mod tidy - go mod vendor - ./tools/update_vendor.sh --- go.mod | 26 +- go.sum | 52 +- vendor/cloud.google.com/go/auth/CHANGES.md | 28 + vendor/cloud.google.com/go/auth/auth.go | 8 +- .../go/auth/credentials/detect.go | 2 +- .../internal/externalaccount/aws_provider.go | 59 +- .../internal/externalaccount/url_provider.go | 16 +- .../go/auth/credentials/internal/gdch/gdch.go | 10 +- .../internal/impersonate/impersonate.go | 7 +- .../internal/stsexchange/sts_exchange.go | 8 +- .../go/auth/internal/internal.go | 21 +- .../internal/transport/cert/default_cert.go | 9 +- .../internal/transport/cert/workload_cert.go | 2 +- .../go/auth/internal/transport/transport.go | 4 +- .../go/auth/oauth2adapt/CHANGES.md | 7 + .../cloud.google.com/go/auth/threelegged.go | 16 +- .../go/compute/metadata/BUILD | 9 + .../go/compute/metadata/CHANGES.md | 19 + .../go/compute/metadata/metadata.go | 381 +- .../go/compute/metadata/syscheck.go | 26 + .../go/compute/metadata/syscheck_linux.go | 28 + .../go/compute/metadata/syscheck_windows.go | 38 + vendor/github.com/go-logr/logr/README.md | 1 + vendor/github.com/go-logr/logr/funcr/funcr.go | 169 +- .../gax-go/v2/.release-please-manifest.json | 2 +- .../googleapis/gax-go/v2/CHANGES.md | 7 + .../googleapis/gax-go/v2/internal/version.go | 2 +- .../chacha20poly1305/chacha20poly1305.go | 2 +- .../x/crypto/cryptobyte/asn1/asn1.go | 2 +- .../golang.org/x/crypto/cryptobyte/string.go | 2 +- vendor/golang.org/x/crypto/hkdf/hkdf.go | 2 +- .../x/crypto/nacl/secretbox/secretbox.go | 2 +- .../x/crypto/salsa20/salsa/hsalsa20.go | 2 +- vendor/golang.org/x/sys/unix/mremap.go | 5 + .../golang.org/x/sys/unix/syscall_darwin.go | 12 + vendor/golang.org/x/sys/unix/syscall_unix.go | 9 + .../x/sys/unix/zsyscall_darwin_amd64.go | 33 + .../x/sys/unix/zsyscall_darwin_amd64.s | 10 + .../x/sys/unix/zsyscall_darwin_arm64.go | 33 + .../x/sys/unix/zsyscall_darwin_arm64.s | 10 + .../x/sys/windows/security_windows.go | 24 +- .../x/sys/windows/zsyscall_windows.go | 9 + .../api/compute/v0.alpha/compute-api.json | 112 +- .../api/compute/v0.alpha/compute-gen.go | 5312 +++++++++-------- .../api/compute/v0.alpha/compute3-gen.go | 8 +- .../api/compute/v0.beta/compute-api.json | 434 +- .../api/compute/v0.beta/compute-gen.go | 4731 +++++++-------- .../api/compute/v0.beta/compute2-gen.go | 1134 +++- .../api/compute/v0.beta/compute3-gen.go | 8 +- .../api/compute/v1/compute-api.json | 18 +- .../api/compute/v1/compute-gen.go | 4364 +++++++------- .../api/compute/v1/compute3-gen.go | 8 +- .../api/container/v1/container-api.json | 53 +- .../api/container/v1/container-gen.go | 765 +-- .../google.golang.org/api/internal/creds.go | 2 +- .../api/internal/settings.go | 2 +- .../google.golang.org/api/internal/version.go | 2 +- .../v1/networkservices-api.json | 354 +- .../networkservices/v1/networkservices-gen.go | 3614 ++++------- .../v1beta1/networkservices-api.json | 354 +- .../v1beta1/networkservices-gen.go | 3614 ++++------- .../google.golang.org/api/tpu/v1/tpu-gen.go | 64 +- .../api/transport/http/dial.go | 6 - .../googleapis/api/annotations/client.pb.go | 28 +- .../api/annotations/field_info.pb.go | 159 +- .../googleapis/api/annotations/http.pb.go | 48 +- .../googleapis/api/annotations/resource.pb.go | 9 +- .../grpc/metadata/metadata.go | 15 - vendor/google.golang.org/grpc/version.go | 2 +- vendor/modules.txt | 32 +- 70 files changed, 12644 insertions(+), 13722 deletions(-) create mode 100644 vendor/cloud.google.com/go/compute/metadata/syscheck.go create mode 100644 vendor/cloud.google.com/go/compute/metadata/syscheck_linux.go create mode 100644 vendor/cloud.google.com/go/compute/metadata/syscheck_windows.go diff --git a/go.mod b/go.mod index 12b5a92643..0aca88ef65 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ require ( github.com/spf13/pflag v1.0.5 github.com/stretchr/testify v1.9.0 golang.org/x/oauth2 v0.21.0 - google.golang.org/api v0.187.0 + google.golang.org/api v0.189.0 gopkg.in/gcfg.v1 v1.2.3 gopkg.in/warnings.v0 v0.1.2 k8s.io/api v0.30.0 @@ -30,7 +30,7 @@ require ( ) require ( - cloud.google.com/go/compute/metadata v0.3.0 + cloud.google.com/go/compute/metadata v0.5.0 github.com/GoogleCloudPlatform/gke-networking-api v0.1.2-0.20240703141847-066e11533e15 github.com/hashicorp/go-multierror v1.1.1 github.com/natefinch/atomic v1.0.1 @@ -40,8 +40,8 @@ require ( ) require ( - cloud.google.com/go/auth v0.6.1 // indirect - cloud.google.com/go/auth/oauth2adapt v0.2.2 // indirect + cloud.google.com/go/auth v0.7.2 // indirect + cloud.google.com/go/auth/oauth2adapt v0.2.3 // indirect github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230305170008-8188dc5388df // indirect github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a // indirect github.com/distribution/reference v0.5.0 // indirect @@ -50,8 +50,8 @@ require ( github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect github.com/hashicorp/errwrap v1.0.0 // indirect golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20240617180043-68d350f18fd4 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240624140628-dc46fd24d27d // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20240722135656-d784300faade // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240722135656-d784300faade // indirect k8s.io/gengo/v2 v2.0.0-20240228010128-51d4e06bde70 // indirect sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.29.0 // indirect ) @@ -71,7 +71,7 @@ require ( github.com/fatih/color v1.16.0 // indirect github.com/felixge/httpsnoop v1.0.4 // indirect github.com/fsnotify/fsnotify v1.7.0 // indirect - github.com/go-logr/logr v1.4.1 // indirect + github.com/go-logr/logr v1.4.2 // indirect github.com/go-logr/stdr v1.2.2 // indirect github.com/go-openapi/jsonpointer v0.19.6 // indirect github.com/go-openapi/jsonreference v0.20.2 // indirect @@ -83,7 +83,7 @@ require ( github.com/google/cel-go v0.17.8 // indirect github.com/google/gofuzz v1.2.0 // indirect github.com/google/uuid v1.6.0 - github.com/googleapis/gax-go/v2 v2.12.5 // indirect + github.com/googleapis/gax-go/v2 v2.13.0 // indirect github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 // indirect github.com/imdario/mergo v0.3.11 // indirect @@ -121,16 +121,16 @@ require ( go.opentelemetry.io/proto/otlp v1.0.0 // indirect go.uber.org/multierr v1.11.0 // indirect go.uber.org/zap v1.26.0 // indirect - golang.org/x/crypto v0.24.0 // indirect + golang.org/x/crypto v0.25.0 // indirect golang.org/x/mod v0.17.0 // indirect - golang.org/x/net v0.26.0 // indirect + golang.org/x/net v0.27.0 // indirect golang.org/x/sync v0.7.0 - golang.org/x/sys v0.21.0 // indirect - golang.org/x/term v0.21.0 // indirect + golang.org/x/sys v0.22.0 // indirect + golang.org/x/term v0.22.0 // indirect golang.org/x/text v0.16.0 // indirect golang.org/x/time v0.5.0 // indirect golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect - google.golang.org/grpc v1.64.0 // indirect + google.golang.org/grpc v1.64.1 // indirect google.golang.org/protobuf v1.34.2 // indirect gopkg.in/inf.v0 v0.9.1 // indirect gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect diff --git a/go.sum b/go.sum index 00701f4b38..0212bd1cfe 100644 --- a/go.sum +++ b/go.sum @@ -1,10 +1,10 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go/auth v0.6.1 h1:T0Zw1XM5c1GlpN2HYr2s+m3vr1p2wy+8VN+Z1FKxW38= -cloud.google.com/go/auth v0.6.1/go.mod h1:eFHG7zDzbXHKmjJddFG/rBlcGp6t25SwRUiEQSlO4x4= -cloud.google.com/go/auth/oauth2adapt v0.2.2 h1:+TTV8aXpjeChS9M+aTtN/TjdQnzJvmzKFt//oWu7HX4= -cloud.google.com/go/auth/oauth2adapt v0.2.2/go.mod h1:wcYjgpZI9+Yu7LyYBg4pqSiaRkfEK3GQcpb7C/uyF1Q= -cloud.google.com/go/compute/metadata v0.3.0 h1:Tz+eQXMEqDIKRsmY3cHTL6FVaynIjX2QxYC4trgAKZc= -cloud.google.com/go/compute/metadata v0.3.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k= +cloud.google.com/go/auth v0.7.2 h1:uiha352VrCDMXg+yoBtaD0tUF4Kv9vrtrWPYXwutnDE= +cloud.google.com/go/auth v0.7.2/go.mod h1:VEc4p5NNxycWQTMQEDQF0bd6aTMb6VgYDXEwiJJQAbs= +cloud.google.com/go/auth/oauth2adapt v0.2.3 h1:MlxF+Pd3OmSudg/b1yZ5lJwoXCEaeedAguodky1PcKI= +cloud.google.com/go/auth/oauth2adapt v0.2.3/go.mod h1:tMQXOfZzFuNuUxOypHlQEXgdfX5cuhwU+ffUuXRJE8I= +cloud.google.com/go/compute/metadata v0.5.0 h1:Zr0eK8JbFv6+Wi4ilXAR8FJ3wyNdpxHKJNPos6LTZOY= +cloud.google.com/go/compute/metadata v0.5.0/go.mod h1:aHnloV2TPI38yx4s9+wAZhHykWvVCfu7hQbF+9CWoiY= github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 h1:UQHMgLO+TxOElx5B5HZ4hJQsoJ/PvUvKRhJHDQXO8P8= github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= @@ -59,8 +59,8 @@ github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSw github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA= github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.4.1 h1:pKouT5E8xu9zeFC39JXRDukb6JFQPXM5p5I91188VAQ= -github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= +github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY= +github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-logr/zapr v1.3.0 h1:XGdV8XW8zdwFiwOA2Dryh1gj2KRQyOOoNmBy4EplIcQ= @@ -125,8 +125,8 @@ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/enterprise-certificate-proxy v0.3.2 h1:Vie5ybvEvT75RniqhfFxPRy3Bf7vr3h0cechB90XaQs= github.com/googleapis/enterprise-certificate-proxy v0.3.2/go.mod h1:VLSiSSBs/ksPL8kq3OBOQ6WRI2QnaFynd1DCjZ62+V0= -github.com/googleapis/gax-go/v2 v2.12.5 h1:8gw9KZK8TiVKB6q3zHY3SBzLnrGp6HQjyfYBYGmXdxA= -github.com/googleapis/gax-go/v2 v2.12.5/go.mod h1:BUDKcWo+RaKq5SC9vVYL0wLADa3VcfswbOMMRmB9H3E= +github.com/googleapis/gax-go/v2 v2.13.0 h1:yitjD5f7jQHhyDsnhKEBU52NdvvdSeGzlAnDPT0hH1s= +github.com/googleapis/gax-go/v2 v2.13.0/go.mod h1:Z/fvTZXF8/uw7Xu5GuslPw+bplx6SS338j1Is2S+B7A= github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc= github.com/gorilla/websocket v1.5.0/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 h1:+9834+KizmvFV7pXQGSXQTsaWhq2GjuNUt0aUU0YBYw= @@ -278,8 +278,8 @@ go.uber.org/zap v1.26.0/go.mod h1:dtElttAiwGvoJ/vj4IwHBS/gXsEu/pZ50mUIRWuG0so= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= -golang.org/x/crypto v0.24.0 h1:mnl8DM0o513X8fdIkmyFE/5hTYxbwYOjDS/+rK6qpRI= -golang.org/x/crypto v0.24.0/go.mod h1:Z1PMYSOR5nyMcyAVAIQSKCDwalqy85Aqn1x3Ws4L5DM= +golang.org/x/crypto v0.25.0 h1:ypSNr+bnYL2YhwoMt2zPxHFmbAN1KZs/njMG3hxUp30= +golang.org/x/crypto v0.25.0/go.mod h1:T+wALwcMOSE0kXgUAnPAHqTLW+XHgcELELW8VaDgm/M= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e h1:+WEEuIdZHnUeJJmEUjyYC2gfUMj69yZXw17EnHg/otA= golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e/go.mod h1:Kr81I6Kryrl9sr8s2FK3vxD90NdsKWRuOIl2O4CvYbA= @@ -318,12 +318,12 @@ golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws= -golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.22.0 h1:RI27ohtqKCnwULzJLqkv897zojh5/DwS/ENaMzUOaWI= +golang.org/x/sys v0.22.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= -golang.org/x/term v0.21.0 h1:WVXCp+/EBEHOj53Rvu+7KiT/iElMrO8ACK16SMZ3jaA= -golang.org/x/term v0.21.0/go.mod h1:ooXLefLobQVslOqselCNF4SxFAaoS6KujMbsGzSDmX0= +golang.org/x/term v0.22.0 h1:BbsgPEJULsl2fV/AT3v15Mjva5yXKQDyKf+TbDz7QJk= +golang.org/x/term v0.22.0/go.mod h1:F3qCibpT5AMpCRfhfT53vVJwhLtIVHhB9XDjfFvnMI4= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= @@ -348,26 +348,26 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/api v0.187.0 h1:Mxs7VATVC2v7CY+7Xwm4ndkX71hpElcvx0D1Ji/p1eo= -google.golang.org/api v0.187.0/go.mod h1:KIHlTc4x7N7gKKuVsdmfBXN13yEEWXWFURWY6SBp2gk= +google.golang.org/api v0.189.0 h1:equMo30LypAkdkLMBqfeIqtyAnlyig1JSZArl4XPwdI= +google.golang.org/api v0.189.0/go.mod h1:FLWGJKb0hb+pU2j+rJqwbnsF+ym+fQs73rbJ+KAUgy8= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/genproto v0.0.0-20240624140628-dc46fd24d27d h1:PksQg4dV6Sem3/HkBX+Ltq8T0ke0PKIRBNBatoDTVls= -google.golang.org/genproto v0.0.0-20240624140628-dc46fd24d27d/go.mod h1:s7iA721uChleev562UJO2OYB0PPT9CMFjV+Ce7VJH5M= -google.golang.org/genproto/googleapis/api v0.0.0-20240617180043-68d350f18fd4 h1:MuYw1wJzT+ZkybKfaOXKp5hJiZDn2iHaXRw0mRYdHSc= -google.golang.org/genproto/googleapis/api v0.0.0-20240617180043-68d350f18fd4/go.mod h1:px9SlOOZBg1wM1zdnr8jEL4CNGUBZ+ZKYtNPApNQc4c= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240624140628-dc46fd24d27d h1:k3zyW3BYYR30e8v3x0bTDdE9vpYFjZHK+HcyqkrppWk= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240624140628-dc46fd24d27d/go.mod h1:Ue6ibwXGpU+dqIcODieyLOcgj7z8+IcskoNIgZxtrFY= +google.golang.org/genproto v0.0.0-20240722135656-d784300faade h1:lKFsS7wpngDgSCeFn7MoLy+wBDQZ1UQIJD4UNM1Qvkg= +google.golang.org/genproto v0.0.0-20240722135656-d784300faade/go.mod h1:FfBgJBJg9GcpPvKIuHSZ/aE1g2ecGL74upMzGZjiGEY= +google.golang.org/genproto/googleapis/api v0.0.0-20240722135656-d784300faade h1:WxZOF2yayUHpHSbUE6NMzumUzBxYc3YGwo0YHnbzsJY= +google.golang.org/genproto/googleapis/api v0.0.0-20240722135656-d784300faade/go.mod h1:mw8MG/Qz5wfgYr6VqVCiZcHe/GJEfI+oGGDCohaVgB0= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240722135656-d784300faade h1:oCRSWfwGXQsqlVdErcyTt4A93Y8fo0/9D4b1gnI++qo= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240722135656-d784300faade/go.mod h1:Ue6ibwXGpU+dqIcODieyLOcgj7z8+IcskoNIgZxtrFY= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= -google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY= -google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg= +google.golang.org/grpc v1.64.1 h1:LKtvyfbX3UGVPFcGqJ9ItpVWW6oN/2XqTxfAnwRRXiA= +google.golang.org/grpc v1.64.1/go.mod h1:hiQF4LFZelK2WKaP6W0L92zGHtiQdZxk8CrSdvyjeP0= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= diff --git a/vendor/cloud.google.com/go/auth/CHANGES.md b/vendor/cloud.google.com/go/auth/CHANGES.md index 8a8228f564..e62f143492 100644 --- a/vendor/cloud.google.com/go/auth/CHANGES.md +++ b/vendor/cloud.google.com/go/auth/CHANGES.md @@ -1,5 +1,33 @@ # Changelog +## [0.7.2](https://github.com/googleapis/google-cloud-go/compare/auth/v0.7.1...auth/v0.7.2) (2024-07-22) + + +### Bug Fixes + +* **auth:** Use default client for universe metadata lookup ([#10551](https://github.com/googleapis/google-cloud-go/issues/10551)) ([d9046fd](https://github.com/googleapis/google-cloud-go/commit/d9046fdd1435d1ce48f374806c1def4cb5ac6cd3)), refs [#10544](https://github.com/googleapis/google-cloud-go/issues/10544) + +## [0.7.1](https://github.com/googleapis/google-cloud-go/compare/auth/v0.7.0...auth/v0.7.1) (2024-07-10) + + +### Bug Fixes + +* **auth:** Bump google.golang.org/grpc@v1.64.1 ([8ecc4e9](https://github.com/googleapis/google-cloud-go/commit/8ecc4e9622e5bbe9b90384d5848ab816027226c5)) + +## [0.7.0](https://github.com/googleapis/google-cloud-go/compare/auth/v0.6.1...auth/v0.7.0) (2024-07-09) + + +### Features + +* **auth:** Add workload X509 cert provider as a default cert provider ([#10479](https://github.com/googleapis/google-cloud-go/issues/10479)) ([c51ee6c](https://github.com/googleapis/google-cloud-go/commit/c51ee6cf65ce05b4d501083e49d468c75ac1ea63)) + + +### Bug Fixes + +* **auth/oauth2adapt:** Bump google.golang.org/api@v0.187.0 ([8fa9e39](https://github.com/googleapis/google-cloud-go/commit/8fa9e398e512fd8533fd49060371e61b5725a85b)) +* **auth:** Bump google.golang.org/api@v0.187.0 ([8fa9e39](https://github.com/googleapis/google-cloud-go/commit/8fa9e398e512fd8533fd49060371e61b5725a85b)) +* **auth:** Check len of slices, not non-nil ([#10483](https://github.com/googleapis/google-cloud-go/issues/10483)) ([0a966a1](https://github.com/googleapis/google-cloud-go/commit/0a966a183e5f0e811977216d736d875b7233e942)) + ## [0.6.1](https://github.com/googleapis/google-cloud-go/compare/auth/v0.6.0...auth/v0.6.1) (2024-07-01) diff --git a/vendor/cloud.google.com/go/auth/auth.go b/vendor/cloud.google.com/go/auth/auth.go index 36729b604a..58af931887 100644 --- a/vendor/cloud.google.com/go/auth/auth.go +++ b/vendor/cloud.google.com/go/auth/auth.go @@ -538,12 +538,12 @@ func (tp tokenProvider2LO) Token(ctx context.Context) (*Token, error) { v := url.Values{} v.Set("grant_type", defaultGrantType) v.Set("assertion", payload) - resp, err := tp.Client.PostForm(tp.opts.TokenURL, v) + req, err := http.NewRequestWithContext(ctx, "POST", tp.opts.TokenURL, strings.NewReader(v.Encode())) if err != nil { - return nil, fmt.Errorf("auth: cannot fetch token: %w", err) + return nil, err } - defer resp.Body.Close() - body, err := internal.ReadAll(resp.Body) + req.Header.Set("Content-Type", "application/x-www-form-urlencoded") + resp, body, err := internal.DoRequest(tp.Client, req) if err != nil { return nil, fmt.Errorf("auth: cannot fetch token: %w", err) } diff --git a/vendor/cloud.google.com/go/auth/credentials/detect.go b/vendor/cloud.google.com/go/auth/credentials/detect.go index cfa0c88f81..2d9a73edf3 100644 --- a/vendor/cloud.google.com/go/auth/credentials/detect.go +++ b/vendor/cloud.google.com/go/auth/credentials/detect.go @@ -76,7 +76,7 @@ func DetectDefault(opts *DetectOptions) (*auth.Credentials, error) { if err := opts.validate(); err != nil { return nil, err } - if opts.CredentialsJSON != nil { + if len(opts.CredentialsJSON) > 0 { return readCredentialsFileJSON(opts.CredentialsJSON, opts) } if opts.CredentialsFile != "" { diff --git a/vendor/cloud.google.com/go/auth/credentials/internal/externalaccount/aws_provider.go b/vendor/cloud.google.com/go/auth/credentials/internal/externalaccount/aws_provider.go index d9e1dcddf6..a34f6b06f8 100644 --- a/vendor/cloud.google.com/go/auth/credentials/internal/externalaccount/aws_provider.go +++ b/vendor/cloud.google.com/go/auth/credentials/internal/externalaccount/aws_provider.go @@ -122,7 +122,7 @@ func (sp *awsSubjectProvider) subjectToken(ctx context.Context) (string, error) // Generate the signed request to AWS STS GetCallerIdentity API. // Use the required regional endpoint. Otherwise, the request will fail. - req, err := http.NewRequest("POST", strings.Replace(sp.RegionalCredVerificationURL, "{region}", sp.region, 1), nil) + req, err := http.NewRequestWithContext(ctx, "POST", strings.Replace(sp.RegionalCredVerificationURL, "{region}", sp.region, 1), nil) if err != nil { return "", err } @@ -194,20 +194,14 @@ func (sp *awsSubjectProvider) getAWSSessionToken(ctx context.Context) (string, e } req.Header.Set(awsIMDSv2SessionTTLHeader, awsIMDSv2SessionTTL) - resp, err := sp.Client.Do(req) - if err != nil { - return "", err - } - defer resp.Body.Close() - - respBody, err := internal.ReadAll(resp.Body) + resp, body, err := internal.DoRequest(sp.Client, req) if err != nil { return "", err } if resp.StatusCode != http.StatusOK { - return "", fmt.Errorf("credentials: unable to retrieve AWS session token: %s", respBody) + return "", fmt.Errorf("credentials: unable to retrieve AWS session token: %s", body) } - return string(respBody), nil + return string(body), nil } func (sp *awsSubjectProvider) getRegion(ctx context.Context, headers map[string]string) (string, error) { @@ -233,29 +227,21 @@ func (sp *awsSubjectProvider) getRegion(ctx context.Context, headers map[string] for name, value := range headers { req.Header.Add(name, value) } - - resp, err := sp.Client.Do(req) + resp, body, err := internal.DoRequest(sp.Client, req) if err != nil { return "", err } - defer resp.Body.Close() - - respBody, err := internal.ReadAll(resp.Body) - if err != nil { - return "", err - } - if resp.StatusCode != http.StatusOK { - return "", fmt.Errorf("credentials: unable to retrieve AWS region - %s", respBody) + return "", fmt.Errorf("credentials: unable to retrieve AWS region - %s", body) } // This endpoint will return the region in format: us-east-2b. // Only the us-east-2 part should be used. - bodyLen := len(respBody) + bodyLen := len(body) if bodyLen == 0 { return "", nil } - return string(respBody[:bodyLen-1]), nil + return string(body[:bodyLen-1]), nil } func (sp *awsSubjectProvider) getSecurityCredentials(ctx context.Context, headers map[string]string) (result *AwsSecurityCredentials, err error) { @@ -299,22 +285,17 @@ func (sp *awsSubjectProvider) getMetadataSecurityCredentials(ctx context.Context for name, value := range headers { req.Header.Add(name, value) } - - resp, err := sp.Client.Do(req) - if err != nil { - return result, err - } - defer resp.Body.Close() - - respBody, err := internal.ReadAll(resp.Body) + resp, body, err := internal.DoRequest(sp.Client, req) if err != nil { return result, err } if resp.StatusCode != http.StatusOK { - return result, fmt.Errorf("credentials: unable to retrieve AWS security credentials - %s", respBody) + return result, fmt.Errorf("credentials: unable to retrieve AWS security credentials - %s", body) + } + if err := json.Unmarshal(body, &result); err != nil { + return nil, err } - err = json.Unmarshal(respBody, &result) - return result, err + return result, nil } func (sp *awsSubjectProvider) getMetadataRoleName(ctx context.Context, headers map[string]string) (string, error) { @@ -329,20 +310,14 @@ func (sp *awsSubjectProvider) getMetadataRoleName(ctx context.Context, headers m req.Header.Add(name, value) } - resp, err := sp.Client.Do(req) - if err != nil { - return "", err - } - defer resp.Body.Close() - - respBody, err := internal.ReadAll(resp.Body) + resp, body, err := internal.DoRequest(sp.Client, req) if err != nil { return "", err } if resp.StatusCode != http.StatusOK { - return "", fmt.Errorf("credentials: unable to retrieve AWS role name - %s", respBody) + return "", fmt.Errorf("credentials: unable to retrieve AWS role name - %s", body) } - return string(respBody), nil + return string(body), nil } // awsRequestSigner is a utility class to sign http requests using a AWS V4 signature. diff --git a/vendor/cloud.google.com/go/auth/credentials/internal/externalaccount/url_provider.go b/vendor/cloud.google.com/go/auth/credentials/internal/externalaccount/url_provider.go index 22b8af1c11..e33d35a268 100644 --- a/vendor/cloud.google.com/go/auth/credentials/internal/externalaccount/url_provider.go +++ b/vendor/cloud.google.com/go/auth/credentials/internal/externalaccount/url_provider.go @@ -48,27 +48,21 @@ func (sp *urlSubjectProvider) subjectToken(ctx context.Context) (string, error) for key, val := range sp.Headers { req.Header.Add(key, val) } - resp, err := sp.Client.Do(req) + resp, body, err := internal.DoRequest(sp.Client, req) if err != nil { return "", fmt.Errorf("credentials: invalid response when retrieving subject token: %w", err) } - defer resp.Body.Close() - - respBody, err := internal.ReadAll(resp.Body) - if err != nil { - return "", fmt.Errorf("credentials: invalid body in subject token URL query: %w", err) - } if c := resp.StatusCode; c < http.StatusOK || c >= http.StatusMultipleChoices { - return "", fmt.Errorf("credentials: status code %d: %s", c, respBody) + return "", fmt.Errorf("credentials: status code %d: %s", c, body) } if sp.Format == nil { - return string(respBody), nil + return string(body), nil } switch sp.Format.Type { case "json": jsonData := make(map[string]interface{}) - err = json.Unmarshal(respBody, &jsonData) + err = json.Unmarshal(body, &jsonData) if err != nil { return "", fmt.Errorf("credentials: failed to unmarshal subject token file: %w", err) } @@ -82,7 +76,7 @@ func (sp *urlSubjectProvider) subjectToken(ctx context.Context) (string, error) } return token, nil case fileTypeText: - return string(respBody), nil + return string(body), nil default: return "", errors.New("credentials: invalid credential_source file format type: " + sp.Format.Type) } diff --git a/vendor/cloud.google.com/go/auth/credentials/internal/gdch/gdch.go b/vendor/cloud.google.com/go/auth/credentials/internal/gdch/gdch.go index 467edb9088..720045d3b0 100644 --- a/vendor/cloud.google.com/go/auth/credentials/internal/gdch/gdch.go +++ b/vendor/cloud.google.com/go/auth/credentials/internal/gdch/gdch.go @@ -25,6 +25,7 @@ import ( "net/http" "net/url" "os" + "strings" "time" "cloud.google.com/go/auth" @@ -129,12 +130,13 @@ func (g gdchProvider) Token(ctx context.Context) (*auth.Token, error) { v.Set("requested_token_type", requestTokenType) v.Set("subject_token", payload) v.Set("subject_token_type", subjectTokenType) - resp, err := g.client.PostForm(g.tokenURL, v) + + req, err := http.NewRequestWithContext(ctx, "POST", g.tokenURL, strings.NewReader(v.Encode())) if err != nil { - return nil, fmt.Errorf("credentials: cannot fetch token: %w", err) + return nil, err } - defer resp.Body.Close() - body, err := internal.ReadAll(resp.Body) + req.Header.Set("Content-Type", "application/x-www-form-urlencoded") + resp, body, err := internal.DoRequest(g.client, req) if err != nil { return nil, fmt.Errorf("credentials: cannot fetch token: %w", err) } diff --git a/vendor/cloud.google.com/go/auth/credentials/internal/impersonate/impersonate.go b/vendor/cloud.google.com/go/auth/credentials/internal/impersonate/impersonate.go index 3ceab873b8..ed53afa519 100644 --- a/vendor/cloud.google.com/go/auth/credentials/internal/impersonate/impersonate.go +++ b/vendor/cloud.google.com/go/auth/credentials/internal/impersonate/impersonate.go @@ -109,15 +109,10 @@ func (o *Options) Token(ctx context.Context) (*auth.Token, error) { if err := setAuthHeader(ctx, o.Tp, req); err != nil { return nil, err } - resp, err := o.Client.Do(req) + resp, body, err := internal.DoRequest(o.Client, req) if err != nil { return nil, fmt.Errorf("credentials: unable to generate access token: %w", err) } - defer resp.Body.Close() - body, err := internal.ReadAll(resp.Body) - if err != nil { - return nil, fmt.Errorf("credentials: unable to read body: %w", err) - } if c := resp.StatusCode; c < http.StatusOK || c >= http.StatusMultipleChoices { return nil, fmt.Errorf("credentials: status code %d: %s", c, body) } diff --git a/vendor/cloud.google.com/go/auth/credentials/internal/stsexchange/sts_exchange.go b/vendor/cloud.google.com/go/auth/credentials/internal/stsexchange/sts_exchange.go index f70e0aef48..768a9dafc1 100644 --- a/vendor/cloud.google.com/go/auth/credentials/internal/stsexchange/sts_exchange.go +++ b/vendor/cloud.google.com/go/auth/credentials/internal/stsexchange/sts_exchange.go @@ -93,16 +93,10 @@ func doRequest(ctx context.Context, opts *Options, data url.Values) (*TokenRespo } req.Header.Set("Content-Length", strconv.Itoa(len(encodedData))) - resp, err := opts.Client.Do(req) + resp, body, err := internal.DoRequest(opts.Client, req) if err != nil { return nil, fmt.Errorf("credentials: invalid response from Secure Token Server: %w", err) } - defer resp.Body.Close() - - body, err := internal.ReadAll(resp.Body) - if err != nil { - return nil, err - } if c := resp.StatusCode; c < http.StatusOK || c > http.StatusMultipleChoices { return nil, fmt.Errorf("credentials: status code %d: %s", c, body) } diff --git a/vendor/cloud.google.com/go/auth/internal/internal.go b/vendor/cloud.google.com/go/auth/internal/internal.go index 70534e809a..e56daa7810 100644 --- a/vendor/cloud.google.com/go/auth/internal/internal.go +++ b/vendor/cloud.google.com/go/auth/internal/internal.go @@ -124,6 +124,21 @@ func GetProjectID(b []byte, override string) string { return v.Project } +// DoRequest executes the provided req with the client. It reads the response +// body, closes it, and returns it. +func DoRequest(client *http.Client, req *http.Request) (*http.Response, []byte, error) { + resp, err := client.Do(req) + if err != nil { + return nil, nil, err + } + defer resp.Body.Close() + body, err := ReadAll(io.LimitReader(resp.Body, maxBodySize)) + if err != nil { + return nil, nil, err + } + return resp, body, nil +} + // ReadAll consumes the whole reader and safely reads the content of its body // with some overflow protection. func ReadAll(r io.Reader) ([]byte, error) { @@ -166,9 +181,9 @@ func (c *ComputeUniverseDomainProvider) GetProperty(ctx context.Context) (string // httpGetMetadataUniverseDomain is a package var for unit test substitution. var httpGetMetadataUniverseDomain = func(ctx context.Context) (string, error) { - client := metadata.NewClient(&http.Client{Timeout: time.Second}) - // TODO(quartzmo): set ctx on request - return client.Get("universe/universe_domain") + ctx, cancel := context.WithTimeout(ctx, 1*time.Second) + defer cancel() + return metadata.GetWithContext(ctx, "universe/universe_domain") } func getMetadataUniverseDomain(ctx context.Context) (string, error) { diff --git a/vendor/cloud.google.com/go/auth/internal/transport/cert/default_cert.go b/vendor/cloud.google.com/go/auth/internal/transport/cert/default_cert.go index 96582ce7b6..5cedc50f1e 100644 --- a/vendor/cloud.google.com/go/auth/internal/transport/cert/default_cert.go +++ b/vendor/cloud.google.com/go/auth/internal/transport/cert/default_cert.go @@ -50,11 +50,14 @@ var errSourceUnavailable = errors.New("certificate source is unavailable") // returned to indicate that a default certificate source is unavailable. func DefaultProvider() (Provider, error) { defaultCert.once.Do(func() { - defaultCert.provider, defaultCert.err = NewEnterpriseCertificateProxyProvider("") + defaultCert.provider, defaultCert.err = NewWorkloadX509CertProvider("") if errors.Is(defaultCert.err, errSourceUnavailable) { - defaultCert.provider, defaultCert.err = NewSecureConnectProvider("") + defaultCert.provider, defaultCert.err = NewEnterpriseCertificateProxyProvider("") if errors.Is(defaultCert.err, errSourceUnavailable) { - defaultCert.provider, defaultCert.err = nil, nil + defaultCert.provider, defaultCert.err = NewSecureConnectProvider("") + if errors.Is(defaultCert.err, errSourceUnavailable) { + defaultCert.provider, defaultCert.err = nil, nil + } } } }) diff --git a/vendor/cloud.google.com/go/auth/internal/transport/cert/workload_cert.go b/vendor/cloud.google.com/go/auth/internal/transport/cert/workload_cert.go index ea1e1febbc..e8675bf824 100644 --- a/vendor/cloud.google.com/go/auth/internal/transport/cert/workload_cert.go +++ b/vendor/cloud.google.com/go/auth/internal/transport/cert/workload_cert.go @@ -99,7 +99,7 @@ func getCertAndKeyFiles(configFilePath string) (string, string, error) { } if config.CertConfigs.Workload == nil { - return "", "", errors.New("no Workload Identity Federation certificate information found in the certificate configuration file") + return "", "", errSourceUnavailable } certFile := config.CertConfigs.Workload.CertPath diff --git a/vendor/cloud.google.com/go/auth/internal/transport/transport.go b/vendor/cloud.google.com/go/auth/internal/transport/transport.go index 2e2451c576..718a6b1714 100644 --- a/vendor/cloud.google.com/go/auth/internal/transport/transport.go +++ b/vendor/cloud.google.com/go/auth/internal/transport/transport.go @@ -53,11 +53,11 @@ func CloneDetectOptions(oldDo *credentials.DetectOptions) *credentials.DetectOpt } // Smartly size this memory and copy below. - if oldDo.CredentialsJSON != nil { + if len(oldDo.CredentialsJSON) > 0 { newDo.CredentialsJSON = make([]byte, len(oldDo.CredentialsJSON)) copy(newDo.CredentialsJSON, oldDo.CredentialsJSON) } - if oldDo.Scopes != nil { + if len(oldDo.Scopes) > 0 { newDo.Scopes = make([]string, len(oldDo.Scopes)) copy(newDo.Scopes, oldDo.Scopes) } diff --git a/vendor/cloud.google.com/go/auth/oauth2adapt/CHANGES.md b/vendor/cloud.google.com/go/auth/oauth2adapt/CHANGES.md index ff9747beda..f75c8e204a 100644 --- a/vendor/cloud.google.com/go/auth/oauth2adapt/CHANGES.md +++ b/vendor/cloud.google.com/go/auth/oauth2adapt/CHANGES.md @@ -1,5 +1,12 @@ # Changelog +## [0.2.3](https://github.com/googleapis/google-cloud-go/compare/auth/oauth2adapt/v0.2.2...auth/oauth2adapt/v0.2.3) (2024-07-10) + + +### Bug Fixes + +* **auth/oauth2adapt:** Bump google.golang.org/api@v0.187.0 ([8fa9e39](https://github.com/googleapis/google-cloud-go/commit/8fa9e398e512fd8533fd49060371e61b5725a85b)) + ## [0.2.2](https://github.com/googleapis/google-cloud-go/compare/auth/oauth2adapt/v0.2.1...auth/oauth2adapt/v0.2.2) (2024-04-23) diff --git a/vendor/cloud.google.com/go/auth/threelegged.go b/vendor/cloud.google.com/go/auth/threelegged.go index 1ccdeff84d..a8ce6cd8a8 100644 --- a/vendor/cloud.google.com/go/auth/threelegged.go +++ b/vendor/cloud.google.com/go/auth/threelegged.go @@ -285,7 +285,7 @@ func fetchToken(ctx context.Context, o *Options3LO, v url.Values) (*Token, strin v.Set("client_secret", o.ClientSecret) } } - req, err := http.NewRequest("POST", o.TokenURL, strings.NewReader(v.Encode())) + req, err := http.NewRequestWithContext(ctx, "POST", o.TokenURL, strings.NewReader(v.Encode())) if err != nil { return nil, refreshToken, err } @@ -295,25 +295,19 @@ func fetchToken(ctx context.Context, o *Options3LO, v url.Values) (*Token, strin } // Make request - r, err := o.client().Do(req.WithContext(ctx)) + resp, body, err := internal.DoRequest(o.client(), req) if err != nil { return nil, refreshToken, err } - body, err := internal.ReadAll(r.Body) - r.Body.Close() - if err != nil { - return nil, refreshToken, fmt.Errorf("auth: cannot fetch token: %w", err) - } - - failureStatus := r.StatusCode < 200 || r.StatusCode > 299 + failureStatus := resp.StatusCode < 200 || resp.StatusCode > 299 tokError := &Error{ - Response: r, + Response: resp, Body: body, } var token *Token // errors ignored because of default switch on content - content, _, _ := mime.ParseMediaType(r.Header.Get("Content-Type")) + content, _, _ := mime.ParseMediaType(resp.Header.Get("Content-Type")) switch content { case "application/x-www-form-urlencoded", "text/plain": // some endpoints return a query string diff --git a/vendor/cloud.google.com/go/compute/metadata/BUILD b/vendor/cloud.google.com/go/compute/metadata/BUILD index ada664e1b4..627e24c972 100644 --- a/vendor/cloud.google.com/go/compute/metadata/BUILD +++ b/vendor/cloud.google.com/go/compute/metadata/BUILD @@ -6,8 +6,17 @@ go_library( "metadata.go", "retry.go", "retry_linux.go", + "syscheck.go", + "syscheck_linux.go", + "syscheck_windows.go", ], importmap = "k8s.io/cloud-provider-gcp/vendor/cloud.google.com/go/compute/metadata", importpath = "cloud.google.com/go/compute/metadata", visibility = ["//visibility:public"], + deps = select({ + "@io_bazel_rules_go//go/platform:windows": [ + "//vendor/golang.org/x/sys/windows/registry", + ], + "//conditions:default": [], + }), ) diff --git a/vendor/cloud.google.com/go/compute/metadata/CHANGES.md b/vendor/cloud.google.com/go/compute/metadata/CHANGES.md index 967e060747..9594e1e279 100644 --- a/vendor/cloud.google.com/go/compute/metadata/CHANGES.md +++ b/vendor/cloud.google.com/go/compute/metadata/CHANGES.md @@ -1,5 +1,24 @@ # Changes +## [0.5.0](https://github.com/googleapis/google-cloud-go/compare/compute/metadata/v0.4.0...compute/metadata/v0.5.0) (2024-07-10) + + +### Features + +* **compute/metadata:** Add sys check for windows OnGCE ([#10521](https://github.com/googleapis/google-cloud-go/issues/10521)) ([3b9a830](https://github.com/googleapis/google-cloud-go/commit/3b9a83063960d2a2ac20beb47cc15818a68bd302)) + +## [0.4.0](https://github.com/googleapis/google-cloud-go/compare/compute/metadata/v0.3.0...compute/metadata/v0.4.0) (2024-07-01) + + +### Features + +* **compute/metadata:** Add context for all functions/methods ([#10370](https://github.com/googleapis/google-cloud-go/issues/10370)) ([66b8efe](https://github.com/googleapis/google-cloud-go/commit/66b8efe7ad877e052b2987bb4475477e38c67bb3)) + + +### Documentation + +* **compute/metadata:** Update OnGCE description ([#10408](https://github.com/googleapis/google-cloud-go/issues/10408)) ([6a46dca](https://github.com/googleapis/google-cloud-go/commit/6a46dca4eae4f88ec6f88822e01e5bf8aeca787f)) + ## [0.3.0](https://github.com/googleapis/google-cloud-go/compare/compute/metadata/v0.2.3...compute/metadata/v0.3.0) (2024-04-15) diff --git a/vendor/cloud.google.com/go/compute/metadata/metadata.go b/vendor/cloud.google.com/go/compute/metadata/metadata.go index f67e3c7eea..345080b729 100644 --- a/vendor/cloud.google.com/go/compute/metadata/metadata.go +++ b/vendor/cloud.google.com/go/compute/metadata/metadata.go @@ -28,7 +28,6 @@ import ( "net/http" "net/url" "os" - "runtime" "strings" "sync" "time" @@ -88,16 +87,16 @@ func (suffix NotDefinedError) Error() string { return fmt.Sprintf("metadata: GCE metadata %q not defined", string(suffix)) } -func (c *cachedValue) get(cl *Client) (v string, err error) { +func (c *cachedValue) get(ctx context.Context, cl *Client) (v string, err error) { defer c.mu.Unlock() c.mu.Lock() if c.v != "" { return c.v, nil } if c.trim { - v, err = cl.getTrimmed(context.Background(), c.k) + v, err = cl.getTrimmed(ctx, c.k) } else { - v, err = cl.GetWithContext(context.Background(), c.k) + v, err = cl.GetWithContext(ctx, c.k) } if err == nil { c.v = v @@ -110,7 +109,9 @@ var ( onGCE bool ) -// OnGCE reports whether this process is running on Google Compute Engine. +// OnGCE reports whether this process is running on Google Compute Platforms. +// NOTE: True returned from `OnGCE` does not guarantee that the metadata server +// is accessible from this process and have all the metadata defined. func OnGCE() bool { onGCEOnce.Do(initOnGCE) return onGCE @@ -188,21 +189,9 @@ func testOnGCE() bool { return <-resc } -// systemInfoSuggestsGCE reports whether the local system (without -// doing network requests) suggests that we're running on GCE. If this -// returns true, testOnGCE tries a bit harder to reach its metadata -// server. -func systemInfoSuggestsGCE() bool { - if runtime.GOOS != "linux" { - // We don't have any non-Linux clues available, at least yet. - return false - } - slurp, _ := os.ReadFile("/sys/class/dmi/id/product_name") - name := strings.TrimSpace(string(slurp)) - return name == "Google" || name == "Google Compute Engine" -} - // Subscribe calls Client.SubscribeWithContext on the default client. +// +// Deprecated: Please use the context aware variant [SubscribeWithContext]. func Subscribe(suffix string, fn func(v string, ok bool) error) error { return defaultClient.SubscribeWithContext(context.Background(), suffix, func(ctx context.Context, v string, ok bool) error { return fn(v, ok) }) } @@ -225,55 +214,188 @@ func GetWithContext(ctx context.Context, suffix string) (string, error) { } // ProjectID returns the current instance's project ID string. -func ProjectID() (string, error) { return defaultClient.ProjectID() } +// +// Deprecated: Please use the context aware variant [ProjectIDWithContext]. +func ProjectID() (string, error) { + return defaultClient.ProjectIDWithContext(context.Background()) +} + +// ProjectIDWithContext returns the current instance's project ID string. +func ProjectIDWithContext(ctx context.Context) (string, error) { + return defaultClient.ProjectIDWithContext(ctx) +} // NumericProjectID returns the current instance's numeric project ID. -func NumericProjectID() (string, error) { return defaultClient.NumericProjectID() } +// +// Deprecated: Please use the context aware variant [NumericProjectIDWithContext]. +func NumericProjectID() (string, error) { + return defaultClient.NumericProjectIDWithContext(context.Background()) +} + +// NumericProjectIDWithContext returns the current instance's numeric project ID. +func NumericProjectIDWithContext(ctx context.Context) (string, error) { + return defaultClient.NumericProjectIDWithContext(ctx) +} // InternalIP returns the instance's primary internal IP address. -func InternalIP() (string, error) { return defaultClient.InternalIP() } +// +// Deprecated: Please use the context aware variant [InternalIPWithContext]. +func InternalIP() (string, error) { + return defaultClient.InternalIPWithContext(context.Background()) +} + +// InternalIPWithContext returns the instance's primary internal IP address. +func InternalIPWithContext(ctx context.Context) (string, error) { + return defaultClient.InternalIPWithContext(ctx) +} // ExternalIP returns the instance's primary external (public) IP address. -func ExternalIP() (string, error) { return defaultClient.ExternalIP() } +// +// Deprecated: Please use the context aware variant [ExternalIPWithContext]. +func ExternalIP() (string, error) { + return defaultClient.ExternalIPWithContext(context.Background()) +} -// Email calls Client.Email on the default client. -func Email(serviceAccount string) (string, error) { return defaultClient.Email(serviceAccount) } +// ExternalIPWithContext returns the instance's primary external (public) IP address. +func ExternalIPWithContext(ctx context.Context) (string, error) { + return defaultClient.ExternalIPWithContext(ctx) +} + +// Email calls Client.EmailWithContext on the default client. +// +// Deprecated: Please use the context aware variant [EmailWithContext]. +func Email(serviceAccount string) (string, error) { + return defaultClient.EmailWithContext(context.Background(), serviceAccount) +} + +// EmailWithContext calls Client.EmailWithContext on the default client. +func EmailWithContext(ctx context.Context, serviceAccount string) (string, error) { + return defaultClient.EmailWithContext(ctx, serviceAccount) +} // Hostname returns the instance's hostname. This will be of the form // ".c..internal". -func Hostname() (string, error) { return defaultClient.Hostname() } +// +// Deprecated: Please use the context aware variant [HostnameWithContext]. +func Hostname() (string, error) { + return defaultClient.HostnameWithContext(context.Background()) +} + +// HostnameWithContext returns the instance's hostname. This will be of the form +// ".c..internal". +func HostnameWithContext(ctx context.Context) (string, error) { + return defaultClient.HostnameWithContext(ctx) +} // InstanceTags returns the list of user-defined instance tags, // assigned when initially creating a GCE instance. -func InstanceTags() ([]string, error) { return defaultClient.InstanceTags() } +// +// Deprecated: Please use the context aware variant [InstanceTagsWithContext]. +func InstanceTags() ([]string, error) { + return defaultClient.InstanceTagsWithContext(context.Background()) +} + +// InstanceTagsWithContext returns the list of user-defined instance tags, +// assigned when initially creating a GCE instance. +func InstanceTagsWithContext(ctx context.Context) ([]string, error) { + return defaultClient.InstanceTagsWithContext(ctx) +} // InstanceID returns the current VM's numeric instance ID. -func InstanceID() (string, error) { return defaultClient.InstanceID() } +// +// Deprecated: Please use the context aware variant [InstanceIDWithContext]. +func InstanceID() (string, error) { + return defaultClient.InstanceIDWithContext(context.Background()) +} + +// InstanceIDWithContext returns the current VM's numeric instance ID. +func InstanceIDWithContext(ctx context.Context) (string, error) { + return defaultClient.InstanceIDWithContext(ctx) +} // InstanceName returns the current VM's instance ID string. -func InstanceName() (string, error) { return defaultClient.InstanceName() } +// +// Deprecated: Please use the context aware variant [InstanceNameWithContext]. +func InstanceName() (string, error) { + return defaultClient.InstanceNameWithContext(context.Background()) +} + +// InstanceNameWithContext returns the current VM's instance ID string. +func InstanceNameWithContext(ctx context.Context) (string, error) { + return defaultClient.InstanceNameWithContext(ctx) +} // Zone returns the current VM's zone, such as "us-central1-b". -func Zone() (string, error) { return defaultClient.Zone() } +// +// Deprecated: Please use the context aware variant [ZoneWithContext]. +func Zone() (string, error) { + return defaultClient.ZoneWithContext(context.Background()) +} -// InstanceAttributes calls Client.InstanceAttributes on the default client. -func InstanceAttributes() ([]string, error) { return defaultClient.InstanceAttributes() } +// ZoneWithContext returns the current VM's zone, such as "us-central1-b". +func ZoneWithContext(ctx context.Context) (string, error) { + return defaultClient.ZoneWithContext(ctx) +} -// ProjectAttributes calls Client.ProjectAttributes on the default client. -func ProjectAttributes() ([]string, error) { return defaultClient.ProjectAttributes() } +// InstanceAttributes calls Client.InstanceAttributesWithContext on the default client. +// +// Deprecated: Please use the context aware variant [InstanceAttributesWithContext. +func InstanceAttributes() ([]string, error) { + return defaultClient.InstanceAttributesWithContext(context.Background()) +} + +// InstanceAttributesWithContext calls Client.ProjectAttributesWithContext on the default client. +func InstanceAttributesWithContext(ctx context.Context) ([]string, error) { + return defaultClient.InstanceAttributesWithContext(ctx) +} -// InstanceAttributeValue calls Client.InstanceAttributeValue on the default client. +// ProjectAttributes calls Client.ProjectAttributesWithContext on the default client. +// +// Deprecated: Please use the context aware variant [ProjectAttributesWithContext]. +func ProjectAttributes() ([]string, error) { + return defaultClient.ProjectAttributesWithContext(context.Background()) +} + +// ProjectAttributesWithContext calls Client.ProjectAttributesWithContext on the default client. +func ProjectAttributesWithContext(ctx context.Context) ([]string, error) { + return defaultClient.ProjectAttributesWithContext(ctx) +} + +// InstanceAttributeValue calls Client.InstanceAttributeValueWithContext on the default client. +// +// Deprecated: Please use the context aware variant [InstanceAttributeValueWithContext]. func InstanceAttributeValue(attr string) (string, error) { - return defaultClient.InstanceAttributeValue(attr) + return defaultClient.InstanceAttributeValueWithContext(context.Background(), attr) } -// ProjectAttributeValue calls Client.ProjectAttributeValue on the default client. +// InstanceAttributeValueWithContext calls Client.InstanceAttributeValueWithContext on the default client. +func InstanceAttributeValueWithContext(ctx context.Context, attr string) (string, error) { + return defaultClient.InstanceAttributeValueWithContext(ctx, attr) +} + +// ProjectAttributeValue calls Client.ProjectAttributeValueWithContext on the default client. +// +// Deprecated: Please use the context aware variant [ProjectAttributeValueWithContext]. func ProjectAttributeValue(attr string) (string, error) { - return defaultClient.ProjectAttributeValue(attr) + return defaultClient.ProjectAttributeValueWithContext(context.Background(), attr) } -// Scopes calls Client.Scopes on the default client. -func Scopes(serviceAccount string) ([]string, error) { return defaultClient.Scopes(serviceAccount) } +// ProjectAttributeValueWithContext calls Client.ProjectAttributeValueWithContext on the default client. +func ProjectAttributeValueWithContext(ctx context.Context, attr string) (string, error) { + return defaultClient.ProjectAttributeValueWithContext(ctx, attr) +} + +// Scopes calls Client.ScopesWithContext on the default client. +// +// Deprecated: Please use the context aware variant [ScopesWithContext]. +func Scopes(serviceAccount string) ([]string, error) { + return defaultClient.ScopesWithContext(context.Background(), serviceAccount) +} + +// ScopesWithContext calls Client.ScopesWithContext on the default client. +func ScopesWithContext(ctx context.Context, serviceAccount string) ([]string, error) { + return defaultClient.ScopesWithContext(ctx, serviceAccount) +} func strsContains(ss []string, s string) bool { for _, v := range ss { @@ -296,7 +418,6 @@ func NewClient(c *http.Client) *Client { if c == nil { return defaultClient } - return &Client{hc: c} } @@ -381,6 +502,10 @@ func (c *Client) Get(suffix string) (string, error) { // // If the requested metadata is not defined, the returned error will // be of type NotDefinedError. +// +// NOTE: Without an extra deadline in the context this call can take in the +// worst case, with internal backoff retries, up to 15 seconds (e.g. when server +// is responding slowly). Pass context with additional timeouts when needed. func (c *Client) GetWithContext(ctx context.Context, suffix string) (string, error) { val, _, err := c.getETag(ctx, suffix) return val, err @@ -392,8 +517,8 @@ func (c *Client) getTrimmed(ctx context.Context, suffix string) (s string, err e return } -func (c *Client) lines(suffix string) ([]string, error) { - j, err := c.GetWithContext(context.Background(), suffix) +func (c *Client) lines(ctx context.Context, suffix string) ([]string, error) { + j, err := c.GetWithContext(ctx, suffix) if err != nil { return nil, err } @@ -405,45 +530,104 @@ func (c *Client) lines(suffix string) ([]string, error) { } // ProjectID returns the current instance's project ID string. -func (c *Client) ProjectID() (string, error) { return projID.get(c) } +// +// Deprecated: Please use the context aware variant [Client.ProjectIDWithContext]. +func (c *Client) ProjectID() (string, error) { return c.ProjectIDWithContext(context.Background()) } + +// ProjectIDWithContext returns the current instance's project ID string. +func (c *Client) ProjectIDWithContext(ctx context.Context) (string, error) { return projID.get(ctx, c) } // NumericProjectID returns the current instance's numeric project ID. -func (c *Client) NumericProjectID() (string, error) { return projNum.get(c) } +// +// Deprecated: Please use the context aware variant [Client.NumericProjectIDWithContext]. +func (c *Client) NumericProjectID() (string, error) { + return c.NumericProjectIDWithContext(context.Background()) +} + +// NumericProjectIDWithContext returns the current instance's numeric project ID. +func (c *Client) NumericProjectIDWithContext(ctx context.Context) (string, error) { + return projNum.get(ctx, c) +} // InstanceID returns the current VM's numeric instance ID. -func (c *Client) InstanceID() (string, error) { return instID.get(c) } +// +// Deprecated: Please use the context aware variant [Client.InstanceIDWithContext]. +func (c *Client) InstanceID() (string, error) { + return c.InstanceIDWithContext(context.Background()) +} + +// InstanceIDWithContext returns the current VM's numeric instance ID. +func (c *Client) InstanceIDWithContext(ctx context.Context) (string, error) { + return instID.get(ctx, c) +} // InternalIP returns the instance's primary internal IP address. +// +// Deprecated: Please use the context aware variant [Client.InternalIPWithContext]. func (c *Client) InternalIP() (string, error) { - return c.getTrimmed(context.Background(), "instance/network-interfaces/0/ip") + return c.InternalIPWithContext(context.Background()) +} + +// InternalIPWithContext returns the instance's primary internal IP address. +func (c *Client) InternalIPWithContext(ctx context.Context) (string, error) { + return c.getTrimmed(ctx, "instance/network-interfaces/0/ip") } // Email returns the email address associated with the service account. -// The account may be empty or the string "default" to use the instance's -// main account. +// +// Deprecated: Please use the context aware variant [Client.EmailWithContext]. func (c *Client) Email(serviceAccount string) (string, error) { + return c.EmailWithContext(context.Background(), serviceAccount) +} + +// EmailWithContext returns the email address associated with the service account. +// The serviceAccount parameter default value (empty string or "default" value) +// will use the instance's main account. +func (c *Client) EmailWithContext(ctx context.Context, serviceAccount string) (string, error) { if serviceAccount == "" { serviceAccount = "default" } - return c.getTrimmed(context.Background(), "instance/service-accounts/"+serviceAccount+"/email") + return c.getTrimmed(ctx, "instance/service-accounts/"+serviceAccount+"/email") } // ExternalIP returns the instance's primary external (public) IP address. +// +// Deprecated: Please use the context aware variant [Client.ExternalIPWithContext]. func (c *Client) ExternalIP() (string, error) { - return c.getTrimmed(context.Background(), "instance/network-interfaces/0/access-configs/0/external-ip") + return c.ExternalIPWithContext(context.Background()) +} + +// ExternalIPWithContext returns the instance's primary external (public) IP address. +func (c *Client) ExternalIPWithContext(ctx context.Context) (string, error) { + return c.getTrimmed(ctx, "instance/network-interfaces/0/access-configs/0/external-ip") } // Hostname returns the instance's hostname. This will be of the form // ".c..internal". +// +// Deprecated: Please use the context aware variant [Client.HostnameWithContext]. func (c *Client) Hostname() (string, error) { - return c.getTrimmed(context.Background(), "instance/hostname") + return c.HostnameWithContext(context.Background()) } -// InstanceTags returns the list of user-defined instance tags, -// assigned when initially creating a GCE instance. +// HostnameWithContext returns the instance's hostname. This will be of the form +// ".c..internal". +func (c *Client) HostnameWithContext(ctx context.Context) (string, error) { + return c.getTrimmed(ctx, "instance/hostname") +} + +// InstanceTags returns the list of user-defined instance tags. +// +// Deprecated: Please use the context aware variant [Client.InstanceTagsWithContext]. func (c *Client) InstanceTags() ([]string, error) { + return c.InstanceTagsWithContext(context.Background()) +} + +// InstanceTagsWithContext returns the list of user-defined instance tags, +// assigned when initially creating a GCE instance. +func (c *Client) InstanceTagsWithContext(ctx context.Context) ([]string, error) { var s []string - j, err := c.GetWithContext(context.Background(), "instance/tags") + j, err := c.GetWithContext(ctx, "instance/tags") if err != nil { return nil, err } @@ -454,13 +638,27 @@ func (c *Client) InstanceTags() ([]string, error) { } // InstanceName returns the current VM's instance ID string. +// +// Deprecated: Please use the context aware variant [Client.InstanceNameWithContext]. func (c *Client) InstanceName() (string, error) { - return c.getTrimmed(context.Background(), "instance/name") + return c.InstanceNameWithContext(context.Background()) +} + +// InstanceNameWithContext returns the current VM's instance ID string. +func (c *Client) InstanceNameWithContext(ctx context.Context) (string, error) { + return c.getTrimmed(ctx, "instance/name") } // Zone returns the current VM's zone, such as "us-central1-b". +// +// Deprecated: Please use the context aware variant [Client.ZoneWithContext]. func (c *Client) Zone() (string, error) { - zone, err := c.getTrimmed(context.Background(), "instance/zone") + return c.ZoneWithContext(context.Background()) +} + +// ZoneWithContext returns the current VM's zone, such as "us-central1-b". +func (c *Client) ZoneWithContext(ctx context.Context) (string, error) { + zone, err := c.getTrimmed(ctx, "instance/zone") // zone is of the form "projects//zones/". if err != nil { return "", err @@ -471,12 +669,34 @@ func (c *Client) Zone() (string, error) { // InstanceAttributes returns the list of user-defined attributes, // assigned when initially creating a GCE VM instance. The value of an // attribute can be obtained with InstanceAttributeValue. -func (c *Client) InstanceAttributes() ([]string, error) { return c.lines("instance/attributes/") } +// +// Deprecated: Please use the context aware variant [Client.InstanceAttributesWithContext]. +func (c *Client) InstanceAttributes() ([]string, error) { + return c.InstanceAttributesWithContext(context.Background()) +} + +// InstanceAttributesWithContext returns the list of user-defined attributes, +// assigned when initially creating a GCE VM instance. The value of an +// attribute can be obtained with InstanceAttributeValue. +func (c *Client) InstanceAttributesWithContext(ctx context.Context) ([]string, error) { + return c.lines(ctx, "instance/attributes/") +} // ProjectAttributes returns the list of user-defined attributes // applying to the project as a whole, not just this VM. The value of // an attribute can be obtained with ProjectAttributeValue. -func (c *Client) ProjectAttributes() ([]string, error) { return c.lines("project/attributes/") } +// +// Deprecated: Please use the context aware variant [Client.ProjectAttributesWithContext]. +func (c *Client) ProjectAttributes() ([]string, error) { + return c.ProjectAttributesWithContext(context.Background()) +} + +// ProjectAttributesWithContext returns the list of user-defined attributes +// applying to the project as a whole, not just this VM. The value of +// an attribute can be obtained with ProjectAttributeValue. +func (c *Client) ProjectAttributesWithContext(ctx context.Context) ([]string, error) { + return c.lines(ctx, "project/attributes/") +} // InstanceAttributeValue returns the value of the provided VM // instance attribute. @@ -486,8 +706,22 @@ func (c *Client) ProjectAttributes() ([]string, error) { return c.lines("project // // InstanceAttributeValue may return ("", nil) if the attribute was // defined to be the empty string. +// +// Deprecated: Please use the context aware variant [Client.InstanceAttributeValueWithContext]. func (c *Client) InstanceAttributeValue(attr string) (string, error) { - return c.GetWithContext(context.Background(), "instance/attributes/"+attr) + return c.InstanceAttributeValueWithContext(context.Background(), attr) +} + +// InstanceAttributeValueWithContext returns the value of the provided VM +// instance attribute. +// +// If the requested attribute is not defined, the returned error will +// be of type NotDefinedError. +// +// InstanceAttributeValue may return ("", nil) if the attribute was +// defined to be the empty string. +func (c *Client) InstanceAttributeValueWithContext(ctx context.Context, attr string) (string, error) { + return c.GetWithContext(ctx, "instance/attributes/"+attr) } // ProjectAttributeValue returns the value of the provided @@ -498,18 +732,41 @@ func (c *Client) InstanceAttributeValue(attr string) (string, error) { // // ProjectAttributeValue may return ("", nil) if the attribute was // defined to be the empty string. +// +// Deprecated: Please use the context aware variant [Client.ProjectAttributeValueWithContext]. func (c *Client) ProjectAttributeValue(attr string) (string, error) { - return c.GetWithContext(context.Background(), "project/attributes/"+attr) + return c.ProjectAttributeValueWithContext(context.Background(), attr) +} + +// ProjectAttributeValueWithContext returns the value of the provided +// project attribute. +// +// If the requested attribute is not defined, the returned error will +// be of type NotDefinedError. +// +// ProjectAttributeValue may return ("", nil) if the attribute was +// defined to be the empty string. +func (c *Client) ProjectAttributeValueWithContext(ctx context.Context, attr string) (string, error) { + return c.GetWithContext(ctx, "project/attributes/"+attr) } // Scopes returns the service account scopes for the given account. // The account may be empty or the string "default" to use the instance's // main account. +// +// Deprecated: Please use the context aware variant [Client.ScopesWithContext]. func (c *Client) Scopes(serviceAccount string) ([]string, error) { + return c.ScopesWithContext(context.Background(), serviceAccount) +} + +// ScopesWithContext returns the service account scopes for the given account. +// The account may be empty or the string "default" to use the instance's +// main account. +func (c *Client) ScopesWithContext(ctx context.Context, serviceAccount string) ([]string, error) { if serviceAccount == "" { serviceAccount = "default" } - return c.lines("instance/service-accounts/" + serviceAccount + "/scopes") + return c.lines(ctx, "instance/service-accounts/"+serviceAccount+"/scopes") } // Subscribe subscribes to a value from the metadata service. diff --git a/vendor/cloud.google.com/go/compute/metadata/syscheck.go b/vendor/cloud.google.com/go/compute/metadata/syscheck.go new file mode 100644 index 0000000000..e0704fa647 --- /dev/null +++ b/vendor/cloud.google.com/go/compute/metadata/syscheck.go @@ -0,0 +1,26 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +//go:build !windows && !linux + +package metadata + +// systemInfoSuggestsGCE reports whether the local system (without +// doing network requests) suggests that we're running on GCE. If this +// returns true, testOnGCE tries a bit harder to reach its metadata +// server. +func systemInfoSuggestsGCE() bool { + // We don't currently have checks for other GOOS + return false +} diff --git a/vendor/cloud.google.com/go/compute/metadata/syscheck_linux.go b/vendor/cloud.google.com/go/compute/metadata/syscheck_linux.go new file mode 100644 index 0000000000..74689acbbb --- /dev/null +++ b/vendor/cloud.google.com/go/compute/metadata/syscheck_linux.go @@ -0,0 +1,28 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +//go:build linux + +package metadata + +import ( + "os" + "strings" +) + +func systemInfoSuggestsGCE() bool { + b, _ := os.ReadFile("/sys/class/dmi/id/product_name") + name := strings.TrimSpace(string(b)) + return name == "Google" || name == "Google Compute Engine" +} diff --git a/vendor/cloud.google.com/go/compute/metadata/syscheck_windows.go b/vendor/cloud.google.com/go/compute/metadata/syscheck_windows.go new file mode 100644 index 0000000000..c0ce627872 --- /dev/null +++ b/vendor/cloud.google.com/go/compute/metadata/syscheck_windows.go @@ -0,0 +1,38 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +//go:build windows + +package metadata + +import ( + "strings" + + "golang.org/x/sys/windows/registry" +) + +func systemInfoSuggestsGCE() bool { + k, err := registry.OpenKey(registry.LOCAL_MACHINE, `SYSTEM\HardwareConfig\Current`, registry.QUERY_VALUE) + if err != nil { + return false + } + defer k.Close() + + s, _, err := k.GetStringValue("SystemProductName") + if err != nil { + return false + } + s = strings.TrimSpace(s) + return strings.HasPrefix(s, "Google") +} diff --git a/vendor/github.com/go-logr/logr/README.md b/vendor/github.com/go-logr/logr/README.md index 8969526a6e..7c7f0c69cd 100644 --- a/vendor/github.com/go-logr/logr/README.md +++ b/vendor/github.com/go-logr/logr/README.md @@ -1,6 +1,7 @@ # A minimal logging API for Go [![Go Reference](https://pkg.go.dev/badge/github.com/go-logr/logr.svg)](https://pkg.go.dev/github.com/go-logr/logr) +[![Go Report Card](https://goreportcard.com/badge/github.com/go-logr/logr)](https://goreportcard.com/report/github.com/go-logr/logr) [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/go-logr/logr/badge)](https://securityscorecards.dev/viewer/?platform=github.com&org=go-logr&repo=logr) logr offers an(other) opinion on how Go programs and libraries can do logging diff --git a/vendor/github.com/go-logr/logr/funcr/funcr.go b/vendor/github.com/go-logr/logr/funcr/funcr.go index fb2f866f4b..30568e768d 100644 --- a/vendor/github.com/go-logr/logr/funcr/funcr.go +++ b/vendor/github.com/go-logr/logr/funcr/funcr.go @@ -236,15 +236,14 @@ func newFormatter(opts Options, outfmt outputFormat) Formatter { // implementation. It should be constructed with NewFormatter. Some of // its methods directly implement logr.LogSink. type Formatter struct { - outputFormat outputFormat - prefix string - values []any - valuesStr string - parentValuesStr string - depth int - opts *Options - group string // for slog groups - groupDepth int + outputFormat outputFormat + prefix string + values []any + valuesStr string + depth int + opts *Options + groupName string // for slog groups + groups []groupDef } // outputFormat indicates which outputFormat to use. @@ -257,6 +256,13 @@ const ( outputJSON ) +// groupDef represents a saved group. The values may be empty, but we don't +// know if we need to render the group until the final record is rendered. +type groupDef struct { + name string + values string +} + // PseudoStruct is a list of key-value pairs that gets logged as a struct. type PseudoStruct []any @@ -264,76 +270,102 @@ type PseudoStruct []any func (f Formatter) render(builtins, args []any) string { // Empirically bytes.Buffer is faster than strings.Builder for this. buf := bytes.NewBuffer(make([]byte, 0, 1024)) + if f.outputFormat == outputJSON { - buf.WriteByte('{') // for the whole line + buf.WriteByte('{') // for the whole record } + // Render builtins vals := builtins if hook := f.opts.RenderBuiltinsHook; hook != nil { vals = hook(f.sanitize(vals)) } - f.flatten(buf, vals, false, false) // keys are ours, no need to escape + f.flatten(buf, vals, false) // keys are ours, no need to escape continuing := len(builtins) > 0 - if f.parentValuesStr != "" { - if continuing { - buf.WriteByte(f.comma()) + // Turn the inner-most group into a string + argsStr := func() string { + buf := bytes.NewBuffer(make([]byte, 0, 1024)) + + vals = args + if hook := f.opts.RenderArgsHook; hook != nil { + vals = hook(f.sanitize(vals)) } - buf.WriteString(f.parentValuesStr) - continuing = true - } + f.flatten(buf, vals, true) // escape user-provided keys - groupDepth := f.groupDepth - if f.group != "" { - if f.valuesStr != "" || len(args) != 0 { - if continuing { - buf.WriteByte(f.comma()) - } - buf.WriteString(f.quoted(f.group, true)) // escape user-provided keys - buf.WriteByte(f.colon()) - buf.WriteByte('{') // for the group - continuing = false - } else { - // The group was empty - groupDepth-- + return buf.String() + }() + + // Render the stack of groups from the inside out. + bodyStr := f.renderGroup(f.groupName, f.valuesStr, argsStr) + for i := len(f.groups) - 1; i >= 0; i-- { + grp := &f.groups[i] + if grp.values == "" && bodyStr == "" { + // no contents, so we must elide the whole group + continue } + bodyStr = f.renderGroup(grp.name, grp.values, bodyStr) } - if f.valuesStr != "" { + if bodyStr != "" { if continuing { buf.WriteByte(f.comma()) } - buf.WriteString(f.valuesStr) - continuing = true + buf.WriteString(bodyStr) } - vals = args - if hook := f.opts.RenderArgsHook; hook != nil { - vals = hook(f.sanitize(vals)) + if f.outputFormat == outputJSON { + buf.WriteByte('}') // for the whole record } - f.flatten(buf, vals, continuing, true) // escape user-provided keys - for i := 0; i < groupDepth; i++ { - buf.WriteByte('}') // for the groups + return buf.String() +} + +// renderGroup returns a string representation of the named group with rendered +// values and args. If the name is empty, this will return the values and args, +// joined. If the name is not empty, this will return a single key-value pair, +// where the value is a grouping of the values and args. If the values and +// args are both empty, this will return an empty string, even if the name was +// specified. +func (f Formatter) renderGroup(name string, values string, args string) string { + buf := bytes.NewBuffer(make([]byte, 0, 1024)) + + needClosingBrace := false + if name != "" && (values != "" || args != "") { + buf.WriteString(f.quoted(name, true)) // escape user-provided keys + buf.WriteByte(f.colon()) + buf.WriteByte('{') + needClosingBrace = true } - if f.outputFormat == outputJSON { - buf.WriteByte('}') // for the whole line + continuing := false + if values != "" { + buf.WriteString(values) + continuing = true + } + + if args != "" { + if continuing { + buf.WriteByte(f.comma()) + } + buf.WriteString(args) + } + + if needClosingBrace { + buf.WriteByte('}') } return buf.String() } -// flatten renders a list of key-value pairs into a buffer. If continuing is -// true, it assumes that the buffer has previous values and will emit a -// separator (which depends on the output format) before the first pair it -// writes. If escapeKeys is true, the keys are assumed to have -// non-JSON-compatible characters in them and must be evaluated for escapes. +// flatten renders a list of key-value pairs into a buffer. If escapeKeys is +// true, the keys are assumed to have non-JSON-compatible characters in them +// and must be evaluated for escapes. // // This function returns a potentially modified version of kvList, which // ensures that there is a value for every key (adding a value if needed) and // that each key is a string (substituting a key if needed). -func (f Formatter) flatten(buf *bytes.Buffer, kvList []any, continuing bool, escapeKeys bool) []any { +func (f Formatter) flatten(buf *bytes.Buffer, kvList []any, escapeKeys bool) []any { // This logic overlaps with sanitize() but saves one type-cast per key, // which can be measurable. if len(kvList)%2 != 0 { @@ -354,7 +386,7 @@ func (f Formatter) flatten(buf *bytes.Buffer, kvList []any, continuing bool, esc } v := kvList[i+1] - if i > 0 || continuing { + if i > 0 { if f.outputFormat == outputJSON { buf.WriteByte(f.comma()) } else { @@ -766,46 +798,17 @@ func (f Formatter) sanitize(kvList []any) []any { // startGroup opens a new group scope (basically a sub-struct), which locks all // the current saved values and starts them anew. This is needed to satisfy // slog. -func (f *Formatter) startGroup(group string) { +func (f *Formatter) startGroup(name string) { // Unnamed groups are just inlined. - if group == "" { + if name == "" { return } - // Any saved values can no longer be changed. - buf := bytes.NewBuffer(make([]byte, 0, 1024)) - continuing := false - - if f.parentValuesStr != "" { - buf.WriteString(f.parentValuesStr) - continuing = true - } - - if f.group != "" && f.valuesStr != "" { - if continuing { - buf.WriteByte(f.comma()) - } - buf.WriteString(f.quoted(f.group, true)) // escape user-provided keys - buf.WriteByte(f.colon()) - buf.WriteByte('{') // for the group - continuing = false - } - - if f.valuesStr != "" { - if continuing { - buf.WriteByte(f.comma()) - } - buf.WriteString(f.valuesStr) - } - - // NOTE: We don't close the scope here - that's done later, when a log line - // is actually rendered (because we have N scopes to close). - - f.parentValuesStr = buf.String() + n := len(f.groups) + f.groups = append(f.groups[:n:n], groupDef{f.groupName, f.valuesStr}) // Start collecting new values. - f.group = group - f.groupDepth++ + f.groupName = name f.valuesStr = "" f.values = nil } @@ -900,7 +903,7 @@ func (f *Formatter) AddValues(kvList []any) { // Pre-render values, so we don't have to do it on each Info/Error call. buf := bytes.NewBuffer(make([]byte, 0, 1024)) - f.flatten(buf, vals, false, true) // escape user-provided keys + f.flatten(buf, vals, true) // escape user-provided keys f.valuesStr = buf.String() } diff --git a/vendor/github.com/googleapis/gax-go/v2/.release-please-manifest.json b/vendor/github.com/googleapis/gax-go/v2/.release-please-manifest.json index 433693a69a..44d4d00202 100644 --- a/vendor/github.com/googleapis/gax-go/v2/.release-please-manifest.json +++ b/vendor/github.com/googleapis/gax-go/v2/.release-please-manifest.json @@ -1,3 +1,3 @@ { - "v2": "2.12.5" + "v2": "2.13.0" } diff --git a/vendor/github.com/googleapis/gax-go/v2/CHANGES.md b/vendor/github.com/googleapis/gax-go/v2/CHANGES.md index b64522dfe0..d63421b71c 100644 --- a/vendor/github.com/googleapis/gax-go/v2/CHANGES.md +++ b/vendor/github.com/googleapis/gax-go/v2/CHANGES.md @@ -1,5 +1,12 @@ # Changelog +## [2.13.0](https://github.com/googleapis/gax-go/compare/v2.12.5...v2.13.0) (2024-07-22) + + +### Features + +* **iterator:** add package to help work with new iter.Seq types ([#358](https://github.com/googleapis/gax-go/issues/358)) ([6bccdaa](https://github.com/googleapis/gax-go/commit/6bccdaac011fe6fd147e4eb533a8e6520b7d4acc)) + ## [2.12.5](https://github.com/googleapis/gax-go/compare/v2.12.4...v2.12.5) (2024-06-18) diff --git a/vendor/github.com/googleapis/gax-go/v2/internal/version.go b/vendor/github.com/googleapis/gax-go/v2/internal/version.go index 4f780f4639..e12421cf59 100644 --- a/vendor/github.com/googleapis/gax-go/v2/internal/version.go +++ b/vendor/github.com/googleapis/gax-go/v2/internal/version.go @@ -30,4 +30,4 @@ package internal // Version is the current tagged release of the library. -const Version = "2.12.5" +const Version = "2.13.0" diff --git a/vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305.go b/vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305.go index 93da7322bc..8cf5d8112e 100644 --- a/vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305.go +++ b/vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305.go @@ -5,7 +5,7 @@ // Package chacha20poly1305 implements the ChaCha20-Poly1305 AEAD and its // extended nonce variant XChaCha20-Poly1305, as specified in RFC 8439 and // draft-irtf-cfrg-xchacha-01. -package chacha20poly1305 // import "golang.org/x/crypto/chacha20poly1305" +package chacha20poly1305 import ( "crypto/cipher" diff --git a/vendor/golang.org/x/crypto/cryptobyte/asn1/asn1.go b/vendor/golang.org/x/crypto/cryptobyte/asn1/asn1.go index cda8e3edfd..90ef6a241d 100644 --- a/vendor/golang.org/x/crypto/cryptobyte/asn1/asn1.go +++ b/vendor/golang.org/x/crypto/cryptobyte/asn1/asn1.go @@ -4,7 +4,7 @@ // Package asn1 contains supporting types for parsing and building ASN.1 // messages with the cryptobyte package. -package asn1 // import "golang.org/x/crypto/cryptobyte/asn1" +package asn1 // Tag represents an ASN.1 identifier octet, consisting of a tag number // (indicating a type) and class (such as context-specific or constructed). diff --git a/vendor/golang.org/x/crypto/cryptobyte/string.go b/vendor/golang.org/x/crypto/cryptobyte/string.go index 10692a8a31..4b0f8097f9 100644 --- a/vendor/golang.org/x/crypto/cryptobyte/string.go +++ b/vendor/golang.org/x/crypto/cryptobyte/string.go @@ -15,7 +15,7 @@ // // See the documentation and examples for the Builder and String types to get // started. -package cryptobyte // import "golang.org/x/crypto/cryptobyte" +package cryptobyte // String represents a string of bytes. It provides methods for parsing // fixed-length and length-prefixed values from it. diff --git a/vendor/golang.org/x/crypto/hkdf/hkdf.go b/vendor/golang.org/x/crypto/hkdf/hkdf.go index f4ded5fee2..3bee66294e 100644 --- a/vendor/golang.org/x/crypto/hkdf/hkdf.go +++ b/vendor/golang.org/x/crypto/hkdf/hkdf.go @@ -8,7 +8,7 @@ // HKDF is a cryptographic key derivation function (KDF) with the goal of // expanding limited input keying material into one or more cryptographically // strong secret keys. -package hkdf // import "golang.org/x/crypto/hkdf" +package hkdf import ( "crypto/hmac" diff --git a/vendor/golang.org/x/crypto/nacl/secretbox/secretbox.go b/vendor/golang.org/x/crypto/nacl/secretbox/secretbox.go index f3c3242a04..1fe600ad03 100644 --- a/vendor/golang.org/x/crypto/nacl/secretbox/secretbox.go +++ b/vendor/golang.org/x/crypto/nacl/secretbox/secretbox.go @@ -32,7 +32,7 @@ chunk size. This package is interoperable with NaCl: https://nacl.cr.yp.to/secretbox.html. */ -package secretbox // import "golang.org/x/crypto/nacl/secretbox" +package secretbox import ( "golang.org/x/crypto/internal/alias" diff --git a/vendor/golang.org/x/crypto/salsa20/salsa/hsalsa20.go b/vendor/golang.org/x/crypto/salsa20/salsa/hsalsa20.go index 3fd05b2751..3685b34458 100644 --- a/vendor/golang.org/x/crypto/salsa20/salsa/hsalsa20.go +++ b/vendor/golang.org/x/crypto/salsa20/salsa/hsalsa20.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. // Package salsa provides low-level access to functions in the Salsa family. -package salsa // import "golang.org/x/crypto/salsa20/salsa" +package salsa import "math/bits" diff --git a/vendor/golang.org/x/sys/unix/mremap.go b/vendor/golang.org/x/sys/unix/mremap.go index fd45fe529d..3a5e776f89 100644 --- a/vendor/golang.org/x/sys/unix/mremap.go +++ b/vendor/golang.org/x/sys/unix/mremap.go @@ -50,3 +50,8 @@ func (m *mremapMmapper) Mremap(oldData []byte, newLength int, flags int) (data [ func Mremap(oldData []byte, newLength int, flags int) (data []byte, err error) { return mapper.Mremap(oldData, newLength, flags) } + +func MremapPtr(oldAddr unsafe.Pointer, oldSize uintptr, newAddr unsafe.Pointer, newSize uintptr, flags int) (ret unsafe.Pointer, err error) { + xaddr, err := mapper.mremap(uintptr(oldAddr), oldSize, newSize, flags, uintptr(newAddr)) + return unsafe.Pointer(xaddr), err +} diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin.go b/vendor/golang.org/x/sys/unix/syscall_darwin.go index 59542a897d..4cc7b00596 100644 --- a/vendor/golang.org/x/sys/unix/syscall_darwin.go +++ b/vendor/golang.org/x/sys/unix/syscall_darwin.go @@ -542,6 +542,18 @@ func SysctlKinfoProcSlice(name string, args ...int) ([]KinfoProc, error) { } } +//sys pthread_chdir_np(path string) (err error) + +func PthreadChdir(path string) (err error) { + return pthread_chdir_np(path) +} + +//sys pthread_fchdir_np(fd int) (err error) + +func PthreadFchdir(fd int) (err error) { + return pthread_fchdir_np(fd) +} + //sys sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error) //sys shmat(id int, addr uintptr, flag int) (ret uintptr, err error) diff --git a/vendor/golang.org/x/sys/unix/syscall_unix.go b/vendor/golang.org/x/sys/unix/syscall_unix.go index 77081de8c7..4e92e5aa40 100644 --- a/vendor/golang.org/x/sys/unix/syscall_unix.go +++ b/vendor/golang.org/x/sys/unix/syscall_unix.go @@ -154,6 +154,15 @@ func Munmap(b []byte) (err error) { return mapper.Munmap(b) } +func MmapPtr(fd int, offset int64, addr unsafe.Pointer, length uintptr, prot int, flags int) (ret unsafe.Pointer, err error) { + xaddr, err := mapper.mmap(uintptr(addr), length, prot, flags, fd, offset) + return unsafe.Pointer(xaddr), err +} + +func MunmapPtr(addr unsafe.Pointer, length uintptr) (err error) { + return mapper.munmap(uintptr(addr), length) +} + func Read(fd int, p []byte) (n int, err error) { n, err = read(fd, p) if raceenabled { diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go index ccb02f240a..07642c308d 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go +++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go @@ -760,6 +760,39 @@ var libc_sysctl_trampoline_addr uintptr // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func pthread_chdir_np(path string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := syscall_syscall(libc_pthread_chdir_np_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_pthread_chdir_np_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_pthread_chdir_np pthread_chdir_np "/usr/lib/libSystem.B.dylib" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func pthread_fchdir_np(fd int) (err error) { + _, _, e1 := syscall_syscall(libc_pthread_fchdir_np_trampoline_addr, uintptr(fd), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_pthread_fchdir_np_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_pthread_fchdir_np pthread_fchdir_np "/usr/lib/libSystem.B.dylib" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error) { _, _, e1 := syscall_syscall6(libc_sendfile_trampoline_addr, uintptr(infd), uintptr(outfd), uintptr(offset), uintptr(unsafe.Pointer(len)), uintptr(hdtr), uintptr(flags)) if e1 != 0 { diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s index 8b8bb28402..923e08cb79 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s +++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s @@ -228,6 +228,16 @@ TEXT libc_sysctl_trampoline<>(SB),NOSPLIT,$0-0 GLOBL ·libc_sysctl_trampoline_addr(SB), RODATA, $8 DATA ·libc_sysctl_trampoline_addr(SB)/8, $libc_sysctl_trampoline<>(SB) +TEXT libc_pthread_chdir_np_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_pthread_chdir_np(SB) +GLOBL ·libc_pthread_chdir_np_trampoline_addr(SB), RODATA, $8 +DATA ·libc_pthread_chdir_np_trampoline_addr(SB)/8, $libc_pthread_chdir_np_trampoline<>(SB) + +TEXT libc_pthread_fchdir_np_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_pthread_fchdir_np(SB) +GLOBL ·libc_pthread_fchdir_np_trampoline_addr(SB), RODATA, $8 +DATA ·libc_pthread_fchdir_np_trampoline_addr(SB)/8, $libc_pthread_fchdir_np_trampoline<>(SB) + TEXT libc_sendfile_trampoline<>(SB),NOSPLIT,$0-0 JMP libc_sendfile(SB) GLOBL ·libc_sendfile_trampoline_addr(SB), RODATA, $8 diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go index 1b40b997b5..7d73dda647 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go +++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go @@ -760,6 +760,39 @@ var libc_sysctl_trampoline_addr uintptr // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func pthread_chdir_np(path string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := syscall_syscall(libc_pthread_chdir_np_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_pthread_chdir_np_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_pthread_chdir_np pthread_chdir_np "/usr/lib/libSystem.B.dylib" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func pthread_fchdir_np(fd int) (err error) { + _, _, e1 := syscall_syscall(libc_pthread_fchdir_np_trampoline_addr, uintptr(fd), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_pthread_fchdir_np_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_pthread_fchdir_np pthread_fchdir_np "/usr/lib/libSystem.B.dylib" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error) { _, _, e1 := syscall_syscall6(libc_sendfile_trampoline_addr, uintptr(infd), uintptr(outfd), uintptr(offset), uintptr(unsafe.Pointer(len)), uintptr(hdtr), uintptr(flags)) if e1 != 0 { diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s index 08362c1ab7..057700111e 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s +++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s @@ -228,6 +228,16 @@ TEXT libc_sysctl_trampoline<>(SB),NOSPLIT,$0-0 GLOBL ·libc_sysctl_trampoline_addr(SB), RODATA, $8 DATA ·libc_sysctl_trampoline_addr(SB)/8, $libc_sysctl_trampoline<>(SB) +TEXT libc_pthread_chdir_np_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_pthread_chdir_np(SB) +GLOBL ·libc_pthread_chdir_np_trampoline_addr(SB), RODATA, $8 +DATA ·libc_pthread_chdir_np_trampoline_addr(SB)/8, $libc_pthread_chdir_np_trampoline<>(SB) + +TEXT libc_pthread_fchdir_np_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_pthread_fchdir_np(SB) +GLOBL ·libc_pthread_fchdir_np_trampoline_addr(SB), RODATA, $8 +DATA ·libc_pthread_fchdir_np_trampoline_addr(SB)/8, $libc_pthread_fchdir_np_trampoline<>(SB) + TEXT libc_sendfile_trampoline<>(SB),NOSPLIT,$0-0 JMP libc_sendfile(SB) GLOBL ·libc_sendfile_trampoline_addr(SB), RODATA, $8 diff --git a/vendor/golang.org/x/sys/windows/security_windows.go b/vendor/golang.org/x/sys/windows/security_windows.go index 6f7d2ac70a..97651b5bd0 100644 --- a/vendor/golang.org/x/sys/windows/security_windows.go +++ b/vendor/golang.org/x/sys/windows/security_windows.go @@ -894,7 +894,7 @@ type ACL struct { aclRevision byte sbz1 byte aclSize uint16 - aceCount uint16 + AceCount uint16 sbz2 uint16 } @@ -1087,6 +1087,27 @@ type EXPLICIT_ACCESS struct { Trustee TRUSTEE } +// https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-ace_header +type ACE_HEADER struct { + AceType uint8 + AceFlags uint8 + AceSize uint16 +} + +// https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-access_allowed_ace +type ACCESS_ALLOWED_ACE struct { + Header ACE_HEADER + Mask ACCESS_MASK + SidStart uint32 +} + +const ( + // Constants for AceType + // https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-ace_header + ACCESS_ALLOWED_ACE_TYPE = 0 + ACCESS_DENIED_ACE_TYPE = 1 +) + // This type is the union inside of TRUSTEE and must be created using one of the TrusteeValueFrom* functions. type TrusteeValue uintptr @@ -1158,6 +1179,7 @@ type OBJECTS_AND_NAME struct { //sys makeSelfRelativeSD(absoluteSD *SECURITY_DESCRIPTOR, selfRelativeSD *SECURITY_DESCRIPTOR, selfRelativeSDSize *uint32) (err error) = advapi32.MakeSelfRelativeSD //sys setEntriesInAcl(countExplicitEntries uint32, explicitEntries *EXPLICIT_ACCESS, oldACL *ACL, newACL **ACL) (ret error) = advapi32.SetEntriesInAclW +//sys GetAce(acl *ACL, aceIndex uint32, pAce **ACCESS_ALLOWED_ACE) (ret error) = advapi32.GetAce // Control returns the security descriptor control bits. func (sd *SECURITY_DESCRIPTOR) Control() (control SECURITY_DESCRIPTOR_CONTROL, revision uint32, err error) { diff --git a/vendor/golang.org/x/sys/windows/zsyscall_windows.go b/vendor/golang.org/x/sys/windows/zsyscall_windows.go index 9f73df75b5..eba761018a 100644 --- a/vendor/golang.org/x/sys/windows/zsyscall_windows.go +++ b/vendor/golang.org/x/sys/windows/zsyscall_windows.go @@ -91,6 +91,7 @@ var ( procEnumServicesStatusExW = modadvapi32.NewProc("EnumServicesStatusExW") procEqualSid = modadvapi32.NewProc("EqualSid") procFreeSid = modadvapi32.NewProc("FreeSid") + procGetAce = modadvapi32.NewProc("GetAce") procGetLengthSid = modadvapi32.NewProc("GetLengthSid") procGetNamedSecurityInfoW = modadvapi32.NewProc("GetNamedSecurityInfoW") procGetSecurityDescriptorControl = modadvapi32.NewProc("GetSecurityDescriptorControl") @@ -1224,6 +1225,14 @@ func setEntriesInAcl(countExplicitEntries uint32, explicitEntries *EXPLICIT_ACCE return } +func GetAce(acl *ACL, aceIndex uint32, pAce **ACCESS_ALLOWED_ACE) (ret error) { + r0, _, _ := syscall.Syscall(procGetAce.Addr(), 3, uintptr(unsafe.Pointer(acl)), uintptr(aceIndex), uintptr(unsafe.Pointer(pAce))) + if r0 == 0 { + ret = GetLastError() + } + return +} + func SetKernelObjectSecurity(handle Handle, securityInformation SECURITY_INFORMATION, securityDescriptor *SECURITY_DESCRIPTOR) (err error) { r1, _, e1 := syscall.Syscall(procSetKernelObjectSecurity.Addr(), 3, uintptr(handle), uintptr(securityInformation), uintptr(unsafe.Pointer(securityDescriptor))) if r1 == 0 { diff --git a/vendor/google.golang.org/api/compute/v0.alpha/compute-api.json b/vendor/google.golang.org/api/compute/v0.alpha/compute-api.json index 3539c18f14..cd3a0d5454 100644 --- a/vendor/google.golang.org/api/compute/v0.alpha/compute-api.json +++ b/vendor/google.golang.org/api/compute/v0.alpha/compute-api.json @@ -33564,7 +33564,7 @@ "regions": { "methods": { "get": { - "description": "Returns the specified Region resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request.", + "description": "Returns the specified Region resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. This method fails if the quota information is unavailable for the region and if the organization policy constraint compute.requireBasicQuotaInResponse is enforced. This constraint, when enforced, disables the fail-open behaviour when quota information (the `items.quotas` field) is unavailable for the region. It is recommended to use the default setting for the constraint unless your application requires the fail-closed behaviour for this method.", "flatPath": "projects/{project}/regions/{region}", "httpMethod": "GET", "id": "compute.regions.get", @@ -44715,7 +44715,7 @@ } } }, - "revision": "20240618", + "revision": "20240702", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -46139,6 +46139,14 @@ "sourceInstanceTemplateId": { "description": "ID of the instance template used to populate reservation properties.", "type": "string" + }, + "utilizations": { + "additionalProperties": { + "format": "int64", + "type": "string" + }, + "description": "Per service utilization breakdown. The Key is the Google Cloud managed service name.", + "type": "object" } }, "type": "object" @@ -47479,11 +47487,13 @@ "description": "Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded. For usage guidelines, see Connection balancing mode. Backends must use compatible balancing modes. For more information, see Supported balancing modes and target capacity settings and Restrictions and guidance for instance groups. Note: Currently, if you use the API to configure incompatible balancing modes, the configuration might be accepted even though it has no impact and is ignored. Specifically, Backend.maxUtilization is ignored when Backend.balancingMode is RATE. In the future, this incompatible combination will be rejected.", "enum": [ "CONNECTION", + "CUSTOM_METRICS", "RATE", "UTILIZATION" ], "enumDescriptions": [ "Balance based on the number of simultaneous connections.", + "Based on custom defined and reported metrics.", "Balance based on requests per second (RPS).", "Balance based on the backend utilization." ], @@ -47494,6 +47504,13 @@ "format": "float", "type": "number" }, + "customMetrics": { + "description": "List of custom metrics that are used for CUSTOM_METRICS BalancingMode and WEIGHTED_ROUND_ROBIN BackendService locality_lb_policy.", + "items": { + "$ref": "BackendCustomMetric" + }, + "type": "array" + }, "description": { "description": "An optional description of this resource. Provide this property when you create the resource.", "type": "string" @@ -47923,6 +47940,26 @@ }, "type": "object" }, + "BackendCustomMetric": { + "description": "Custom Metrics are used for CUSTOM_METRICS balancing_mode and WEIGHTED_ROUND_ROBIN BackendService locality_lb_policy.", + "id": "BackendCustomMetric", + "properties": { + "dryRun": { + "description": "If true, the metric data is collected and reported to Cloud Monitoring, but is not used for load balancing.", + "type": "boolean" + }, + "maxUtilization": { + "description": "Optional parameter to define a target utilization for the Custom Metrics balancing mode. The valid range is [0.0, 1.0].", + "format": "float", + "type": "number" + }, + "name": { + "description": "Name of a custom utilization signal. The name must be 1-24 characters long, and comply with RFC1035. Specifically, the name must be 1-24 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. For usage guidelines, see Custom Metrics balancing mode. This field can only be used for a global or regional backend service with the loadBalancingScheme set to EXTERNAL_MANAGED, INTERNAL_MANAGED INTERNAL_SELF_MANAGED.", + "type": "string" + } + }, + "type": "object" + }, "BackendService": { "description": "Represents a Backend Service resource. A backend service defines how Google Cloud load balancers distribute traffic. The backend service configuration contains a set of values, such as the protocol used to connect to backends, various distribution and session settings, health checks, and timeouts. These settings provide fine-grained control over how your load balancer behaves. Most of the settings have default values that allow for easy configuration if you need to get started quickly. Backend services in Google Compute Engine can be either regionally or globally scoped. * [Global](https://cloud.google.com/compute/docs/reference/rest/alpha/backendServices) * [Regional](https://cloud.google.com/compute/docs/reference/rest/alpha/regionBackendServices) For more information, see Backend Services.", "id": "BackendService", @@ -48105,7 +48142,8 @@ "RANDOM", "RING_HASH", "ROUND_ROBIN", - "WEIGHTED_MAGLEV" + "WEIGHTED_MAGLEV", + "WEIGHTED_ROUND_ROBIN" ], "enumDescriptions": [ "", @@ -48115,7 +48153,8 @@ "The load balancer selects a random healthy host.", "The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests.", "This is a simple policy in which each healthy backend is selected in round robin order. This is the default.", - "Per-instance weighted Load Balancing via health check reported weights. If set, the Backend Service must configure a non legacy HTTP-based Health Check, and health check replies are expected to contain non-standard HTTP response header field X-Load-Balancing-Endpoint-Weight to specify the per-instance weights. If set, Load Balancing is weighted based on the per-instance weights reported in the last processed health check replies, as long as every instance either reported a valid weight or had UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains equal-weight. This option is only supported in Network Load Balancing." + "Per-instance weighted Load Balancing via health check reported weights. If set, the Backend Service must configure a non legacy HTTP-based Health Check, and health check replies are expected to contain non-standard HTTP response header field X-Load-Balancing-Endpoint-Weight to specify the per-instance weights. If set, Load Balancing is weighted based on the per-instance weights reported in the last processed health check replies, as long as every instance either reported a valid weight or had UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains equal-weight. This option is only supported in Network Load Balancing.", + "Per-endpoint weighted round-robin Load Balancing using weights computed from Backend reported Custom Metrics. If set, the Backend Service responses are expected to contain non-standard HTTP response header field X-Endpoint-Load-Metrics. The reported metrics to use for computing the weights are specified via the backends[].customMetrics fields." ], "type": "string" }, @@ -48257,6 +48296,7 @@ "type": "integer" }, "usedBy": { + "description": "[Output Only] List of resources referencing given backend service.", "items": { "$ref": "BackendServiceUsedBy" }, @@ -49091,7 +49131,8 @@ "RANDOM", "RING_HASH", "ROUND_ROBIN", - "WEIGHTED_MAGLEV" + "WEIGHTED_MAGLEV", + "WEIGHTED_ROUND_ROBIN" ], "enumDescriptions": [ "", @@ -49101,7 +49142,8 @@ "The load balancer selects a random healthy host.", "The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests.", "This is a simple policy in which each healthy backend is selected in round robin order. This is the default.", - "Per-instance weighted Load Balancing via health check reported weights. If set, the Backend Service must configure a non legacy HTTP-based Health Check, and health check replies are expected to contain non-standard HTTP response header field X-Load-Balancing-Endpoint-Weight to specify the per-instance weights. If set, Load Balancing is weighted based on the per-instance weights reported in the last processed health check replies, as long as every instance either reported a valid weight or had UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains equal-weight. This option is only supported in Network Load Balancing." + "Per-instance weighted Load Balancing via health check reported weights. If set, the Backend Service must configure a non legacy HTTP-based Health Check, and health check replies are expected to contain non-standard HTTP response header field X-Load-Balancing-Endpoint-Weight to specify the per-instance weights. If set, Load Balancing is weighted based on the per-instance weights reported in the last processed health check replies, as long as every instance either reported a valid weight or had UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains equal-weight. This option is only supported in Network Load Balancing.", + "Per-endpoint weighted round-robin Load Balancing using weights computed from Backend reported Custom Metrics. If set, the Backend Service responses are expected to contain non-standard HTTP response header field X-Endpoint-Load-Metrics. The reported metrics to use for computing the weights are specified via the backends[].customMetrics fields." ], "type": "string" } @@ -49212,6 +49254,7 @@ "id": "BackendServiceUsedBy", "properties": { "reference": { + "description": "[Output Only] Server-defined URL for resources referencing given BackendService like UrlMaps, TargetTcpProxies, TargetSslProxies and ForwardingRule.", "type": "string" } }, @@ -50058,6 +50101,10 @@ "description": "[Output Only] Creation timestamp in RFC3339 text format.", "type": "string" }, + "customEndTimestamp": { + "description": "[Input Only] Optional, specifies the CUD end time requested by the customer in RFC3339 text format. Needed when the customer wants CUD's end date is later than the start date + term duration.", + "type": "string" + }, "description": { "description": "An optional description of this resource. Provide this property when you create the resource.", "type": "string" @@ -50548,6 +50595,10 @@ "cancellationInformation": { "$ref": "CommitmentResourceStatusCancellationInformation", "description": "[Output Only] An optional, contains all the needed information of cancellation." + }, + "customTermEligibilityEndTimestamp": { + "description": "[Output Only] Indicates the end time of customer's eligibility to send custom term requests in RFC3339 text format. Term extension requests that (not the end time in the request) after this time will be rejected.", + "type": "string" } }, "type": "object" @@ -59606,8 +59657,7 @@ "type": "array" }, "baseInstanceName": { - "description": "The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035.", - "pattern": "[a-z][-a-z0-9]{0,57}", + "description": "The base instance name is a prefix that you want to attach to the names of all VMs in a MIG. The maximum character length is 58 and the name must comply with RFC1035 format. When a VM is created in the group, the MIG appends a hyphen and a random four-character string to the base instance name. If you want the MIG to assign sequential numbers instead of a random string, then end the base instance name with a hyphen followed by one or more hash symbols. The hash symbols indicate the number of digits. For example, a base instance name of \"vm-###\" results in \"vm-001\" as a VM name. @pattern [a-z](([-a-z0-9]{0,57})|([-a-z0-9]{0,52}-#{1,10}(\\\\[[0-9]{1,10}\\\\])?))", "type": "string" }, "creationTimestamp": { @@ -70061,12 +70111,6 @@ "format": "int32", "type": "integer" }, - "clientPort": { - "deprecated": true, - "description": "Represents the port number to which PSC consumer sends packets. Only valid for network endpoint groups created with CLIENT_PORT_PER_ENDPOINT mapping mode.", - "format": "int32", - "type": "integer" - }, "fqdn": { "description": "Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT.", "type": "string" @@ -70110,19 +70154,6 @@ "$ref": "NetworkEndpointGroupAppEngine", "description": "Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set." }, - "clientPortMappingMode": { - "deprecated": true, - "description": "Only valid when networkEndpointType is GCE_VM_IP_PORT and the NEG is regional.", - "enum": [ - "CLIENT_PORT_PER_ENDPOINT", - "PORT_MAPPING_DISABLED" - ], - "enumDescriptions": [ - "For each endpoint there is exactly one client port.", - "NEG should not be used for mapping client port to destination." - ], - "type": "string" - }, "cloudFunction": { "$ref": "NetworkEndpointGroupCloudFunction", "description": "Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set." @@ -82117,6 +82148,9 @@ "vmMaintenancePolicy": { "$ref": "ResourcePolicyVmMaintenancePolicy", "description": "Resource policy applicable to VMs for infrastructure maintenance." + }, + "workloadPolicy": { + "$ref": "ResourcePolicyWorkloadPolicy" } }, "type": "object" @@ -82796,6 +82830,24 @@ }, "type": "object" }, + "ResourcePolicyWorkloadPolicy": { + "description": "Represents the workload policy.", + "id": "ResourcePolicyWorkloadPolicy", + "properties": { + "type": { + "enum": [ + "HIGH_AVAILABILITY", + "HIGH_THROUGHPUT" + ], + "enumDescriptions": [ + "VMs will be provisioned in such a way which provides high availability.", + "VMs will be provisioned in such a way which provides high throughput." + ], + "type": "string" + } + }, + "type": "object" + }, "ResourceStatus": { "description": "Contains output only fields. Use this sub-message for actual values set on Instance attributes as compared to the value requested by the user (intent) in their instance CRUD calls.", "id": "ResourceStatus", @@ -82874,7 +82926,7 @@ "id": "ResourceStatusScheduling", "properties": { "availabilityDomain": { - "description": "Specifies the availability domain (AD), which this instance should be scheduled on. The AD belongs to the spread GroupPlacementPolicy resource policy that has been assigned to the instance. Specify a value between 1-max count of availability domains in your GroupPlacementPolicy. See go/placement-policy-extension for more details.", + "description": "Specifies the availability domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance.", "format": "int32", "type": "integer" }, @@ -85854,7 +85906,7 @@ "type": "boolean" }, "availabilityDomain": { - "description": "Specifies the availability domain (AD), which this instance should be scheduled on. The AD belongs to the spread GroupPlacementPolicy resource policy that has been assigned to the instance. Specify a value between 1-max count of availability domains in your GroupPlacementPolicy. See go/placement-policy-extension for more details.", + "description": "Specifies the availability domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance.", "format": "int32", "type": "integer" }, @@ -98900,7 +98952,7 @@ "type": "string" }, "stackType": { - "description": "The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used.", + "description": "The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6, IPV6_ONLY. If not specified, IPV4_ONLY is used if the gateway IP version is IPV4, or IPV4_IPV6 if the gateway IP version is IPV6.", "enum": [ "IPV4_IPV6", "IPV4_ONLY", diff --git a/vendor/google.golang.org/api/compute/v0.alpha/compute-gen.go b/vendor/google.golang.org/api/compute/v0.alpha/compute-gen.go index 9e305832a6..34fd176fea 100644 --- a/vendor/google.golang.org/api/compute/v0.alpha/compute-gen.go +++ b/vendor/google.golang.org/api/compute/v0.alpha/compute-gen.go @@ -1530,9 +1530,9 @@ type AWSV4Signature struct { NullFields []string `json:"-"` } -func (s *AWSV4Signature) MarshalJSON() ([]byte, error) { +func (s AWSV4Signature) MarshalJSON() ([]byte, error) { type NoMethod AWSV4Signature - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AcceleratorConfig: A specification of the type and number of accelerator @@ -1560,9 +1560,9 @@ type AcceleratorConfig struct { NullFields []string `json:"-"` } -func (s *AcceleratorConfig) MarshalJSON() ([]byte, error) { +func (s AcceleratorConfig) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AcceleratorType: Represents an Accelerator Type resource. Google Cloud @@ -1614,9 +1614,9 @@ type AcceleratorType struct { NullFields []string `json:"-"` } -func (s *AcceleratorType) MarshalJSON() ([]byte, error) { +func (s AcceleratorType) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorType - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AcceleratorTypeAggregatedList struct { @@ -1656,9 +1656,9 @@ type AcceleratorTypeAggregatedList struct { NullFields []string `json:"-"` } -func (s *AcceleratorTypeAggregatedList) MarshalJSON() ([]byte, error) { +func (s AcceleratorTypeAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorTypeAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AcceleratorTypeAggregatedListWarning: [Output Only] Informational warning @@ -1742,9 +1742,9 @@ type AcceleratorTypeAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *AcceleratorTypeAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s AcceleratorTypeAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorTypeAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AcceleratorTypeAggregatedListWarningData struct { @@ -1771,9 +1771,9 @@ type AcceleratorTypeAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *AcceleratorTypeAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s AcceleratorTypeAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorTypeAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AcceleratorTypeList: Contains a list of accelerator types. @@ -1811,9 +1811,9 @@ type AcceleratorTypeList struct { NullFields []string `json:"-"` } -func (s *AcceleratorTypeList) MarshalJSON() ([]byte, error) { +func (s AcceleratorTypeList) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorTypeList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AcceleratorTypeListWarning: [Output Only] Informational warning message. @@ -1896,9 +1896,9 @@ type AcceleratorTypeListWarning struct { NullFields []string `json:"-"` } -func (s *AcceleratorTypeListWarning) MarshalJSON() ([]byte, error) { +func (s AcceleratorTypeListWarning) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorTypeListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AcceleratorTypeListWarningData struct { @@ -1925,9 +1925,9 @@ type AcceleratorTypeListWarningData struct { NullFields []string `json:"-"` } -func (s *AcceleratorTypeListWarningData) MarshalJSON() ([]byte, error) { +func (s AcceleratorTypeListWarningData) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorTypeListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AcceleratorTypesScopedList struct { @@ -1950,9 +1950,9 @@ type AcceleratorTypesScopedList struct { NullFields []string `json:"-"` } -func (s *AcceleratorTypesScopedList) MarshalJSON() ([]byte, error) { +func (s AcceleratorTypesScopedList) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorTypesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AcceleratorTypesScopedListWarning: [Output Only] An informational warning @@ -2036,9 +2036,9 @@ type AcceleratorTypesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *AcceleratorTypesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s AcceleratorTypesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorTypesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AcceleratorTypesScopedListWarningData struct { @@ -2065,9 +2065,9 @@ type AcceleratorTypesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *AcceleratorTypesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s AcceleratorTypesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorTypesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AccessConfig: An access configuration attached to an instance's network @@ -2154,9 +2154,9 @@ type AccessConfig struct { NullFields []string `json:"-"` } -func (s *AccessConfig) MarshalJSON() ([]byte, error) { +func (s AccessConfig) MarshalJSON() ([]byte, error) { type NoMethod AccessConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Address: Represents an IP Address resource. Google Compute Engine has two IP @@ -2328,9 +2328,9 @@ type Address struct { NullFields []string `json:"-"` } -func (s *Address) MarshalJSON() ([]byte, error) { +func (s Address) MarshalJSON() ([]byte, error) { type NoMethod Address - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AddressAggregatedList struct { @@ -2369,9 +2369,9 @@ type AddressAggregatedList struct { NullFields []string `json:"-"` } -func (s *AddressAggregatedList) MarshalJSON() ([]byte, error) { +func (s AddressAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod AddressAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AddressAggregatedListWarning: [Output Only] Informational warning message. @@ -2454,9 +2454,9 @@ type AddressAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *AddressAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s AddressAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod AddressAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AddressAggregatedListWarningData struct { @@ -2483,9 +2483,9 @@ type AddressAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *AddressAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s AddressAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod AddressAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AddressList: Contains a list of addresses. @@ -2523,9 +2523,9 @@ type AddressList struct { NullFields []string `json:"-"` } -func (s *AddressList) MarshalJSON() ([]byte, error) { +func (s AddressList) MarshalJSON() ([]byte, error) { type NoMethod AddressList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AddressListWarning: [Output Only] Informational warning message. @@ -2608,9 +2608,9 @@ type AddressListWarning struct { NullFields []string `json:"-"` } -func (s *AddressListWarning) MarshalJSON() ([]byte, error) { +func (s AddressListWarning) MarshalJSON() ([]byte, error) { type NoMethod AddressListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AddressListWarningData struct { @@ -2637,9 +2637,9 @@ type AddressListWarningData struct { NullFields []string `json:"-"` } -func (s *AddressListWarningData) MarshalJSON() ([]byte, error) { +func (s AddressListWarningData) MarshalJSON() ([]byte, error) { type NoMethod AddressListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AddressesScopedList struct { @@ -2661,9 +2661,9 @@ type AddressesScopedList struct { NullFields []string `json:"-"` } -func (s *AddressesScopedList) MarshalJSON() ([]byte, error) { +func (s AddressesScopedList) MarshalJSON() ([]byte, error) { type NoMethod AddressesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AddressesScopedListWarning: [Output Only] Informational warning which @@ -2747,9 +2747,9 @@ type AddressesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *AddressesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s AddressesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod AddressesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AddressesScopedListWarningData struct { @@ -2776,9 +2776,9 @@ type AddressesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *AddressesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s AddressesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod AddressesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AdvancedMachineFeatures: Specifies options for controlling advanced machine @@ -2833,9 +2833,9 @@ type AdvancedMachineFeatures struct { NullFields []string `json:"-"` } -func (s *AdvancedMachineFeatures) MarshalJSON() ([]byte, error) { +func (s AdvancedMachineFeatures) MarshalJSON() ([]byte, error) { type NoMethod AdvancedMachineFeatures - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AliasIpRange: An alias IP range attached to an instance's network interface. @@ -2863,9 +2863,9 @@ type AliasIpRange struct { NullFields []string `json:"-"` } -func (s *AliasIpRange) MarshalJSON() ([]byte, error) { +func (s AliasIpRange) MarshalJSON() ([]byte, error) { type NoMethod AliasIpRange - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AllocationAggregateReservation: This reservation type is specified by total @@ -2908,9 +2908,9 @@ type AllocationAggregateReservation struct { NullFields []string `json:"-"` } -func (s *AllocationAggregateReservation) MarshalJSON() ([]byte, error) { +func (s AllocationAggregateReservation) MarshalJSON() ([]byte, error) { type NoMethod AllocationAggregateReservation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AllocationAggregateReservationReservedResourceInfo struct { @@ -2929,9 +2929,9 @@ type AllocationAggregateReservationReservedResourceInfo struct { NullFields []string `json:"-"` } -func (s *AllocationAggregateReservationReservedResourceInfo) MarshalJSON() ([]byte, error) { +func (s AllocationAggregateReservationReservedResourceInfo) MarshalJSON() ([]byte, error) { type NoMethod AllocationAggregateReservationReservedResourceInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AllocationAggregateReservationReservedResourceInfoAccelerator struct { @@ -2953,9 +2953,9 @@ type AllocationAggregateReservationReservedResourceInfoAccelerator struct { NullFields []string `json:"-"` } -func (s *AllocationAggregateReservationReservedResourceInfoAccelerator) MarshalJSON() ([]byte, error) { +func (s AllocationAggregateReservationReservedResourceInfoAccelerator) MarshalJSON() ([]byte, error) { type NoMethod AllocationAggregateReservationReservedResourceInfoAccelerator - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AllocationReservationSharingPolicy struct { @@ -2981,9 +2981,9 @@ type AllocationReservationSharingPolicy struct { NullFields []string `json:"-"` } -func (s *AllocationReservationSharingPolicy) MarshalJSON() ([]byte, error) { +func (s AllocationReservationSharingPolicy) MarshalJSON() ([]byte, error) { type NoMethod AllocationReservationSharingPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AllocationResourceStatus: [Output Only] Contains output only fields. @@ -3003,9 +3003,9 @@ type AllocationResourceStatus struct { NullFields []string `json:"-"` } -func (s *AllocationResourceStatus) MarshalJSON() ([]byte, error) { +func (s AllocationResourceStatus) MarshalJSON() ([]byte, error) { type NoMethod AllocationResourceStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AllocationResourceStatusSpecificSKUAllocation: Contains Properties set for @@ -3014,6 +3014,9 @@ type AllocationResourceStatusSpecificSKUAllocation struct { // SourceInstanceTemplateId: ID of the instance template used to populate // reservation properties. SourceInstanceTemplateId string `json:"sourceInstanceTemplateId,omitempty"` + // Utilizations: Per service utilization breakdown. The Key is the Google Cloud + // managed service name. + Utilizations map[string]string `json:"utilizations,omitempty"` // ForceSendFields is a list of field names (e.g. "SourceInstanceTemplateId") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See @@ -3027,9 +3030,9 @@ type AllocationResourceStatusSpecificSKUAllocation struct { NullFields []string `json:"-"` } -func (s *AllocationResourceStatusSpecificSKUAllocation) MarshalJSON() ([]byte, error) { +func (s AllocationResourceStatusSpecificSKUAllocation) MarshalJSON() ([]byte, error) { type NoMethod AllocationResourceStatusSpecificSKUAllocation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk struct { @@ -3057,9 +3060,9 @@ type AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk stru NullFields []string `json:"-"` } -func (s *AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk) MarshalJSON() ([]byte, error) { +func (s AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk) MarshalJSON() ([]byte, error) { type NoMethod AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AllocationSpecificSKUAllocationReservedInstanceProperties: Properties of the @@ -3117,9 +3120,9 @@ type AllocationSpecificSKUAllocationReservedInstanceProperties struct { NullFields []string `json:"-"` } -func (s *AllocationSpecificSKUAllocationReservedInstanceProperties) MarshalJSON() ([]byte, error) { +func (s AllocationSpecificSKUAllocationReservedInstanceProperties) MarshalJSON() ([]byte, error) { type NoMethod AllocationSpecificSKUAllocationReservedInstanceProperties - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AllocationSpecificSKUReservation: This reservation type allows to pre @@ -3156,9 +3159,9 @@ type AllocationSpecificSKUReservation struct { NullFields []string `json:"-"` } -func (s *AllocationSpecificSKUReservation) MarshalJSON() ([]byte, error) { +func (s AllocationSpecificSKUReservation) MarshalJSON() ([]byte, error) { type NoMethod AllocationSpecificSKUReservation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AttachedDisk: An instance-attached disk resource. @@ -3298,9 +3301,9 @@ type AttachedDisk struct { NullFields []string `json:"-"` } -func (s *AttachedDisk) MarshalJSON() ([]byte, error) { +func (s AttachedDisk) MarshalJSON() ([]byte, error) { type NoMethod AttachedDisk - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AttachedDiskInitializeParams: [Input Only] Specifies the parameters for a @@ -3465,9 +3468,9 @@ type AttachedDiskInitializeParams struct { NullFields []string `json:"-"` } -func (s *AttachedDiskInitializeParams) MarshalJSON() ([]byte, error) { +func (s AttachedDiskInitializeParams) MarshalJSON() ([]byte, error) { type NoMethod AttachedDiskInitializeParams - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AuditConfig: Specifies the audit configuration for a service. The @@ -3508,9 +3511,9 @@ type AuditConfig struct { NullFields []string `json:"-"` } -func (s *AuditConfig) MarshalJSON() ([]byte, error) { +func (s AuditConfig) MarshalJSON() ([]byte, error) { type NoMethod AuditConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AuditLogConfig: Provides the configuration for logging a type of @@ -3545,9 +3548,9 @@ type AuditLogConfig struct { NullFields []string `json:"-"` } -func (s *AuditLogConfig) MarshalJSON() ([]byte, error) { +func (s AuditLogConfig) MarshalJSON() ([]byte, error) { type NoMethod AuditLogConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AuthenticationPolicy: [Deprecated] The authentication settings for the @@ -3597,9 +3600,9 @@ type AuthenticationPolicy struct { NullFields []string `json:"-"` } -func (s *AuthenticationPolicy) MarshalJSON() ([]byte, error) { +func (s AuthenticationPolicy) MarshalJSON() ([]byte, error) { type NoMethod AuthenticationPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AuthorizationConfig: [Deprecated] Authorization configuration provides @@ -3621,9 +3624,9 @@ type AuthorizationConfig struct { NullFields []string `json:"-"` } -func (s *AuthorizationConfig) MarshalJSON() ([]byte, error) { +func (s AuthorizationConfig) MarshalJSON() ([]byte, error) { type NoMethod AuthorizationConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Autoscaler: Represents an Autoscaler resource. Google Compute Engine has two @@ -3718,9 +3721,9 @@ type Autoscaler struct { NullFields []string `json:"-"` } -func (s *Autoscaler) MarshalJSON() ([]byte, error) { +func (s Autoscaler) MarshalJSON() ([]byte, error) { type NoMethod Autoscaler - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AutoscalerAggregatedList struct { @@ -3760,9 +3763,9 @@ type AutoscalerAggregatedList struct { NullFields []string `json:"-"` } -func (s *AutoscalerAggregatedList) MarshalJSON() ([]byte, error) { +func (s AutoscalerAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod AutoscalerAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AutoscalerAggregatedListWarning: [Output Only] Informational warning @@ -3846,9 +3849,9 @@ type AutoscalerAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *AutoscalerAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s AutoscalerAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod AutoscalerAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AutoscalerAggregatedListWarningData struct { @@ -3875,9 +3878,9 @@ type AutoscalerAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *AutoscalerAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s AutoscalerAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod AutoscalerAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AutoscalerList: Contains a list of Autoscaler resources. @@ -3915,9 +3918,9 @@ type AutoscalerList struct { NullFields []string `json:"-"` } -func (s *AutoscalerList) MarshalJSON() ([]byte, error) { +func (s AutoscalerList) MarshalJSON() ([]byte, error) { type NoMethod AutoscalerList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AutoscalerListWarning: [Output Only] Informational warning message. @@ -4000,9 +4003,9 @@ type AutoscalerListWarning struct { NullFields []string `json:"-"` } -func (s *AutoscalerListWarning) MarshalJSON() ([]byte, error) { +func (s AutoscalerListWarning) MarshalJSON() ([]byte, error) { type NoMethod AutoscalerListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AutoscalerListWarningData struct { @@ -4029,9 +4032,9 @@ type AutoscalerListWarningData struct { NullFields []string `json:"-"` } -func (s *AutoscalerListWarningData) MarshalJSON() ([]byte, error) { +func (s AutoscalerListWarningData) MarshalJSON() ([]byte, error) { type NoMethod AutoscalerListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AutoscalerStatusDetails struct { @@ -4130,9 +4133,9 @@ type AutoscalerStatusDetails struct { NullFields []string `json:"-"` } -func (s *AutoscalerStatusDetails) MarshalJSON() ([]byte, error) { +func (s AutoscalerStatusDetails) MarshalJSON() ([]byte, error) { type NoMethod AutoscalerStatusDetails - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AutoscalersScopedList struct { @@ -4154,9 +4157,9 @@ type AutoscalersScopedList struct { NullFields []string `json:"-"` } -func (s *AutoscalersScopedList) MarshalJSON() ([]byte, error) { +func (s AutoscalersScopedList) MarshalJSON() ([]byte, error) { type NoMethod AutoscalersScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AutoscalersScopedListWarning: [Output Only] Informational warning which @@ -4240,9 +4243,9 @@ type AutoscalersScopedListWarning struct { NullFields []string `json:"-"` } -func (s *AutoscalersScopedListWarning) MarshalJSON() ([]byte, error) { +func (s AutoscalersScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod AutoscalersScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AutoscalersScopedListWarningData struct { @@ -4269,9 +4272,9 @@ type AutoscalersScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *AutoscalersScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s AutoscalersScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod AutoscalersScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AutoscalingPolicy: Cloud Autoscaler policy. @@ -4342,9 +4345,9 @@ type AutoscalingPolicy struct { NullFields []string `json:"-"` } -func (s *AutoscalingPolicy) MarshalJSON() ([]byte, error) { +func (s AutoscalingPolicy) MarshalJSON() ([]byte, error) { type NoMethod AutoscalingPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AutoscalingPolicyCpuUtilization: CPU utilization policy. @@ -4390,9 +4393,9 @@ type AutoscalingPolicyCpuUtilization struct { NullFields []string `json:"-"` } -func (s *AutoscalingPolicyCpuUtilization) MarshalJSON() ([]byte, error) { +func (s AutoscalingPolicyCpuUtilization) MarshalJSON() ([]byte, error) { type NoMethod AutoscalingPolicyCpuUtilization - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *AutoscalingPolicyCpuUtilization) UnmarshalJSON(data []byte) error { @@ -4484,9 +4487,9 @@ type AutoscalingPolicyCustomMetricUtilization struct { NullFields []string `json:"-"` } -func (s *AutoscalingPolicyCustomMetricUtilization) MarshalJSON() ([]byte, error) { +func (s AutoscalingPolicyCustomMetricUtilization) MarshalJSON() ([]byte, error) { type NoMethod AutoscalingPolicyCustomMetricUtilization - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *AutoscalingPolicyCustomMetricUtilization) UnmarshalJSON(data []byte) error { @@ -4525,9 +4528,9 @@ type AutoscalingPolicyLoadBalancingUtilization struct { NullFields []string `json:"-"` } -func (s *AutoscalingPolicyLoadBalancingUtilization) MarshalJSON() ([]byte, error) { +func (s AutoscalingPolicyLoadBalancingUtilization) MarshalJSON() ([]byte, error) { type NoMethod AutoscalingPolicyLoadBalancingUtilization - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *AutoscalingPolicyLoadBalancingUtilization) UnmarshalJSON(data []byte) error { @@ -4569,9 +4572,9 @@ type AutoscalingPolicyScaleDownControl struct { NullFields []string `json:"-"` } -func (s *AutoscalingPolicyScaleDownControl) MarshalJSON() ([]byte, error) { +func (s AutoscalingPolicyScaleDownControl) MarshalJSON() ([]byte, error) { type NoMethod AutoscalingPolicyScaleDownControl - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AutoscalingPolicyScaleInControl: Configuration that allows for slower scale @@ -4599,9 +4602,9 @@ type AutoscalingPolicyScaleInControl struct { NullFields []string `json:"-"` } -func (s *AutoscalingPolicyScaleInControl) MarshalJSON() ([]byte, error) { +func (s AutoscalingPolicyScaleInControl) MarshalJSON() ([]byte, error) { type NoMethod AutoscalingPolicyScaleInControl - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AutoscalingPolicyScalingSchedule: Scaling based on user-defined schedule. @@ -4651,9 +4654,9 @@ type AutoscalingPolicyScalingSchedule struct { NullFields []string `json:"-"` } -func (s *AutoscalingPolicyScalingSchedule) MarshalJSON() ([]byte, error) { +func (s AutoscalingPolicyScalingSchedule) MarshalJSON() ([]byte, error) { type NoMethod AutoscalingPolicyScalingSchedule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Backend: Message containing information of one individual backend. @@ -4671,6 +4674,7 @@ type Backend struct { // // Possible values: // "CONNECTION" - Balance based on the number of simultaneous connections. + // "CUSTOM_METRICS" - Based on custom defined and reported metrics. // "RATE" - Balance based on requests per second (RPS). // "UTILIZATION" - Balance based on the backend utilization. BalancingMode string `json:"balancingMode,omitempty"` @@ -4685,6 +4689,9 @@ type Backend struct { // includes backends such as global internet NEGs, regional serverless NEGs, // and PSC NEGs. CapacityScaler float64 `json:"capacityScaler,omitempty"` + // CustomMetrics: List of custom metrics that are used for CUSTOM_METRICS + // BalancingMode and WEIGHTED_ROUND_ROBIN BackendService locality_lb_policy. + CustomMetrics []*BackendCustomMetric `json:"customMetrics,omitempty"` // Description: An optional description of this resource. Provide this property // when you create the resource. Description string `json:"description,omitempty"` @@ -4756,9 +4763,9 @@ type Backend struct { NullFields []string `json:"-"` } -func (s *Backend) MarshalJSON() ([]byte, error) { +func (s Backend) MarshalJSON() ([]byte, error) { type NoMethod Backend - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *Backend) UnmarshalJSON(data []byte) error { @@ -4853,9 +4860,9 @@ type BackendBucket struct { NullFields []string `json:"-"` } -func (s *BackendBucket) MarshalJSON() ([]byte, error) { +func (s BackendBucket) MarshalJSON() ([]byte, error) { type NoMethod BackendBucket - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendBucketCdnPolicy: Message containing Cloud CDN configuration for a @@ -4984,9 +4991,9 @@ type BackendBucketCdnPolicy struct { NullFields []string `json:"-"` } -func (s *BackendBucketCdnPolicy) MarshalJSON() ([]byte, error) { +func (s BackendBucketCdnPolicy) MarshalJSON() ([]byte, error) { type NoMethod BackendBucketCdnPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendBucketCdnPolicyBypassCacheOnRequestHeader: Bypass the cache when the @@ -5010,9 +5017,9 @@ type BackendBucketCdnPolicyBypassCacheOnRequestHeader struct { NullFields []string `json:"-"` } -func (s *BackendBucketCdnPolicyBypassCacheOnRequestHeader) MarshalJSON() ([]byte, error) { +func (s BackendBucketCdnPolicyBypassCacheOnRequestHeader) MarshalJSON() ([]byte, error) { type NoMethod BackendBucketCdnPolicyBypassCacheOnRequestHeader - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendBucketCdnPolicyCacheKeyPolicy: Message containing what to include in @@ -5038,9 +5045,9 @@ type BackendBucketCdnPolicyCacheKeyPolicy struct { NullFields []string `json:"-"` } -func (s *BackendBucketCdnPolicyCacheKeyPolicy) MarshalJSON() ([]byte, error) { +func (s BackendBucketCdnPolicyCacheKeyPolicy) MarshalJSON() ([]byte, error) { type NoMethod BackendBucketCdnPolicyCacheKeyPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendBucketCdnPolicyNegativeCachingPolicy: Specify CDN TTLs for response @@ -5068,9 +5075,9 @@ type BackendBucketCdnPolicyNegativeCachingPolicy struct { NullFields []string `json:"-"` } -func (s *BackendBucketCdnPolicyNegativeCachingPolicy) MarshalJSON() ([]byte, error) { +func (s BackendBucketCdnPolicyNegativeCachingPolicy) MarshalJSON() ([]byte, error) { type NoMethod BackendBucketCdnPolicyNegativeCachingPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendBucketList: Contains a list of BackendBucket resources. @@ -5107,9 +5114,9 @@ type BackendBucketList struct { NullFields []string `json:"-"` } -func (s *BackendBucketList) MarshalJSON() ([]byte, error) { +func (s BackendBucketList) MarshalJSON() ([]byte, error) { type NoMethod BackendBucketList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendBucketListWarning: [Output Only] Informational warning message. @@ -5192,9 +5199,9 @@ type BackendBucketListWarning struct { NullFields []string `json:"-"` } -func (s *BackendBucketListWarning) MarshalJSON() ([]byte, error) { +func (s BackendBucketListWarning) MarshalJSON() ([]byte, error) { type NoMethod BackendBucketListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BackendBucketListWarningData struct { @@ -5221,9 +5228,60 @@ type BackendBucketListWarningData struct { NullFields []string `json:"-"` } -func (s *BackendBucketListWarningData) MarshalJSON() ([]byte, error) { +func (s BackendBucketListWarningData) MarshalJSON() ([]byte, error) { type NoMethod BackendBucketListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// BackendCustomMetric: Custom Metrics are used for CUSTOM_METRICS +// balancing_mode and WEIGHTED_ROUND_ROBIN BackendService locality_lb_policy. +type BackendCustomMetric struct { + // DryRun: If true, the metric data is collected and reported to Cloud + // Monitoring, but is not used for load balancing. + DryRun bool `json:"dryRun,omitempty"` + // MaxUtilization: Optional parameter to define a target utilization for the + // Custom Metrics balancing mode. The valid range is [0.0, 1.0]. + MaxUtilization float64 `json:"maxUtilization,omitempty"` + // Name: Name of a custom utilization signal. The name must be 1-24 characters + // long, and comply with RFC1035. Specifically, the name must be 1-24 + // characters long and match the regular expression a-z ([-a-z0-9]*[a-z0-9])? + // which means the first character must be a lowercase letter, and all + // following characters must be a dash, lowercase letter, or digit, except the + // last character, which cannot be a dash. For usage guidelines, see Custom + // Metrics balancing mode. This field can only be used for a global or regional + // backend service with the loadBalancingScheme set to EXTERNAL_MANAGED, + // INTERNAL_MANAGED INTERNAL_SELF_MANAGED. + Name string `json:"name,omitempty"` + // ForceSendFields is a list of field names (e.g. "DryRun") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "DryRun") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s BackendCustomMetric) MarshalJSON() ([]byte, error) { + type NoMethod BackendCustomMetric + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +func (s *BackendCustomMetric) UnmarshalJSON(data []byte) error { + type NoMethod BackendCustomMetric + var s1 struct { + MaxUtilization gensupport.JSONFloat64 `json:"maxUtilization"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.MaxUtilization = float64(s1.MaxUtilization) + return nil } // BackendService: Represents a Backend Service resource. A backend service @@ -5476,6 +5534,11 @@ type BackendService struct { // replies, as long as every instance either reported a valid weight or had // UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains equal-weight. This // option is only supported in Network Load Balancing. + // "WEIGHTED_ROUND_ROBIN" - Per-endpoint weighted round-robin Load Balancing + // using weights computed from Backend reported Custom Metrics. If set, the + // Backend Service responses are expected to contain non-standard HTTP response + // header field X-Endpoint-Load-Metrics. The reported metrics to use for + // computing the weights are specified via the backends[].customMetrics fields. LocalityLbPolicy string `json:"localityLbPolicy,omitempty"` // LogConfig: This field denotes the logging options for the load balancer // traffic served by this backend service. If logging is enabled, logs will be @@ -5641,8 +5704,9 @@ type BackendService struct { // this backend service. Not supported when the backend service is referenced // by a URL map that is bound to target gRPC proxy that has // validateForProxyless field set to true. Instead, use maxStreamDuration. - TimeoutSec int64 `json:"timeoutSec,omitempty"` - UsedBy []*BackendServiceUsedBy `json:"usedBy,omitempty"` + TimeoutSec int64 `json:"timeoutSec,omitempty"` + // UsedBy: [Output Only] List of resources referencing given backend service. + UsedBy []*BackendServiceUsedBy `json:"usedBy,omitempty"` // VpcNetworkScope: The network scope of the backends that can be added to the // backend service. This field can be either GLOBAL_VPC_NETWORK or // REGIONAL_VPC_NETWORK. A backend service with the VPC scope set to @@ -5674,9 +5738,9 @@ type BackendService struct { NullFields []string `json:"-"` } -func (s *BackendService) MarshalJSON() ([]byte, error) { +func (s BackendService) MarshalJSON() ([]byte, error) { type NoMethod BackendService - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *BackendService) UnmarshalJSON(data []byte) error { @@ -5729,9 +5793,9 @@ type BackendServiceAggregatedList struct { NullFields []string `json:"-"` } -func (s *BackendServiceAggregatedList) MarshalJSON() ([]byte, error) { +func (s BackendServiceAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceAggregatedListWarning: [Output Only] Informational warning @@ -5815,9 +5879,9 @@ type BackendServiceAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *BackendServiceAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s BackendServiceAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BackendServiceAggregatedListWarningData struct { @@ -5844,9 +5908,9 @@ type BackendServiceAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *BackendServiceAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s BackendServiceAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceCdnPolicy: Message containing Cloud CDN configuration for a @@ -5975,9 +6039,9 @@ type BackendServiceCdnPolicy struct { NullFields []string `json:"-"` } -func (s *BackendServiceCdnPolicy) MarshalJSON() ([]byte, error) { +func (s BackendServiceCdnPolicy) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceCdnPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceCdnPolicyBypassCacheOnRequestHeader: Bypass the cache when the @@ -6001,9 +6065,9 @@ type BackendServiceCdnPolicyBypassCacheOnRequestHeader struct { NullFields []string `json:"-"` } -func (s *BackendServiceCdnPolicyBypassCacheOnRequestHeader) MarshalJSON() ([]byte, error) { +func (s BackendServiceCdnPolicyBypassCacheOnRequestHeader) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceCdnPolicyBypassCacheOnRequestHeader - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceCdnPolicyNegativeCachingPolicy: Specify CDN TTLs for response @@ -6031,9 +6095,9 @@ type BackendServiceCdnPolicyNegativeCachingPolicy struct { NullFields []string `json:"-"` } -func (s *BackendServiceCdnPolicyNegativeCachingPolicy) MarshalJSON() ([]byte, error) { +func (s BackendServiceCdnPolicyNegativeCachingPolicy) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceCdnPolicyNegativeCachingPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceConnectionTrackingPolicy: Connection Tracking configuration @@ -6103,9 +6167,9 @@ type BackendServiceConnectionTrackingPolicy struct { NullFields []string `json:"-"` } -func (s *BackendServiceConnectionTrackingPolicy) MarshalJSON() ([]byte, error) { +func (s BackendServiceConnectionTrackingPolicy) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceConnectionTrackingPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceFailoverPolicy: For load balancers that have configurable @@ -6159,9 +6223,9 @@ type BackendServiceFailoverPolicy struct { NullFields []string `json:"-"` } -func (s *BackendServiceFailoverPolicy) MarshalJSON() ([]byte, error) { +func (s BackendServiceFailoverPolicy) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceFailoverPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *BackendServiceFailoverPolicy) UnmarshalJSON(data []byte) error { @@ -6204,9 +6268,9 @@ type BackendServiceGroupHealth struct { NullFields []string `json:"-"` } -func (s *BackendServiceGroupHealth) MarshalJSON() ([]byte, error) { +func (s BackendServiceGroupHealth) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceGroupHealth - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BackendServiceHAPolicy struct { @@ -6231,9 +6295,9 @@ type BackendServiceHAPolicy struct { NullFields []string `json:"-"` } -func (s *BackendServiceHAPolicy) MarshalJSON() ([]byte, error) { +func (s BackendServiceHAPolicy) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceHAPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BackendServiceHAPolicyLeader struct { @@ -6254,9 +6318,9 @@ type BackendServiceHAPolicyLeader struct { NullFields []string `json:"-"` } -func (s *BackendServiceHAPolicyLeader) MarshalJSON() ([]byte, error) { +func (s BackendServiceHAPolicyLeader) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceHAPolicyLeader - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BackendServiceHAPolicyLeaderNetworkEndpoint struct { @@ -6275,9 +6339,9 @@ type BackendServiceHAPolicyLeaderNetworkEndpoint struct { NullFields []string `json:"-"` } -func (s *BackendServiceHAPolicyLeaderNetworkEndpoint) MarshalJSON() ([]byte, error) { +func (s BackendServiceHAPolicyLeaderNetworkEndpoint) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceHAPolicyLeaderNetworkEndpoint - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceHttpCookie: The HTTP cookie used for stateful session @@ -6302,9 +6366,9 @@ type BackendServiceHttpCookie struct { NullFields []string `json:"-"` } -func (s *BackendServiceHttpCookie) MarshalJSON() ([]byte, error) { +func (s BackendServiceHttpCookie) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceHttpCookie - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceIAP: Identity-Aware Proxy @@ -6338,9 +6402,9 @@ type BackendServiceIAP struct { NullFields []string `json:"-"` } -func (s *BackendServiceIAP) MarshalJSON() ([]byte, error) { +func (s BackendServiceIAP) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceIAP - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BackendServiceIAPOAuth2ClientInfo struct { @@ -6365,9 +6429,9 @@ type BackendServiceIAPOAuth2ClientInfo struct { NullFields []string `json:"-"` } -func (s *BackendServiceIAPOAuth2ClientInfo) MarshalJSON() ([]byte, error) { +func (s BackendServiceIAPOAuth2ClientInfo) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceIAPOAuth2ClientInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceList: Contains a list of BackendService resources. @@ -6405,9 +6469,9 @@ type BackendServiceList struct { NullFields []string `json:"-"` } -func (s *BackendServiceList) MarshalJSON() ([]byte, error) { +func (s BackendServiceList) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceListWarning: [Output Only] Informational warning message. @@ -6490,9 +6554,9 @@ type BackendServiceListWarning struct { NullFields []string `json:"-"` } -func (s *BackendServiceListWarning) MarshalJSON() ([]byte, error) { +func (s BackendServiceListWarning) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BackendServiceListWarningData struct { @@ -6519,9 +6583,9 @@ type BackendServiceListWarningData struct { NullFields []string `json:"-"` } -func (s *BackendServiceListWarningData) MarshalJSON() ([]byte, error) { +func (s BackendServiceListWarningData) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceListUsable: Contains a list of usable BackendService @@ -6560,9 +6624,9 @@ type BackendServiceListUsable struct { NullFields []string `json:"-"` } -func (s *BackendServiceListUsable) MarshalJSON() ([]byte, error) { +func (s BackendServiceListUsable) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceListUsable - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceListUsableWarning: [Output Only] Informational warning @@ -6646,9 +6710,9 @@ type BackendServiceListUsableWarning struct { NullFields []string `json:"-"` } -func (s *BackendServiceListUsableWarning) MarshalJSON() ([]byte, error) { +func (s BackendServiceListUsableWarning) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceListUsableWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BackendServiceListUsableWarningData struct { @@ -6675,9 +6739,9 @@ type BackendServiceListUsableWarningData struct { NullFields []string `json:"-"` } -func (s *BackendServiceListUsableWarningData) MarshalJSON() ([]byte, error) { +func (s BackendServiceListUsableWarningData) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceListUsableWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceLocalityLoadBalancingPolicyConfig: Container for either a @@ -6699,9 +6763,9 @@ type BackendServiceLocalityLoadBalancingPolicyConfig struct { NullFields []string `json:"-"` } -func (s *BackendServiceLocalityLoadBalancingPolicyConfig) MarshalJSON() ([]byte, error) { +func (s BackendServiceLocalityLoadBalancingPolicyConfig) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceLocalityLoadBalancingPolicyConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy: The @@ -6732,9 +6796,9 @@ type BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy struct { NullFields []string `json:"-"` } -func (s *BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy) MarshalJSON() ([]byte, error) { +func (s BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceLocalityLoadBalancingPolicyConfigPolicy: The configuration for @@ -6775,6 +6839,11 @@ type BackendServiceLocalityLoadBalancingPolicyConfigPolicy struct { // replies, as long as every instance either reported a valid weight or had // UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains equal-weight. This // option is only supported in Network Load Balancing. + // "WEIGHTED_ROUND_ROBIN" - Per-endpoint weighted round-robin Load Balancing + // using weights computed from Backend reported Custom Metrics. If set, the + // Backend Service responses are expected to contain non-standard HTTP response + // header field X-Endpoint-Load-Metrics. The reported metrics to use for + // computing the weights are specified via the backends[].customMetrics fields. Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") to unconditionally // include in API requests. By default, fields with empty or default values are @@ -6789,9 +6858,9 @@ type BackendServiceLocalityLoadBalancingPolicyConfigPolicy struct { NullFields []string `json:"-"` } -func (s *BackendServiceLocalityLoadBalancingPolicyConfigPolicy) MarshalJSON() ([]byte, error) { +func (s BackendServiceLocalityLoadBalancingPolicyConfigPolicy) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceLocalityLoadBalancingPolicyConfigPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceLogConfig: The available logging options for the load balancer @@ -6848,9 +6917,9 @@ type BackendServiceLogConfig struct { NullFields []string `json:"-"` } -func (s *BackendServiceLogConfig) MarshalJSON() ([]byte, error) { +func (s BackendServiceLogConfig) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceLogConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *BackendServiceLogConfig) UnmarshalJSON(data []byte) error { @@ -6884,9 +6953,9 @@ type BackendServiceNetworkPassThroughLbTrafficPolicy struct { NullFields []string `json:"-"` } -func (s *BackendServiceNetworkPassThroughLbTrafficPolicy) MarshalJSON() ([]byte, error) { +func (s BackendServiceNetworkPassThroughLbTrafficPolicy) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceNetworkPassThroughLbTrafficPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity struct { @@ -6931,9 +7000,9 @@ type BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity struct { NullFields []string `json:"-"` } -func (s *BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity) MarshalJSON() ([]byte, error) { +func (s BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity) UnmarshalJSON(data []byte) error { @@ -6965,12 +7034,15 @@ type BackendServiceReference struct { NullFields []string `json:"-"` } -func (s *BackendServiceReference) MarshalJSON() ([]byte, error) { +func (s BackendServiceReference) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceReference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BackendServiceUsedBy struct { + // Reference: [Output Only] Server-defined URL for resources referencing given + // BackendService like UrlMaps, TargetTcpProxies, TargetSslProxies and + // ForwardingRule. Reference string `json:"reference,omitempty"` // ForceSendFields is a list of field names (e.g. "Reference") to // unconditionally include in API requests. By default, fields with empty or @@ -6985,9 +7057,9 @@ type BackendServiceUsedBy struct { NullFields []string `json:"-"` } -func (s *BackendServiceUsedBy) MarshalJSON() ([]byte, error) { +func (s BackendServiceUsedBy) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceUsedBy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BackendServicesScopedList struct { @@ -7009,9 +7081,9 @@ type BackendServicesScopedList struct { NullFields []string `json:"-"` } -func (s *BackendServicesScopedList) MarshalJSON() ([]byte, error) { +func (s BackendServicesScopedList) MarshalJSON() ([]byte, error) { type NoMethod BackendServicesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServicesScopedListWarning: Informational warning which replaces the @@ -7095,9 +7167,9 @@ type BackendServicesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *BackendServicesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s BackendServicesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod BackendServicesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BackendServicesScopedListWarningData struct { @@ -7124,9 +7196,9 @@ type BackendServicesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *BackendServicesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s BackendServicesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod BackendServicesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BfdPacket struct { @@ -7212,9 +7284,9 @@ type BfdPacket struct { NullFields []string `json:"-"` } -func (s *BfdPacket) MarshalJSON() ([]byte, error) { +func (s BfdPacket) MarshalJSON() ([]byte, error) { type NoMethod BfdPacket - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BfdStatus: Next free: 15 @@ -7297,9 +7369,9 @@ type BfdStatus struct { NullFields []string `json:"-"` } -func (s *BfdStatus) MarshalJSON() ([]byte, error) { +func (s BfdStatus) MarshalJSON() ([]byte, error) { type NoMethod BfdStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BfdStatusPacketCounts struct { @@ -7328,9 +7400,9 @@ type BfdStatusPacketCounts struct { NullFields []string `json:"-"` } -func (s *BfdStatusPacketCounts) MarshalJSON() ([]byte, error) { +func (s BfdStatusPacketCounts) MarshalJSON() ([]byte, error) { type NoMethod BfdStatusPacketCounts - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BgpRoute struct { @@ -7363,9 +7435,9 @@ type BgpRoute struct { NullFields []string `json:"-"` } -func (s *BgpRoute) MarshalJSON() ([]byte, error) { +func (s BgpRoute) MarshalJSON() ([]byte, error) { type NoMethod BgpRoute - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BgpRouteAsPath struct { @@ -7391,9 +7463,9 @@ type BgpRouteAsPath struct { NullFields []string `json:"-"` } -func (s *BgpRouteAsPath) MarshalJSON() ([]byte, error) { +func (s BgpRouteAsPath) MarshalJSON() ([]byte, error) { type NoMethod BgpRouteAsPath - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BgpRouteNetworkLayerReachabilityInformation: Network Layer Reachability @@ -7417,9 +7489,9 @@ type BgpRouteNetworkLayerReachabilityInformation struct { NullFields []string `json:"-"` } -func (s *BgpRouteNetworkLayerReachabilityInformation) MarshalJSON() ([]byte, error) { +func (s BgpRouteNetworkLayerReachabilityInformation) MarshalJSON() ([]byte, error) { type NoMethod BgpRouteNetworkLayerReachabilityInformation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Binding: Associates `members`, or principals, with a `role`. @@ -7518,9 +7590,9 @@ type Binding struct { NullFields []string `json:"-"` } -func (s *Binding) MarshalJSON() ([]byte, error) { +func (s Binding) MarshalJSON() ([]byte, error) { type NoMethod Binding - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BulkInsertDiskResource: A transient resource used in @@ -7547,9 +7619,9 @@ type BulkInsertDiskResource struct { NullFields []string `json:"-"` } -func (s *BulkInsertDiskResource) MarshalJSON() ([]byte, error) { +func (s BulkInsertDiskResource) MarshalJSON() ([]byte, error) { type NoMethod BulkInsertDiskResource - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BulkInsertInstanceResource: A transient resource used in @@ -7609,9 +7681,9 @@ type BulkInsertInstanceResource struct { NullFields []string `json:"-"` } -func (s *BulkInsertInstanceResource) MarshalJSON() ([]byte, error) { +func (s BulkInsertInstanceResource) MarshalJSON() ([]byte, error) { type NoMethod BulkInsertInstanceResource - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BulkInsertInstanceResourcePerInstanceProperties: Per-instance properties to @@ -7635,9 +7707,9 @@ type BulkInsertInstanceResourcePerInstanceProperties struct { NullFields []string `json:"-"` } -func (s *BulkInsertInstanceResourcePerInstanceProperties) MarshalJSON() ([]byte, error) { +func (s BulkInsertInstanceResourcePerInstanceProperties) MarshalJSON() ([]byte, error) { type NoMethod BulkInsertInstanceResourcePerInstanceProperties - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BulkInsertOperationStatus struct { @@ -7672,9 +7744,9 @@ type BulkInsertOperationStatus struct { NullFields []string `json:"-"` } -func (s *BulkInsertOperationStatus) MarshalJSON() ([]byte, error) { +func (s BulkInsertOperationStatus) MarshalJSON() ([]byte, error) { type NoMethod BulkInsertOperationStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BundledLocalSsds struct { @@ -7696,9 +7768,9 @@ type BundledLocalSsds struct { NullFields []string `json:"-"` } -func (s *BundledLocalSsds) MarshalJSON() ([]byte, error) { +func (s BundledLocalSsds) MarshalJSON() ([]byte, error) { type NoMethod BundledLocalSsds - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type CacheInvalidationRule struct { @@ -7719,9 +7791,9 @@ type CacheInvalidationRule struct { NullFields []string `json:"-"` } -func (s *CacheInvalidationRule) MarshalJSON() ([]byte, error) { +func (s CacheInvalidationRule) MarshalJSON() ([]byte, error) { type NoMethod CacheInvalidationRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CacheKeyPolicy: Message containing what to include in the cache key for a @@ -7765,9 +7837,9 @@ type CacheKeyPolicy struct { NullFields []string `json:"-"` } -func (s *CacheKeyPolicy) MarshalJSON() ([]byte, error) { +func (s CacheKeyPolicy) MarshalJSON() ([]byte, error) { type NoMethod CacheKeyPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CallCredentials: [Deprecated] gRPC call credentials to access the SDS @@ -7802,9 +7874,9 @@ type CallCredentials struct { NullFields []string `json:"-"` } -func (s *CallCredentials) MarshalJSON() ([]byte, error) { +func (s CallCredentials) MarshalJSON() ([]byte, error) { type NoMethod CallCredentials - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ChannelCredentials: [Deprecated] gRPC channel credentials to access the SDS @@ -7835,9 +7907,9 @@ type ChannelCredentials struct { NullFields []string `json:"-"` } -func (s *ChannelCredentials) MarshalJSON() ([]byte, error) { +func (s ChannelCredentials) MarshalJSON() ([]byte, error) { type NoMethod ChannelCredentials - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CircuitBreakers: Settings controlling the volume of requests, connections @@ -7883,9 +7955,9 @@ type CircuitBreakers struct { NullFields []string `json:"-"` } -func (s *CircuitBreakers) MarshalJSON() ([]byte, error) { +func (s CircuitBreakers) MarshalJSON() ([]byte, error) { type NoMethod CircuitBreakers - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ClientTlsSettings: [Deprecated] The client side authentication settings for @@ -7930,9 +8002,9 @@ type ClientTlsSettings struct { NullFields []string `json:"-"` } -func (s *ClientTlsSettings) MarshalJSON() ([]byte, error) { +func (s ClientTlsSettings) MarshalJSON() ([]byte, error) { type NoMethod ClientTlsSettings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Commitment: Represents a regional Commitment resource. Creating a commitment @@ -7960,6 +8032,10 @@ type Commitment struct { Category string `json:"category,omitempty"` // CreationTimestamp: [Output Only] Creation timestamp in RFC3339 text format. CreationTimestamp string `json:"creationTimestamp,omitempty"` + // CustomEndTimestamp: [Input Only] Optional, specifies the CUD end time + // requested by the customer in RFC3339 text format. Needed when the customer + // wants CUD's end date is later than the start date + term duration. + CustomEndTimestamp string `json:"customEndTimestamp,omitempty"` // Description: An optional description of this resource. Provide this property // when you create the resource. Description string `json:"description,omitempty"` @@ -8081,9 +8157,9 @@ type Commitment struct { NullFields []string `json:"-"` } -func (s *Commitment) MarshalJSON() ([]byte, error) { +func (s Commitment) MarshalJSON() ([]byte, error) { type NoMethod Commitment - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type CommitmentAggregatedList struct { @@ -8122,9 +8198,9 @@ type CommitmentAggregatedList struct { NullFields []string `json:"-"` } -func (s *CommitmentAggregatedList) MarshalJSON() ([]byte, error) { +func (s CommitmentAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod CommitmentAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CommitmentAggregatedListWarning: [Output Only] Informational warning @@ -8208,9 +8284,9 @@ type CommitmentAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *CommitmentAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s CommitmentAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod CommitmentAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type CommitmentAggregatedListWarningData struct { @@ -8237,9 +8313,9 @@ type CommitmentAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *CommitmentAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s CommitmentAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod CommitmentAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CommitmentList: Contains a list of Commitment resources. @@ -8277,9 +8353,9 @@ type CommitmentList struct { NullFields []string `json:"-"` } -func (s *CommitmentList) MarshalJSON() ([]byte, error) { +func (s CommitmentList) MarshalJSON() ([]byte, error) { type NoMethod CommitmentList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CommitmentListWarning: [Output Only] Informational warning message. @@ -8362,9 +8438,9 @@ type CommitmentListWarning struct { NullFields []string `json:"-"` } -func (s *CommitmentListWarning) MarshalJSON() ([]byte, error) { +func (s CommitmentListWarning) MarshalJSON() ([]byte, error) { type NoMethod CommitmentListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type CommitmentListWarningData struct { @@ -8391,9 +8467,9 @@ type CommitmentListWarningData struct { NullFields []string `json:"-"` } -func (s *CommitmentListWarningData) MarshalJSON() ([]byte, error) { +func (s CommitmentListWarningData) MarshalJSON() ([]byte, error) { type NoMethod CommitmentListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CommitmentResourceStatus: [Output Only] Contains output only fields. @@ -8401,6 +8477,11 @@ type CommitmentResourceStatus struct { // CancellationInformation: [Output Only] An optional, contains all the needed // information of cancellation. CancellationInformation *CommitmentResourceStatusCancellationInformation `json:"cancellationInformation,omitempty"` + // CustomTermEligibilityEndTimestamp: [Output Only] Indicates the end time of + // customer's eligibility to send custom term requests in RFC3339 text format. + // Term extension requests that (not the end time in the request) after this + // time will be rejected. + CustomTermEligibilityEndTimestamp string `json:"customTermEligibilityEndTimestamp,omitempty"` // ForceSendFields is a list of field names (e.g. "CancellationInformation") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See @@ -8414,9 +8495,9 @@ type CommitmentResourceStatus struct { NullFields []string `json:"-"` } -func (s *CommitmentResourceStatus) MarshalJSON() ([]byte, error) { +func (s CommitmentResourceStatus) MarshalJSON() ([]byte, error) { type NoMethod CommitmentResourceStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type CommitmentResourceStatusCancellationInformation struct { @@ -8447,9 +8528,9 @@ type CommitmentResourceStatusCancellationInformation struct { NullFields []string `json:"-"` } -func (s *CommitmentResourceStatusCancellationInformation) MarshalJSON() ([]byte, error) { +func (s CommitmentResourceStatusCancellationInformation) MarshalJSON() ([]byte, error) { type NoMethod CommitmentResourceStatusCancellationInformation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type CommitmentsScopedList struct { @@ -8471,9 +8552,9 @@ type CommitmentsScopedList struct { NullFields []string `json:"-"` } -func (s *CommitmentsScopedList) MarshalJSON() ([]byte, error) { +func (s CommitmentsScopedList) MarshalJSON() ([]byte, error) { type NoMethod CommitmentsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CommitmentsScopedListWarning: [Output Only] Informational warning which @@ -8557,9 +8638,9 @@ type CommitmentsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *CommitmentsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s CommitmentsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod CommitmentsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type CommitmentsScopedListWarningData struct { @@ -8586,9 +8667,9 @@ type CommitmentsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *CommitmentsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s CommitmentsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod CommitmentsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Condition: This is deprecated and has no effect. Do not use. @@ -8641,9 +8722,9 @@ type Condition struct { NullFields []string `json:"-"` } -func (s *Condition) MarshalJSON() ([]byte, error) { +func (s Condition) MarshalJSON() ([]byte, error) { type NoMethod Condition - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ConfidentialInstanceConfig: A set of Confidential Instance options. @@ -8674,9 +8755,9 @@ type ConfidentialInstanceConfig struct { NullFields []string `json:"-"` } -func (s *ConfidentialInstanceConfig) MarshalJSON() ([]byte, error) { +func (s ConfidentialInstanceConfig) MarshalJSON() ([]byte, error) { type NoMethod ConfidentialInstanceConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ConnectionDraining: Message containing connection draining configuration. @@ -8698,9 +8779,9 @@ type ConnectionDraining struct { NullFields []string `json:"-"` } -func (s *ConnectionDraining) MarshalJSON() ([]byte, error) { +func (s ConnectionDraining) MarshalJSON() ([]byte, error) { type NoMethod ConnectionDraining - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ConsistentHashLoadBalancerSettings: This message defines settings for a @@ -8734,9 +8815,9 @@ type ConsistentHashLoadBalancerSettings struct { NullFields []string `json:"-"` } -func (s *ConsistentHashLoadBalancerSettings) MarshalJSON() ([]byte, error) { +func (s ConsistentHashLoadBalancerSettings) MarshalJSON() ([]byte, error) { type NoMethod ConsistentHashLoadBalancerSettings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ConsistentHashLoadBalancerSettingsHttpCookie: The information about the HTTP @@ -8762,9 +8843,9 @@ type ConsistentHashLoadBalancerSettingsHttpCookie struct { NullFields []string `json:"-"` } -func (s *ConsistentHashLoadBalancerSettingsHttpCookie) MarshalJSON() ([]byte, error) { +func (s ConsistentHashLoadBalancerSettingsHttpCookie) MarshalJSON() ([]byte, error) { type NoMethod ConsistentHashLoadBalancerSettingsHttpCookie - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CorsPolicy: The specification for allowing client-side cross-origin @@ -8813,9 +8894,9 @@ type CorsPolicy struct { NullFields []string `json:"-"` } -func (s *CorsPolicy) MarshalJSON() ([]byte, error) { +func (s CorsPolicy) MarshalJSON() ([]byte, error) { type NoMethod CorsPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CustomErrorResponsePolicy: Specifies the custom error response policy that @@ -8856,9 +8937,9 @@ type CustomErrorResponsePolicy struct { NullFields []string `json:"-"` } -func (s *CustomErrorResponsePolicy) MarshalJSON() ([]byte, error) { +func (s CustomErrorResponsePolicy) MarshalJSON() ([]byte, error) { type NoMethod CustomErrorResponsePolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CustomErrorResponsePolicyCustomErrorResponseRule: Specifies the mapping @@ -8898,9 +8979,9 @@ type CustomErrorResponsePolicyCustomErrorResponseRule struct { NullFields []string `json:"-"` } -func (s *CustomErrorResponsePolicyCustomErrorResponseRule) MarshalJSON() ([]byte, error) { +func (s CustomErrorResponsePolicyCustomErrorResponseRule) MarshalJSON() ([]byte, error) { type NoMethod CustomErrorResponsePolicyCustomErrorResponseRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type CustomerEncryptionKey struct { @@ -8951,9 +9032,9 @@ type CustomerEncryptionKey struct { NullFields []string `json:"-"` } -func (s *CustomerEncryptionKey) MarshalJSON() ([]byte, error) { +func (s CustomerEncryptionKey) MarshalJSON() ([]byte, error) { type NoMethod CustomerEncryptionKey - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type CustomerEncryptionKeyProtectedDisk struct { @@ -8977,9 +9058,9 @@ type CustomerEncryptionKeyProtectedDisk struct { NullFields []string `json:"-"` } -func (s *CustomerEncryptionKeyProtectedDisk) MarshalJSON() ([]byte, error) { +func (s CustomerEncryptionKeyProtectedDisk) MarshalJSON() ([]byte, error) { type NoMethod CustomerEncryptionKeyProtectedDisk - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DeprecationStatus: Deprecation status for a public resource. @@ -9037,9 +9118,9 @@ type DeprecationStatus struct { NullFields []string `json:"-"` } -func (s *DeprecationStatus) MarshalJSON() ([]byte, error) { +func (s DeprecationStatus) MarshalJSON() ([]byte, error) { type NoMethod DeprecationStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Disk: Represents a Persistent Disk resource. Google Compute Engine has two @@ -9372,9 +9453,9 @@ type Disk struct { NullFields []string `json:"-"` } -func (s *Disk) MarshalJSON() ([]byte, error) { +func (s Disk) MarshalJSON() ([]byte, error) { type NoMethod Disk - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskAggregatedList struct { @@ -9413,9 +9494,9 @@ type DiskAggregatedList struct { NullFields []string `json:"-"` } -func (s *DiskAggregatedList) MarshalJSON() ([]byte, error) { +func (s DiskAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod DiskAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DiskAggregatedListWarning: [Output Only] Informational warning message. @@ -9498,9 +9579,9 @@ type DiskAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *DiskAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s DiskAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod DiskAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskAggregatedListWarningData struct { @@ -9527,9 +9608,9 @@ type DiskAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *DiskAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s DiskAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod DiskAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskAsyncReplication struct { @@ -9565,9 +9646,9 @@ type DiskAsyncReplication struct { NullFields []string `json:"-"` } -func (s *DiskAsyncReplication) MarshalJSON() ([]byte, error) { +func (s DiskAsyncReplication) MarshalJSON() ([]byte, error) { type NoMethod DiskAsyncReplication - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskAsyncReplicationList struct { @@ -9585,9 +9666,9 @@ type DiskAsyncReplicationList struct { NullFields []string `json:"-"` } -func (s *DiskAsyncReplicationList) MarshalJSON() ([]byte, error) { +func (s DiskAsyncReplicationList) MarshalJSON() ([]byte, error) { type NoMethod DiskAsyncReplicationList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DiskInstantiationConfig: A specification of the desired way to instantiate a @@ -9650,9 +9731,9 @@ type DiskInstantiationConfig struct { NullFields []string `json:"-"` } -func (s *DiskInstantiationConfig) MarshalJSON() ([]byte, error) { +func (s DiskInstantiationConfig) MarshalJSON() ([]byte, error) { type NoMethod DiskInstantiationConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DiskList: A list of Disk resources. @@ -9690,9 +9771,9 @@ type DiskList struct { NullFields []string `json:"-"` } -func (s *DiskList) MarshalJSON() ([]byte, error) { +func (s DiskList) MarshalJSON() ([]byte, error) { type NoMethod DiskList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DiskListWarning: [Output Only] Informational warning message. @@ -9775,9 +9856,9 @@ type DiskListWarning struct { NullFields []string `json:"-"` } -func (s *DiskListWarning) MarshalJSON() ([]byte, error) { +func (s DiskListWarning) MarshalJSON() ([]byte, error) { type NoMethod DiskListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskListWarningData struct { @@ -9804,9 +9885,9 @@ type DiskListWarningData struct { NullFields []string `json:"-"` } -func (s *DiskListWarningData) MarshalJSON() ([]byte, error) { +func (s DiskListWarningData) MarshalJSON() ([]byte, error) { type NoMethod DiskListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskMoveRequest struct { @@ -9833,9 +9914,9 @@ type DiskMoveRequest struct { NullFields []string `json:"-"` } -func (s *DiskMoveRequest) MarshalJSON() ([]byte, error) { +func (s DiskMoveRequest) MarshalJSON() ([]byte, error) { type NoMethod DiskMoveRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DiskParams: Additional disk params. @@ -9858,9 +9939,9 @@ type DiskParams struct { NullFields []string `json:"-"` } -func (s *DiskParams) MarshalJSON() ([]byte, error) { +func (s DiskParams) MarshalJSON() ([]byte, error) { type NoMethod DiskParams - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskResourceStatus struct { @@ -9883,9 +9964,9 @@ type DiskResourceStatus struct { NullFields []string `json:"-"` } -func (s *DiskResourceStatus) MarshalJSON() ([]byte, error) { +func (s DiskResourceStatus) MarshalJSON() ([]byte, error) { type NoMethod DiskResourceStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskResourceStatusAsyncReplicationStatus struct { @@ -9911,9 +9992,9 @@ type DiskResourceStatusAsyncReplicationStatus struct { NullFields []string `json:"-"` } -func (s *DiskResourceStatusAsyncReplicationStatus) MarshalJSON() ([]byte, error) { +func (s DiskResourceStatusAsyncReplicationStatus) MarshalJSON() ([]byte, error) { type NoMethod DiskResourceStatusAsyncReplicationStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskSettings struct { @@ -9943,9 +10024,9 @@ type DiskSettings struct { NullFields []string `json:"-"` } -func (s *DiskSettings) MarshalJSON() ([]byte, error) { +func (s DiskSettings) MarshalJSON() ([]byte, error) { type NoMethod DiskSettings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DiskSettingsAccessLocation: AccessLocation is only used for regional @@ -9972,9 +10053,9 @@ type DiskSettingsAccessLocation struct { NullFields []string `json:"-"` } -func (s *DiskSettingsAccessLocation) MarshalJSON() ([]byte, error) { +func (s DiskSettingsAccessLocation) MarshalJSON() ([]byte, error) { type NoMethod DiskSettingsAccessLocation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DiskSettingsAccessLocationAccessLocationPreference: A structure for @@ -9995,9 +10076,9 @@ type DiskSettingsAccessLocationAccessLocationPreference struct { NullFields []string `json:"-"` } -func (s *DiskSettingsAccessLocationAccessLocationPreference) MarshalJSON() ([]byte, error) { +func (s DiskSettingsAccessLocationAccessLocationPreference) MarshalJSON() ([]byte, error) { type NoMethod DiskSettingsAccessLocationAccessLocationPreference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DiskSettingsResourcePolicyDetails: This is the object for storing the detail @@ -10028,9 +10109,9 @@ type DiskSettingsResourcePolicyDetails struct { NullFields []string `json:"-"` } -func (s *DiskSettingsResourcePolicyDetails) MarshalJSON() ([]byte, error) { +func (s DiskSettingsResourcePolicyDetails) MarshalJSON() ([]byte, error) { type NoMethod DiskSettingsResourcePolicyDetails - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DiskType: Represents a Disk Type resource. Google Compute Engine has two @@ -10092,9 +10173,9 @@ type DiskType struct { NullFields []string `json:"-"` } -func (s *DiskType) MarshalJSON() ([]byte, error) { +func (s DiskType) MarshalJSON() ([]byte, error) { type NoMethod DiskType - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskTypeAggregatedList struct { @@ -10132,9 +10213,9 @@ type DiskTypeAggregatedList struct { NullFields []string `json:"-"` } -func (s *DiskTypeAggregatedList) MarshalJSON() ([]byte, error) { +func (s DiskTypeAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod DiskTypeAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DiskTypeAggregatedListWarning: [Output Only] Informational warning message. @@ -10217,9 +10298,9 @@ type DiskTypeAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *DiskTypeAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s DiskTypeAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod DiskTypeAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskTypeAggregatedListWarningData struct { @@ -10246,9 +10327,9 @@ type DiskTypeAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *DiskTypeAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s DiskTypeAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod DiskTypeAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DiskTypeList: Contains a list of disk types. @@ -10286,9 +10367,9 @@ type DiskTypeList struct { NullFields []string `json:"-"` } -func (s *DiskTypeList) MarshalJSON() ([]byte, error) { +func (s DiskTypeList) MarshalJSON() ([]byte, error) { type NoMethod DiskTypeList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DiskTypeListWarning: [Output Only] Informational warning message. @@ -10371,9 +10452,9 @@ type DiskTypeListWarning struct { NullFields []string `json:"-"` } -func (s *DiskTypeListWarning) MarshalJSON() ([]byte, error) { +func (s DiskTypeListWarning) MarshalJSON() ([]byte, error) { type NoMethod DiskTypeListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskTypeListWarningData struct { @@ -10400,9 +10481,9 @@ type DiskTypeListWarningData struct { NullFields []string `json:"-"` } -func (s *DiskTypeListWarningData) MarshalJSON() ([]byte, error) { +func (s DiskTypeListWarningData) MarshalJSON() ([]byte, error) { type NoMethod DiskTypeListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskTypesScopedList struct { @@ -10424,9 +10505,9 @@ type DiskTypesScopedList struct { NullFields []string `json:"-"` } -func (s *DiskTypesScopedList) MarshalJSON() ([]byte, error) { +func (s DiskTypesScopedList) MarshalJSON() ([]byte, error) { type NoMethod DiskTypesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DiskTypesScopedListWarning: [Output Only] Informational warning which @@ -10510,9 +10591,9 @@ type DiskTypesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *DiskTypesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s DiskTypesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod DiskTypesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskTypesScopedListWarningData struct { @@ -10539,9 +10620,9 @@ type DiskTypesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *DiskTypesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s DiskTypesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod DiskTypesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DisksAddResourcePoliciesRequest struct { @@ -10561,9 +10642,9 @@ type DisksAddResourcePoliciesRequest struct { NullFields []string `json:"-"` } -func (s *DisksAddResourcePoliciesRequest) MarshalJSON() ([]byte, error) { +func (s DisksAddResourcePoliciesRequest) MarshalJSON() ([]byte, error) { type NoMethod DisksAddResourcePoliciesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DisksRemoveResourcePoliciesRequest struct { @@ -10582,9 +10663,9 @@ type DisksRemoveResourcePoliciesRequest struct { NullFields []string `json:"-"` } -func (s *DisksRemoveResourcePoliciesRequest) MarshalJSON() ([]byte, error) { +func (s DisksRemoveResourcePoliciesRequest) MarshalJSON() ([]byte, error) { type NoMethod DisksRemoveResourcePoliciesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DisksResizeRequest struct { @@ -10603,9 +10684,9 @@ type DisksResizeRequest struct { NullFields []string `json:"-"` } -func (s *DisksResizeRequest) MarshalJSON() ([]byte, error) { +func (s DisksResizeRequest) MarshalJSON() ([]byte, error) { type NoMethod DisksResizeRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DisksScopedList struct { @@ -10627,9 +10708,9 @@ type DisksScopedList struct { NullFields []string `json:"-"` } -func (s *DisksScopedList) MarshalJSON() ([]byte, error) { +func (s DisksScopedList) MarshalJSON() ([]byte, error) { type NoMethod DisksScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DisksScopedListWarning: [Output Only] Informational warning which replaces @@ -10713,9 +10794,9 @@ type DisksScopedListWarning struct { NullFields []string `json:"-"` } -func (s *DisksScopedListWarning) MarshalJSON() ([]byte, error) { +func (s DisksScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod DisksScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DisksScopedListWarningData struct { @@ -10742,9 +10823,9 @@ type DisksScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *DisksScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s DisksScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod DisksScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DisksStartAsyncReplicationRequest struct { @@ -10771,9 +10852,9 @@ type DisksStartAsyncReplicationRequest struct { NullFields []string `json:"-"` } -func (s *DisksStartAsyncReplicationRequest) MarshalJSON() ([]byte, error) { +func (s DisksStartAsyncReplicationRequest) MarshalJSON() ([]byte, error) { type NoMethod DisksStartAsyncReplicationRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DisksStopGroupAsyncReplicationResource: A transient resource used in @@ -10801,9 +10882,9 @@ type DisksStopGroupAsyncReplicationResource struct { NullFields []string `json:"-"` } -func (s *DisksStopGroupAsyncReplicationResource) MarshalJSON() ([]byte, error) { +func (s DisksStopGroupAsyncReplicationResource) MarshalJSON() ([]byte, error) { type NoMethod DisksStopGroupAsyncReplicationResource - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DisplayDevice: A set of Display Device options @@ -10823,9 +10904,9 @@ type DisplayDevice struct { NullFields []string `json:"-"` } -func (s *DisplayDevice) MarshalJSON() ([]byte, error) { +func (s DisplayDevice) MarshalJSON() ([]byte, error) { type NoMethod DisplayDevice - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DistributionPolicy struct { @@ -10868,9 +10949,9 @@ type DistributionPolicy struct { NullFields []string `json:"-"` } -func (s *DistributionPolicy) MarshalJSON() ([]byte, error) { +func (s DistributionPolicy) MarshalJSON() ([]byte, error) { type NoMethod DistributionPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DistributionPolicyZoneConfiguration struct { @@ -10890,9 +10971,9 @@ type DistributionPolicyZoneConfiguration struct { NullFields []string `json:"-"` } -func (s *DistributionPolicyZoneConfiguration) MarshalJSON() ([]byte, error) { +func (s DistributionPolicyZoneConfiguration) MarshalJSON() ([]byte, error) { type NoMethod DistributionPolicyZoneConfiguration - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Duration: A Duration represents a fixed-length span of time represented as a @@ -10921,9 +11002,9 @@ type Duration struct { NullFields []string `json:"-"` } -func (s *Duration) MarshalJSON() ([]byte, error) { +func (s Duration) MarshalJSON() ([]byte, error) { type NoMethod Duration - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ErrorInfo: Describes the cause of the error with structured details. Example @@ -10969,9 +11050,9 @@ type ErrorInfo struct { NullFields []string `json:"-"` } -func (s *ErrorInfo) MarshalJSON() ([]byte, error) { +func (s ErrorInfo) MarshalJSON() ([]byte, error) { type NoMethod ErrorInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ExchangedPeeringRoute struct { @@ -11008,9 +11089,9 @@ type ExchangedPeeringRoute struct { NullFields []string `json:"-"` } -func (s *ExchangedPeeringRoute) MarshalJSON() ([]byte, error) { +func (s ExchangedPeeringRoute) MarshalJSON() ([]byte, error) { type NoMethod ExchangedPeeringRoute - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ExchangedPeeringRoutesList struct { @@ -11047,9 +11128,9 @@ type ExchangedPeeringRoutesList struct { NullFields []string `json:"-"` } -func (s *ExchangedPeeringRoutesList) MarshalJSON() ([]byte, error) { +func (s ExchangedPeeringRoutesList) MarshalJSON() ([]byte, error) { type NoMethod ExchangedPeeringRoutesList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ExchangedPeeringRoutesListWarning: [Output Only] Informational warning @@ -11133,9 +11214,9 @@ type ExchangedPeeringRoutesListWarning struct { NullFields []string `json:"-"` } -func (s *ExchangedPeeringRoutesListWarning) MarshalJSON() ([]byte, error) { +func (s ExchangedPeeringRoutesListWarning) MarshalJSON() ([]byte, error) { type NoMethod ExchangedPeeringRoutesListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ExchangedPeeringRoutesListWarningData struct { @@ -11162,9 +11243,9 @@ type ExchangedPeeringRoutesListWarningData struct { NullFields []string `json:"-"` } -func (s *ExchangedPeeringRoutesListWarningData) MarshalJSON() ([]byte, error) { +func (s ExchangedPeeringRoutesListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ExchangedPeeringRoutesListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Expr: Represents a textual expression in the Common Expression Language @@ -11210,9 +11291,9 @@ type Expr struct { NullFields []string `json:"-"` } -func (s *Expr) MarshalJSON() ([]byte, error) { +func (s Expr) MarshalJSON() ([]byte, error) { type NoMethod Expr - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ExternalVpnGateway: Represents an external VPN gateway. External VPN gateway @@ -11305,9 +11386,9 @@ type ExternalVpnGateway struct { NullFields []string `json:"-"` } -func (s *ExternalVpnGateway) MarshalJSON() ([]byte, error) { +func (s ExternalVpnGateway) MarshalJSON() ([]byte, error) { type NoMethod ExternalVpnGateway - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ExternalVpnGatewayInterface: The interface for the external VPN gateway. @@ -11342,9 +11423,9 @@ type ExternalVpnGatewayInterface struct { NullFields []string `json:"-"` } -func (s *ExternalVpnGatewayInterface) MarshalJSON() ([]byte, error) { +func (s ExternalVpnGatewayInterface) MarshalJSON() ([]byte, error) { type NoMethod ExternalVpnGatewayInterface - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ExternalVpnGatewayList: Response to the list request, and contains a list of @@ -11384,9 +11465,9 @@ type ExternalVpnGatewayList struct { NullFields []string `json:"-"` } -func (s *ExternalVpnGatewayList) MarshalJSON() ([]byte, error) { +func (s ExternalVpnGatewayList) MarshalJSON() ([]byte, error) { type NoMethod ExternalVpnGatewayList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ExternalVpnGatewayListWarning: [Output Only] Informational warning message. @@ -11469,9 +11550,9 @@ type ExternalVpnGatewayListWarning struct { NullFields []string `json:"-"` } -func (s *ExternalVpnGatewayListWarning) MarshalJSON() ([]byte, error) { +func (s ExternalVpnGatewayListWarning) MarshalJSON() ([]byte, error) { type NoMethod ExternalVpnGatewayListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ExternalVpnGatewayListWarningData struct { @@ -11498,9 +11579,9 @@ type ExternalVpnGatewayListWarningData struct { NullFields []string `json:"-"` } -func (s *ExternalVpnGatewayListWarningData) MarshalJSON() ([]byte, error) { +func (s ExternalVpnGatewayListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ExternalVpnGatewayListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FileContentBuffer struct { @@ -11526,9 +11607,9 @@ type FileContentBuffer struct { NullFields []string `json:"-"` } -func (s *FileContentBuffer) MarshalJSON() ([]byte, error) { +func (s FileContentBuffer) MarshalJSON() ([]byte, error) { type NoMethod FileContentBuffer - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Firewall: Represents a Firewall Rule resource. Firewall rules allow or deny @@ -11669,9 +11750,9 @@ type Firewall struct { NullFields []string `json:"-"` } -func (s *Firewall) MarshalJSON() ([]byte, error) { +func (s Firewall) MarshalJSON() ([]byte, error) { type NoMethod Firewall - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FirewallAllowed struct { @@ -11699,9 +11780,9 @@ type FirewallAllowed struct { NullFields []string `json:"-"` } -func (s *FirewallAllowed) MarshalJSON() ([]byte, error) { +func (s FirewallAllowed) MarshalJSON() ([]byte, error) { type NoMethod FirewallAllowed - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FirewallDenied struct { @@ -11729,9 +11810,9 @@ type FirewallDenied struct { NullFields []string `json:"-"` } -func (s *FirewallDenied) MarshalJSON() ([]byte, error) { +func (s FirewallDenied) MarshalJSON() ([]byte, error) { type NoMethod FirewallDenied - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FirewallList: Contains a list of firewalls. @@ -11769,9 +11850,9 @@ type FirewallList struct { NullFields []string `json:"-"` } -func (s *FirewallList) MarshalJSON() ([]byte, error) { +func (s FirewallList) MarshalJSON() ([]byte, error) { type NoMethod FirewallList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FirewallListWarning: [Output Only] Informational warning message. @@ -11854,9 +11935,9 @@ type FirewallListWarning struct { NullFields []string `json:"-"` } -func (s *FirewallListWarning) MarshalJSON() ([]byte, error) { +func (s FirewallListWarning) MarshalJSON() ([]byte, error) { type NoMethod FirewallListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FirewallListWarningData struct { @@ -11883,9 +11964,9 @@ type FirewallListWarningData struct { NullFields []string `json:"-"` } -func (s *FirewallListWarningData) MarshalJSON() ([]byte, error) { +func (s FirewallListWarningData) MarshalJSON() ([]byte, error) { type NoMethod FirewallListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FirewallLogConfig: The available logging options for a firewall rule. @@ -11914,9 +11995,9 @@ type FirewallLogConfig struct { NullFields []string `json:"-"` } -func (s *FirewallLogConfig) MarshalJSON() ([]byte, error) { +func (s FirewallLogConfig) MarshalJSON() ([]byte, error) { type NoMethod FirewallLogConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FirewallPoliciesListAssociationsResponse struct { @@ -11942,9 +12023,9 @@ type FirewallPoliciesListAssociationsResponse struct { NullFields []string `json:"-"` } -func (s *FirewallPoliciesListAssociationsResponse) MarshalJSON() ([]byte, error) { +func (s FirewallPoliciesListAssociationsResponse) MarshalJSON() ([]byte, error) { type NoMethod FirewallPoliciesListAssociationsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FirewallPolicy: Represents a Firewall Policy resource. @@ -12050,9 +12131,9 @@ type FirewallPolicy struct { NullFields []string `json:"-"` } -func (s *FirewallPolicy) MarshalJSON() ([]byte, error) { +func (s FirewallPolicy) MarshalJSON() ([]byte, error) { type NoMethod FirewallPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FirewallPolicyAssociation struct { @@ -12091,9 +12172,9 @@ type FirewallPolicyAssociation struct { NullFields []string `json:"-"` } -func (s *FirewallPolicyAssociation) MarshalJSON() ([]byte, error) { +func (s FirewallPolicyAssociation) MarshalJSON() ([]byte, error) { type NoMethod FirewallPolicyAssociation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FirewallPolicyList struct { @@ -12128,9 +12209,9 @@ type FirewallPolicyList struct { NullFields []string `json:"-"` } -func (s *FirewallPolicyList) MarshalJSON() ([]byte, error) { +func (s FirewallPolicyList) MarshalJSON() ([]byte, error) { type NoMethod FirewallPolicyList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FirewallPolicyListWarning: [Output Only] Informational warning message. @@ -12213,9 +12294,9 @@ type FirewallPolicyListWarning struct { NullFields []string `json:"-"` } -func (s *FirewallPolicyListWarning) MarshalJSON() ([]byte, error) { +func (s FirewallPolicyListWarning) MarshalJSON() ([]byte, error) { type NoMethod FirewallPolicyListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FirewallPolicyListWarningData struct { @@ -12242,9 +12323,9 @@ type FirewallPolicyListWarningData struct { NullFields []string `json:"-"` } -func (s *FirewallPolicyListWarningData) MarshalJSON() ([]byte, error) { +func (s FirewallPolicyListWarningData) MarshalJSON() ([]byte, error) { type NoMethod FirewallPolicyListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FirewallPolicyRule: Represents a rule that describes one or more match @@ -12331,9 +12412,9 @@ type FirewallPolicyRule struct { NullFields []string `json:"-"` } -func (s *FirewallPolicyRule) MarshalJSON() ([]byte, error) { +func (s FirewallPolicyRule) MarshalJSON() ([]byte, error) { type NoMethod FirewallPolicyRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FirewallPolicyRuleMatcher: Represents a match condition that incoming @@ -12415,9 +12496,9 @@ type FirewallPolicyRuleMatcher struct { NullFields []string `json:"-"` } -func (s *FirewallPolicyRuleMatcher) MarshalJSON() ([]byte, error) { +func (s FirewallPolicyRuleMatcher) MarshalJSON() ([]byte, error) { type NoMethod FirewallPolicyRuleMatcher - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FirewallPolicyRuleMatcherLayer4Config struct { @@ -12445,9 +12526,9 @@ type FirewallPolicyRuleMatcherLayer4Config struct { NullFields []string `json:"-"` } -func (s *FirewallPolicyRuleMatcherLayer4Config) MarshalJSON() ([]byte, error) { +func (s FirewallPolicyRuleMatcherLayer4Config) MarshalJSON() ([]byte, error) { type NoMethod FirewallPolicyRuleMatcherLayer4Config - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FirewallPolicyRuleSecureTag struct { @@ -12474,9 +12555,9 @@ type FirewallPolicyRuleSecureTag struct { NullFields []string `json:"-"` } -func (s *FirewallPolicyRuleSecureTag) MarshalJSON() ([]byte, error) { +func (s FirewallPolicyRuleSecureTag) MarshalJSON() ([]byte, error) { type NoMethod FirewallPolicyRuleSecureTag - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FixedOrPercent: Encapsulates numeric value that can be either absolute or @@ -12508,9 +12589,9 @@ type FixedOrPercent struct { NullFields []string `json:"-"` } -func (s *FixedOrPercent) MarshalJSON() ([]byte, error) { +func (s FixedOrPercent) MarshalJSON() ([]byte, error) { type NoMethod FixedOrPercent - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ForwardingRule: Represents a Forwarding Rule resource. Forwarding rule @@ -12864,9 +12945,9 @@ type ForwardingRule struct { NullFields []string `json:"-"` } -func (s *ForwardingRule) MarshalJSON() ([]byte, error) { +func (s ForwardingRule) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *ForwardingRule) UnmarshalJSON(data []byte) error { @@ -12919,9 +13000,9 @@ type ForwardingRuleAggregatedList struct { NullFields []string `json:"-"` } -func (s *ForwardingRuleAggregatedList) MarshalJSON() ([]byte, error) { +func (s ForwardingRuleAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRuleAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ForwardingRuleAggregatedListWarning: [Output Only] Informational warning @@ -13005,9 +13086,9 @@ type ForwardingRuleAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *ForwardingRuleAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s ForwardingRuleAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRuleAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ForwardingRuleAggregatedListWarningData struct { @@ -13034,9 +13115,9 @@ type ForwardingRuleAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *ForwardingRuleAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s ForwardingRuleAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRuleAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ForwardingRuleList: Contains a list of ForwardingRule resources. @@ -13073,9 +13154,9 @@ type ForwardingRuleList struct { NullFields []string `json:"-"` } -func (s *ForwardingRuleList) MarshalJSON() ([]byte, error) { +func (s ForwardingRuleList) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRuleList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ForwardingRuleListWarning: [Output Only] Informational warning message. @@ -13158,9 +13239,9 @@ type ForwardingRuleListWarning struct { NullFields []string `json:"-"` } -func (s *ForwardingRuleListWarning) MarshalJSON() ([]byte, error) { +func (s ForwardingRuleListWarning) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRuleListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ForwardingRuleListWarningData struct { @@ -13187,9 +13268,9 @@ type ForwardingRuleListWarningData struct { NullFields []string `json:"-"` } -func (s *ForwardingRuleListWarningData) MarshalJSON() ([]byte, error) { +func (s ForwardingRuleListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRuleListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ForwardingRuleReference struct { @@ -13207,9 +13288,9 @@ type ForwardingRuleReference struct { NullFields []string `json:"-"` } -func (s *ForwardingRuleReference) MarshalJSON() ([]byte, error) { +func (s ForwardingRuleReference) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRuleReference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ForwardingRuleServiceDirectoryRegistration: Describes the auto-registration @@ -13240,9 +13321,9 @@ type ForwardingRuleServiceDirectoryRegistration struct { NullFields []string `json:"-"` } -func (s *ForwardingRuleServiceDirectoryRegistration) MarshalJSON() ([]byte, error) { +func (s ForwardingRuleServiceDirectoryRegistration) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRuleServiceDirectoryRegistration - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ForwardingRulesScopedList struct { @@ -13264,9 +13345,9 @@ type ForwardingRulesScopedList struct { NullFields []string `json:"-"` } -func (s *ForwardingRulesScopedList) MarshalJSON() ([]byte, error) { +func (s ForwardingRulesScopedList) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRulesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ForwardingRulesScopedListWarning: Informational warning which replaces the @@ -13350,9 +13431,9 @@ type ForwardingRulesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *ForwardingRulesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s ForwardingRulesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRulesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ForwardingRulesScopedListWarningData struct { @@ -13379,9 +13460,9 @@ type ForwardingRulesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *ForwardingRulesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s ForwardingRulesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRulesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FutureReservation struct { @@ -13476,9 +13557,9 @@ type FutureReservation struct { NullFields []string `json:"-"` } -func (s *FutureReservation) MarshalJSON() ([]byte, error) { +func (s FutureReservation) MarshalJSON() ([]byte, error) { type NoMethod FutureReservation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FutureReservationSpecificSKUProperties struct { @@ -13503,9 +13584,9 @@ type FutureReservationSpecificSKUProperties struct { NullFields []string `json:"-"` } -func (s *FutureReservationSpecificSKUProperties) MarshalJSON() ([]byte, error) { +func (s FutureReservationSpecificSKUProperties) MarshalJSON() ([]byte, error) { type NoMethod FutureReservationSpecificSKUProperties - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FutureReservationStatus: [Output only] Represents status related to the @@ -13584,9 +13665,9 @@ type FutureReservationStatus struct { NullFields []string `json:"-"` } -func (s *FutureReservationStatus) MarshalJSON() ([]byte, error) { +func (s FutureReservationStatus) MarshalJSON() ([]byte, error) { type NoMethod FutureReservationStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FutureReservationStatusLastKnownGoodState: The state that the future @@ -13644,9 +13725,9 @@ type FutureReservationStatusLastKnownGoodState struct { NullFields []string `json:"-"` } -func (s *FutureReservationStatusLastKnownGoodState) MarshalJSON() ([]byte, error) { +func (s FutureReservationStatusLastKnownGoodState) MarshalJSON() ([]byte, error) { type NoMethod FutureReservationStatusLastKnownGoodState - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FutureReservationStatusLastKnownGoodStateFutureReservationSpecs: The @@ -13674,9 +13755,9 @@ type FutureReservationStatusLastKnownGoodStateFutureReservationSpecs struct { NullFields []string `json:"-"` } -func (s *FutureReservationStatusLastKnownGoodStateFutureReservationSpecs) MarshalJSON() ([]byte, error) { +func (s FutureReservationStatusLastKnownGoodStateFutureReservationSpecs) MarshalJSON() ([]byte, error) { type NoMethod FutureReservationStatusLastKnownGoodStateFutureReservationSpecs - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FutureReservationStatusSpecificSKUProperties: Properties to be set for the @@ -13698,9 +13779,9 @@ type FutureReservationStatusSpecificSKUProperties struct { NullFields []string `json:"-"` } -func (s *FutureReservationStatusSpecificSKUProperties) MarshalJSON() ([]byte, error) { +func (s FutureReservationStatusSpecificSKUProperties) MarshalJSON() ([]byte, error) { type NoMethod FutureReservationStatusSpecificSKUProperties - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FutureReservationTimeWindow struct { @@ -13722,9 +13803,9 @@ type FutureReservationTimeWindow struct { NullFields []string `json:"-"` } -func (s *FutureReservationTimeWindow) MarshalJSON() ([]byte, error) { +func (s FutureReservationTimeWindow) MarshalJSON() ([]byte, error) { type NoMethod FutureReservationTimeWindow - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FutureReservationsAggregatedListResponse: Contains a list of future @@ -13767,9 +13848,9 @@ type FutureReservationsAggregatedListResponse struct { NullFields []string `json:"-"` } -func (s *FutureReservationsAggregatedListResponse) MarshalJSON() ([]byte, error) { +func (s FutureReservationsAggregatedListResponse) MarshalJSON() ([]byte, error) { type NoMethod FutureReservationsAggregatedListResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FutureReservationsAggregatedListResponseWarning: [Output Only] Informational @@ -13853,9 +13934,9 @@ type FutureReservationsAggregatedListResponseWarning struct { NullFields []string `json:"-"` } -func (s *FutureReservationsAggregatedListResponseWarning) MarshalJSON() ([]byte, error) { +func (s FutureReservationsAggregatedListResponseWarning) MarshalJSON() ([]byte, error) { type NoMethod FutureReservationsAggregatedListResponseWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FutureReservationsAggregatedListResponseWarningData struct { @@ -13882,9 +13963,9 @@ type FutureReservationsAggregatedListResponseWarningData struct { NullFields []string `json:"-"` } -func (s *FutureReservationsAggregatedListResponseWarningData) MarshalJSON() ([]byte, error) { +func (s FutureReservationsAggregatedListResponseWarningData) MarshalJSON() ([]byte, error) { type NoMethod FutureReservationsAggregatedListResponseWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FutureReservationsListResponse struct { @@ -13925,9 +14006,9 @@ type FutureReservationsListResponse struct { NullFields []string `json:"-"` } -func (s *FutureReservationsListResponse) MarshalJSON() ([]byte, error) { +func (s FutureReservationsListResponse) MarshalJSON() ([]byte, error) { type NoMethod FutureReservationsListResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FutureReservationsListResponseWarning: [Output Only] Informational warning @@ -14011,9 +14092,9 @@ type FutureReservationsListResponseWarning struct { NullFields []string `json:"-"` } -func (s *FutureReservationsListResponseWarning) MarshalJSON() ([]byte, error) { +func (s FutureReservationsListResponseWarning) MarshalJSON() ([]byte, error) { type NoMethod FutureReservationsListResponseWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FutureReservationsListResponseWarningData struct { @@ -14040,9 +14121,9 @@ type FutureReservationsListResponseWarningData struct { NullFields []string `json:"-"` } -func (s *FutureReservationsListResponseWarningData) MarshalJSON() ([]byte, error) { +func (s FutureReservationsListResponseWarningData) MarshalJSON() ([]byte, error) { type NoMethod FutureReservationsListResponseWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FutureReservationsScopedList struct { @@ -14064,9 +14145,9 @@ type FutureReservationsScopedList struct { NullFields []string `json:"-"` } -func (s *FutureReservationsScopedList) MarshalJSON() ([]byte, error) { +func (s FutureReservationsScopedList) MarshalJSON() ([]byte, error) { type NoMethod FutureReservationsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FutureReservationsScopedListWarning: Informational warning which replaces @@ -14150,9 +14231,9 @@ type FutureReservationsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *FutureReservationsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s FutureReservationsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod FutureReservationsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FutureReservationsScopedListWarningData struct { @@ -14179,9 +14260,9 @@ type FutureReservationsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *FutureReservationsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s FutureReservationsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod FutureReservationsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type GRPCHealthCheck struct { @@ -14240,9 +14321,9 @@ type GRPCHealthCheck struct { NullFields []string `json:"-"` } -func (s *GRPCHealthCheck) MarshalJSON() ([]byte, error) { +func (s GRPCHealthCheck) MarshalJSON() ([]byte, error) { type NoMethod GRPCHealthCheck - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type GRPCTLSHealthCheck struct { @@ -14299,9 +14380,9 @@ type GRPCTLSHealthCheck struct { NullFields []string `json:"-"` } -func (s *GRPCTLSHealthCheck) MarshalJSON() ([]byte, error) { +func (s GRPCTLSHealthCheck) MarshalJSON() ([]byte, error) { type NoMethod GRPCTLSHealthCheck - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type GetOwnerInstanceResponse struct { @@ -14323,9 +14404,9 @@ type GetOwnerInstanceResponse struct { NullFields []string `json:"-"` } -func (s *GetOwnerInstanceResponse) MarshalJSON() ([]byte, error) { +func (s GetOwnerInstanceResponse) MarshalJSON() ([]byte, error) { type NoMethod GetOwnerInstanceResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type GlobalAddressesMoveRequest struct { @@ -14352,9 +14433,9 @@ type GlobalAddressesMoveRequest struct { NullFields []string `json:"-"` } -func (s *GlobalAddressesMoveRequest) MarshalJSON() ([]byte, error) { +func (s GlobalAddressesMoveRequest) MarshalJSON() ([]byte, error) { type NoMethod GlobalAddressesMoveRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type GlobalNetworkEndpointGroupsAttachEndpointsRequest struct { @@ -14373,9 +14454,9 @@ type GlobalNetworkEndpointGroupsAttachEndpointsRequest struct { NullFields []string `json:"-"` } -func (s *GlobalNetworkEndpointGroupsAttachEndpointsRequest) MarshalJSON() ([]byte, error) { +func (s GlobalNetworkEndpointGroupsAttachEndpointsRequest) MarshalJSON() ([]byte, error) { type NoMethod GlobalNetworkEndpointGroupsAttachEndpointsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type GlobalNetworkEndpointGroupsDetachEndpointsRequest struct { @@ -14394,9 +14475,9 @@ type GlobalNetworkEndpointGroupsDetachEndpointsRequest struct { NullFields []string `json:"-"` } -func (s *GlobalNetworkEndpointGroupsDetachEndpointsRequest) MarshalJSON() ([]byte, error) { +func (s GlobalNetworkEndpointGroupsDetachEndpointsRequest) MarshalJSON() ([]byte, error) { type NoMethod GlobalNetworkEndpointGroupsDetachEndpointsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type GlobalOrganizationSetPolicyRequest struct { @@ -14424,9 +14505,9 @@ type GlobalOrganizationSetPolicyRequest struct { NullFields []string `json:"-"` } -func (s *GlobalOrganizationSetPolicyRequest) MarshalJSON() ([]byte, error) { +func (s GlobalOrganizationSetPolicyRequest) MarshalJSON() ([]byte, error) { type NoMethod GlobalOrganizationSetPolicyRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type GlobalSetLabelsRequest struct { @@ -14455,9 +14536,9 @@ type GlobalSetLabelsRequest struct { NullFields []string `json:"-"` } -func (s *GlobalSetLabelsRequest) MarshalJSON() ([]byte, error) { +func (s GlobalSetLabelsRequest) MarshalJSON() ([]byte, error) { type NoMethod GlobalSetLabelsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type GlobalSetPolicyRequest struct { @@ -14485,9 +14566,9 @@ type GlobalSetPolicyRequest struct { NullFields []string `json:"-"` } -func (s *GlobalSetPolicyRequest) MarshalJSON() ([]byte, error) { +func (s GlobalSetPolicyRequest) MarshalJSON() ([]byte, error) { type NoMethod GlobalSetPolicyRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GrpcServiceConfig: [Deprecated] gRPC config to access the SDS server. gRPC @@ -14512,9 +14593,9 @@ type GrpcServiceConfig struct { NullFields []string `json:"-"` } -func (s *GrpcServiceConfig) MarshalJSON() ([]byte, error) { +func (s GrpcServiceConfig) MarshalJSON() ([]byte, error) { type NoMethod GrpcServiceConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GuestAttributes: A guest attributes entry. @@ -14549,9 +14630,9 @@ type GuestAttributes struct { NullFields []string `json:"-"` } -func (s *GuestAttributes) MarshalJSON() ([]byte, error) { +func (s GuestAttributes) MarshalJSON() ([]byte, error) { type NoMethod GuestAttributes - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GuestAttributesEntry: A guest attributes namespace/key/value entry. @@ -14575,9 +14656,9 @@ type GuestAttributesEntry struct { NullFields []string `json:"-"` } -func (s *GuestAttributesEntry) MarshalJSON() ([]byte, error) { +func (s GuestAttributesEntry) MarshalJSON() ([]byte, error) { type NoMethod GuestAttributesEntry - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GuestAttributesValue: Array of guest attribute namespace/key/value tuples. @@ -14596,9 +14677,9 @@ type GuestAttributesValue struct { NullFields []string `json:"-"` } -func (s *GuestAttributesValue) MarshalJSON() ([]byte, error) { +func (s GuestAttributesValue) MarshalJSON() ([]byte, error) { type NoMethod GuestAttributesValue - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GuestOsFeature: Guest OS features. @@ -14639,9 +14720,9 @@ type GuestOsFeature struct { NullFields []string `json:"-"` } -func (s *GuestOsFeature) MarshalJSON() ([]byte, error) { +func (s GuestOsFeature) MarshalJSON() ([]byte, error) { type NoMethod GuestOsFeature - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HTTP2HealthCheck struct { @@ -14728,9 +14809,9 @@ type HTTP2HealthCheck struct { NullFields []string `json:"-"` } -func (s *HTTP2HealthCheck) MarshalJSON() ([]byte, error) { +func (s HTTP2HealthCheck) MarshalJSON() ([]byte, error) { type NoMethod HTTP2HealthCheck - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HTTPHealthCheck struct { @@ -14818,9 +14899,9 @@ type HTTPHealthCheck struct { NullFields []string `json:"-"` } -func (s *HTTPHealthCheck) MarshalJSON() ([]byte, error) { +func (s HTTPHealthCheck) MarshalJSON() ([]byte, error) { type NoMethod HTTPHealthCheck - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HTTPSHealthCheck struct { @@ -14907,9 +14988,9 @@ type HTTPSHealthCheck struct { NullFields []string `json:"-"` } -func (s *HTTPSHealthCheck) MarshalJSON() ([]byte, error) { +func (s HTTPSHealthCheck) MarshalJSON() ([]byte, error) { type NoMethod HTTPSHealthCheck - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HealthCheck: Represents a health check resource. Google Compute Engine has @@ -15017,9 +15098,9 @@ type HealthCheck struct { NullFields []string `json:"-"` } -func (s *HealthCheck) MarshalJSON() ([]byte, error) { +func (s HealthCheck) MarshalJSON() ([]byte, error) { type NoMethod HealthCheck - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HealthCheckList: Contains a list of HealthCheck resources. @@ -15056,9 +15137,9 @@ type HealthCheckList struct { NullFields []string `json:"-"` } -func (s *HealthCheckList) MarshalJSON() ([]byte, error) { +func (s HealthCheckList) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HealthCheckListWarning: [Output Only] Informational warning message. @@ -15141,9 +15222,9 @@ type HealthCheckListWarning struct { NullFields []string `json:"-"` } -func (s *HealthCheckListWarning) MarshalJSON() ([]byte, error) { +func (s HealthCheckListWarning) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HealthCheckListWarningData struct { @@ -15170,9 +15251,9 @@ type HealthCheckListWarningData struct { NullFields []string `json:"-"` } -func (s *HealthCheckListWarningData) MarshalJSON() ([]byte, error) { +func (s HealthCheckListWarningData) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HealthCheckLogConfig: Configuration of logging on a health check. If logging @@ -15194,9 +15275,9 @@ type HealthCheckLogConfig struct { NullFields []string `json:"-"` } -func (s *HealthCheckLogConfig) MarshalJSON() ([]byte, error) { +func (s HealthCheckLogConfig) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckLogConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HealthCheckReference: A full or valid partial URL to a health check. For @@ -15219,9 +15300,9 @@ type HealthCheckReference struct { NullFields []string `json:"-"` } -func (s *HealthCheckReference) MarshalJSON() ([]byte, error) { +func (s HealthCheckReference) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckReference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HealthCheckService: Represents a Health-Check as a Service resource. @@ -15336,9 +15417,9 @@ type HealthCheckService struct { NullFields []string `json:"-"` } -func (s *HealthCheckService) MarshalJSON() ([]byte, error) { +func (s HealthCheckService) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckService - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HealthCheckServiceAggregatedList: Contains a list of @@ -15378,9 +15459,9 @@ type HealthCheckServiceAggregatedList struct { NullFields []string `json:"-"` } -func (s *HealthCheckServiceAggregatedList) MarshalJSON() ([]byte, error) { +func (s HealthCheckServiceAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckServiceAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HealthCheckServiceAggregatedListWarning: [Output Only] Informational warning @@ -15464,9 +15545,9 @@ type HealthCheckServiceAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *HealthCheckServiceAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s HealthCheckServiceAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckServiceAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HealthCheckServiceAggregatedListWarningData struct { @@ -15493,9 +15574,9 @@ type HealthCheckServiceAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *HealthCheckServiceAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s HealthCheckServiceAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckServiceAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HealthCheckServiceReference: A full or valid partial URL to a health check @@ -15519,9 +15600,9 @@ type HealthCheckServiceReference struct { NullFields []string `json:"-"` } -func (s *HealthCheckServiceReference) MarshalJSON() ([]byte, error) { +func (s HealthCheckServiceReference) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckServiceReference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HealthCheckServicesList struct { @@ -15558,9 +15639,9 @@ type HealthCheckServicesList struct { NullFields []string `json:"-"` } -func (s *HealthCheckServicesList) MarshalJSON() ([]byte, error) { +func (s HealthCheckServicesList) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckServicesList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HealthCheckServicesListWarning: [Output Only] Informational warning message. @@ -15643,9 +15724,9 @@ type HealthCheckServicesListWarning struct { NullFields []string `json:"-"` } -func (s *HealthCheckServicesListWarning) MarshalJSON() ([]byte, error) { +func (s HealthCheckServicesListWarning) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckServicesListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HealthCheckServicesListWarningData struct { @@ -15672,9 +15753,9 @@ type HealthCheckServicesListWarningData struct { NullFields []string `json:"-"` } -func (s *HealthCheckServicesListWarningData) MarshalJSON() ([]byte, error) { +func (s HealthCheckServicesListWarningData) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckServicesListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HealthCheckServicesScopedList struct { @@ -15696,9 +15777,9 @@ type HealthCheckServicesScopedList struct { NullFields []string `json:"-"` } -func (s *HealthCheckServicesScopedList) MarshalJSON() ([]byte, error) { +func (s HealthCheckServicesScopedList) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckServicesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HealthCheckServicesScopedListWarning: Informational warning which replaces @@ -15782,9 +15863,9 @@ type HealthCheckServicesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *HealthCheckServicesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s HealthCheckServicesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckServicesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HealthCheckServicesScopedListWarningData struct { @@ -15811,9 +15892,9 @@ type HealthCheckServicesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *HealthCheckServicesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s HealthCheckServicesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckServicesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HealthChecksAggregatedList struct { @@ -15851,9 +15932,9 @@ type HealthChecksAggregatedList struct { NullFields []string `json:"-"` } -func (s *HealthChecksAggregatedList) MarshalJSON() ([]byte, error) { +func (s HealthChecksAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod HealthChecksAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HealthChecksAggregatedListWarning: [Output Only] Informational warning @@ -15937,9 +16018,9 @@ type HealthChecksAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *HealthChecksAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s HealthChecksAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod HealthChecksAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HealthChecksAggregatedListWarningData struct { @@ -15966,9 +16047,9 @@ type HealthChecksAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *HealthChecksAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s HealthChecksAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod HealthChecksAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HealthChecksScopedList struct { @@ -15990,9 +16071,9 @@ type HealthChecksScopedList struct { NullFields []string `json:"-"` } -func (s *HealthChecksScopedList) MarshalJSON() ([]byte, error) { +func (s HealthChecksScopedList) MarshalJSON() ([]byte, error) { type NoMethod HealthChecksScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HealthChecksScopedListWarning: Informational warning which replaces the list @@ -16076,9 +16157,9 @@ type HealthChecksScopedListWarning struct { NullFields []string `json:"-"` } -func (s *HealthChecksScopedListWarning) MarshalJSON() ([]byte, error) { +func (s HealthChecksScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod HealthChecksScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HealthChecksScopedListWarningData struct { @@ -16105,9 +16186,9 @@ type HealthChecksScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *HealthChecksScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s HealthChecksScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod HealthChecksScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HealthStatus struct { @@ -16172,9 +16253,9 @@ type HealthStatus struct { NullFields []string `json:"-"` } -func (s *HealthStatus) MarshalJSON() ([]byte, error) { +func (s HealthStatus) MarshalJSON() ([]byte, error) { type NoMethod HealthStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HealthStatusForNetworkEndpoint struct { @@ -16221,9 +16302,9 @@ type HealthStatusForNetworkEndpoint struct { NullFields []string `json:"-"` } -func (s *HealthStatusForNetworkEndpoint) MarshalJSON() ([]byte, error) { +func (s HealthStatusForNetworkEndpoint) MarshalJSON() ([]byte, error) { type NoMethod HealthStatusForNetworkEndpoint - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Help: Provides links to documentation or for performing an out of band @@ -16248,9 +16329,9 @@ type Help struct { NullFields []string `json:"-"` } -func (s *Help) MarshalJSON() ([]byte, error) { +func (s Help) MarshalJSON() ([]byte, error) { type NoMethod Help - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HelpLink: Describes a URL link. @@ -16272,9 +16353,9 @@ type HelpLink struct { NullFields []string `json:"-"` } -func (s *HelpLink) MarshalJSON() ([]byte, error) { +func (s HelpLink) MarshalJSON() ([]byte, error) { type NoMethod HelpLink - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HostRule: UrlMaps A host-matching rule for a URL. If matched, will use the @@ -16306,9 +16387,9 @@ type HostRule struct { NullFields []string `json:"-"` } -func (s *HostRule) MarshalJSON() ([]byte, error) { +func (s HostRule) MarshalJSON() ([]byte, error) { type NoMethod HostRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpFaultAbort: Specification for how requests are aborted as part of fault @@ -16337,9 +16418,9 @@ type HttpFaultAbort struct { NullFields []string `json:"-"` } -func (s *HttpFaultAbort) MarshalJSON() ([]byte, error) { +func (s HttpFaultAbort) MarshalJSON() ([]byte, error) { type NoMethod HttpFaultAbort - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *HttpFaultAbort) UnmarshalJSON(data []byte) error { @@ -16378,9 +16459,9 @@ type HttpFaultDelay struct { NullFields []string `json:"-"` } -func (s *HttpFaultDelay) MarshalJSON() ([]byte, error) { +func (s HttpFaultDelay) MarshalJSON() ([]byte, error) { type NoMethod HttpFaultDelay - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *HttpFaultDelay) UnmarshalJSON(data []byte) error { @@ -16423,9 +16504,9 @@ type HttpFaultInjection struct { NullFields []string `json:"-"` } -func (s *HttpFaultInjection) MarshalJSON() ([]byte, error) { +func (s HttpFaultInjection) MarshalJSON() ([]byte, error) { type NoMethod HttpFaultInjection - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpFilterConfig: HttpFilterConfiguration supplies additional contextual @@ -16457,9 +16538,9 @@ type HttpFilterConfig struct { NullFields []string `json:"-"` } -func (s *HttpFilterConfig) MarshalJSON() ([]byte, error) { +func (s HttpFilterConfig) MarshalJSON() ([]byte, error) { type NoMethod HttpFilterConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpHeaderAction: The request and response header transformations that take @@ -16491,9 +16572,9 @@ type HttpHeaderAction struct { NullFields []string `json:"-"` } -func (s *HttpHeaderAction) MarshalJSON() ([]byte, error) { +func (s HttpHeaderAction) MarshalJSON() ([]byte, error) { type NoMethod HttpHeaderAction - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpHeaderMatch: matchRule criteria for request header matches. @@ -16562,9 +16643,9 @@ type HttpHeaderMatch struct { NullFields []string `json:"-"` } -func (s *HttpHeaderMatch) MarshalJSON() ([]byte, error) { +func (s HttpHeaderMatch) MarshalJSON() ([]byte, error) { type NoMethod HttpHeaderMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpHeaderOption: Specification determining how headers are added to @@ -16591,9 +16672,9 @@ type HttpHeaderOption struct { NullFields []string `json:"-"` } -func (s *HttpHeaderOption) MarshalJSON() ([]byte, error) { +func (s HttpHeaderOption) MarshalJSON() ([]byte, error) { type NoMethod HttpHeaderOption - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpHealthCheck: Represents a legacy HTTP Health Check resource. Legacy HTTP @@ -16667,9 +16748,9 @@ type HttpHealthCheck struct { NullFields []string `json:"-"` } -func (s *HttpHealthCheck) MarshalJSON() ([]byte, error) { +func (s HttpHealthCheck) MarshalJSON() ([]byte, error) { type NoMethod HttpHealthCheck - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpHealthCheckList: Contains a list of HttpHealthCheck resources. @@ -16706,9 +16787,9 @@ type HttpHealthCheckList struct { NullFields []string `json:"-"` } -func (s *HttpHealthCheckList) MarshalJSON() ([]byte, error) { +func (s HttpHealthCheckList) MarshalJSON() ([]byte, error) { type NoMethod HttpHealthCheckList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpHealthCheckListWarning: [Output Only] Informational warning message. @@ -16791,9 +16872,9 @@ type HttpHealthCheckListWarning struct { NullFields []string `json:"-"` } -func (s *HttpHealthCheckListWarning) MarshalJSON() ([]byte, error) { +func (s HttpHealthCheckListWarning) MarshalJSON() ([]byte, error) { type NoMethod HttpHealthCheckListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HttpHealthCheckListWarningData struct { @@ -16820,9 +16901,9 @@ type HttpHealthCheckListWarningData struct { NullFields []string `json:"-"` } -func (s *HttpHealthCheckListWarningData) MarshalJSON() ([]byte, error) { +func (s HttpHealthCheckListWarningData) MarshalJSON() ([]byte, error) { type NoMethod HttpHealthCheckListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpQueryParameterMatch: HttpRouteRuleMatch criteria for a request's query @@ -16859,9 +16940,9 @@ type HttpQueryParameterMatch struct { NullFields []string `json:"-"` } -func (s *HttpQueryParameterMatch) MarshalJSON() ([]byte, error) { +func (s HttpQueryParameterMatch) MarshalJSON() ([]byte, error) { type NoMethod HttpQueryParameterMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRedirectAction: Specifies settings for an HTTP redirect. @@ -16922,9 +17003,9 @@ type HttpRedirectAction struct { NullFields []string `json:"-"` } -func (s *HttpRedirectAction) MarshalJSON() ([]byte, error) { +func (s HttpRedirectAction) MarshalJSON() ([]byte, error) { type NoMethod HttpRedirectAction - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRetryPolicy: The retry policy associates with HttpRouteRule @@ -16976,9 +17057,9 @@ type HttpRetryPolicy struct { NullFields []string `json:"-"` } -func (s *HttpRetryPolicy) MarshalJSON() ([]byte, error) { +func (s HttpRetryPolicy) MarshalJSON() ([]byte, error) { type NoMethod HttpRetryPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HttpRouteAction struct { @@ -17056,9 +17137,9 @@ type HttpRouteAction struct { NullFields []string `json:"-"` } -func (s *HttpRouteAction) MarshalJSON() ([]byte, error) { +func (s HttpRouteAction) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteAction - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteRule: The HttpRouteRule setting specifies how to match an HTTP @@ -17173,9 +17254,9 @@ type HttpRouteRule struct { NullFields []string `json:"-"` } -func (s *HttpRouteRule) MarshalJSON() ([]byte, error) { +func (s HttpRouteRule) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteRuleMatch: HttpRouteRuleMatch specifies a set of criteria for @@ -17249,9 +17330,9 @@ type HttpRouteRuleMatch struct { NullFields []string `json:"-"` } -func (s *HttpRouteRuleMatch) MarshalJSON() ([]byte, error) { +func (s HttpRouteRuleMatch) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteRuleMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpsHealthCheck: Represents a legacy HTTPS Health Check resource. Legacy @@ -17324,9 +17405,9 @@ type HttpsHealthCheck struct { NullFields []string `json:"-"` } -func (s *HttpsHealthCheck) MarshalJSON() ([]byte, error) { +func (s HttpsHealthCheck) MarshalJSON() ([]byte, error) { type NoMethod HttpsHealthCheck - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpsHealthCheckList: Contains a list of HttpsHealthCheck resources. @@ -17363,9 +17444,9 @@ type HttpsHealthCheckList struct { NullFields []string `json:"-"` } -func (s *HttpsHealthCheckList) MarshalJSON() ([]byte, error) { +func (s HttpsHealthCheckList) MarshalJSON() ([]byte, error) { type NoMethod HttpsHealthCheckList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpsHealthCheckListWarning: [Output Only] Informational warning message. @@ -17448,9 +17529,9 @@ type HttpsHealthCheckListWarning struct { NullFields []string `json:"-"` } -func (s *HttpsHealthCheckListWarning) MarshalJSON() ([]byte, error) { +func (s HttpsHealthCheckListWarning) MarshalJSON() ([]byte, error) { type NoMethod HttpsHealthCheckListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HttpsHealthCheckListWarningData struct { @@ -17477,9 +17558,9 @@ type HttpsHealthCheckListWarningData struct { NullFields []string `json:"-"` } -func (s *HttpsHealthCheckListWarningData) MarshalJSON() ([]byte, error) { +func (s HttpsHealthCheckListWarningData) MarshalJSON() ([]byte, error) { type NoMethod HttpsHealthCheckListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Image: Represents an Image resource. You can use images to create boot disks @@ -17688,9 +17769,9 @@ type Image struct { NullFields []string `json:"-"` } -func (s *Image) MarshalJSON() ([]byte, error) { +func (s Image) MarshalJSON() ([]byte, error) { type NoMethod Image - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ImageRawDisk: The parameters of the raw disk image. @@ -17727,9 +17808,9 @@ type ImageRawDisk struct { NullFields []string `json:"-"` } -func (s *ImageRawDisk) MarshalJSON() ([]byte, error) { +func (s ImageRawDisk) MarshalJSON() ([]byte, error) { type NoMethod ImageRawDisk - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ImageFamilyView struct { @@ -17752,9 +17833,9 @@ type ImageFamilyView struct { NullFields []string `json:"-"` } -func (s *ImageFamilyView) MarshalJSON() ([]byte, error) { +func (s ImageFamilyView) MarshalJSON() ([]byte, error) { type NoMethod ImageFamilyView - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ImageList: Contains a list of images. @@ -17791,9 +17872,9 @@ type ImageList struct { NullFields []string `json:"-"` } -func (s *ImageList) MarshalJSON() ([]byte, error) { +func (s ImageList) MarshalJSON() ([]byte, error) { type NoMethod ImageList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ImageListWarning: [Output Only] Informational warning message. @@ -17876,9 +17957,9 @@ type ImageListWarning struct { NullFields []string `json:"-"` } -func (s *ImageListWarning) MarshalJSON() ([]byte, error) { +func (s ImageListWarning) MarshalJSON() ([]byte, error) { type NoMethod ImageListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ImageListWarningData struct { @@ -17905,9 +17986,9 @@ type ImageListWarningData struct { NullFields []string `json:"-"` } -func (s *ImageListWarningData) MarshalJSON() ([]byte, error) { +func (s ImageListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ImageListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InitialStateConfig: Initial State for shielded instance, these are public @@ -17934,9 +18015,9 @@ type InitialStateConfig struct { NullFields []string `json:"-"` } -func (s *InitialStateConfig) MarshalJSON() ([]byte, error) { +func (s InitialStateConfig) MarshalJSON() ([]byte, error) { type NoMethod InitialStateConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Instance: Represents an Instance resource. An instance is a virtual machine @@ -18198,9 +18279,9 @@ type Instance struct { NullFields []string `json:"-"` } -func (s *Instance) MarshalJSON() ([]byte, error) { +func (s Instance) MarshalJSON() ([]byte, error) { type NoMethod Instance - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceAggregatedList struct { @@ -18239,9 +18320,9 @@ type InstanceAggregatedList struct { NullFields []string `json:"-"` } -func (s *InstanceAggregatedList) MarshalJSON() ([]byte, error) { +func (s InstanceAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod InstanceAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceAggregatedListWarning: [Output Only] Informational warning message. @@ -18324,9 +18405,9 @@ type InstanceAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *InstanceAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s InstanceAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceAggregatedListWarningData struct { @@ -18353,9 +18434,9 @@ type InstanceAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceConsumptionData struct { @@ -18376,9 +18457,9 @@ type InstanceConsumptionData struct { NullFields []string `json:"-"` } -func (s *InstanceConsumptionData) MarshalJSON() ([]byte, error) { +func (s InstanceConsumptionData) MarshalJSON() ([]byte, error) { type NoMethod InstanceConsumptionData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceConsumptionInfo struct { @@ -18406,9 +18487,9 @@ type InstanceConsumptionInfo struct { NullFields []string `json:"-"` } -func (s *InstanceConsumptionInfo) MarshalJSON() ([]byte, error) { +func (s InstanceConsumptionInfo) MarshalJSON() ([]byte, error) { type NoMethod InstanceConsumptionInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroup: Represents an Instance Group resource. Instance Groups can be @@ -18486,9 +18567,9 @@ type InstanceGroup struct { NullFields []string `json:"-"` } -func (s *InstanceGroup) MarshalJSON() ([]byte, error) { +func (s InstanceGroup) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroup - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupAggregatedList struct { @@ -18527,9 +18608,9 @@ type InstanceGroupAggregatedList struct { NullFields []string `json:"-"` } -func (s *InstanceGroupAggregatedList) MarshalJSON() ([]byte, error) { +func (s InstanceGroupAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupAggregatedListWarning: [Output Only] Informational warning @@ -18613,9 +18694,9 @@ type InstanceGroupAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *InstanceGroupAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s InstanceGroupAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupAggregatedListWarningData struct { @@ -18642,9 +18723,9 @@ type InstanceGroupAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceGroupAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceGroupAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupList: A list of InstanceGroup resources. @@ -18682,9 +18763,9 @@ type InstanceGroupList struct { NullFields []string `json:"-"` } -func (s *InstanceGroupList) MarshalJSON() ([]byte, error) { +func (s InstanceGroupList) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupListWarning: [Output Only] Informational warning message. @@ -18767,9 +18848,9 @@ type InstanceGroupListWarning struct { NullFields []string `json:"-"` } -func (s *InstanceGroupListWarning) MarshalJSON() ([]byte, error) { +func (s InstanceGroupListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupListWarningData struct { @@ -18796,9 +18877,9 @@ type InstanceGroupListWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceGroupListWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceGroupListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManager: Represents a Managed Instance Group resource. An @@ -18813,10 +18894,16 @@ type InstanceGroupManager struct { // AutoHealingPolicies: The autohealing policy for this managed instance group. // You can specify only one value. AutoHealingPolicies []*InstanceGroupManagerAutoHealingPolicy `json:"autoHealingPolicies,omitempty"` - // BaseInstanceName: The base instance name to use for instances in this group. - // The value must be 1-58 characters long. Instances are named by appending a - // hyphen and a random four-character string to the base instance name. The - // base instance name must comply with RFC1035. + // BaseInstanceName: The base instance name is a prefix that you want to attach + // to the names of all VMs in a MIG. The maximum character length is 58 and the + // name must comply with RFC1035 format. When a VM is created in the group, the + // MIG appends a hyphen and a random four-character string to the base instance + // name. If you want the MIG to assign sequential numbers instead of a random + // string, then end the base instance name with a hyphen followed by one or + // more hash symbols. The hash symbols indicate the number of digits. For + // example, a base instance name of "vm-###" results in "vm-001" as a VM name. + // @pattern a-z + // (([-a-z0-9]{0,57})|([-a-z0-9]{0,52}-#{1,10}(\\[[0-9]{1,10}\\])?)) BaseInstanceName string `json:"baseInstanceName,omitempty"` // CreationTimestamp: [Output Only] The creation timestamp for this managed // instance group in RFC3339 text format. @@ -18963,9 +19050,9 @@ type InstanceGroupManager struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManager) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManager) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManager - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerActionsSummary struct { @@ -19042,9 +19129,9 @@ type InstanceGroupManagerActionsSummary struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerActionsSummary) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerActionsSummary) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerActionsSummary - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerAggregatedList struct { @@ -19084,9 +19171,9 @@ type InstanceGroupManagerAggregatedList struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerAggregatedList) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagerAggregatedListWarning: [Output Only] Informational @@ -19170,9 +19257,9 @@ type InstanceGroupManagerAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerAggregatedListWarningData struct { @@ -19199,9 +19286,9 @@ type InstanceGroupManagerAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerAllInstancesConfig struct { @@ -19225,9 +19312,9 @@ type InstanceGroupManagerAllInstancesConfig struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerAllInstancesConfig) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerAllInstancesConfig) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerAllInstancesConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerAutoHealingPolicy struct { @@ -19269,9 +19356,9 @@ type InstanceGroupManagerAutoHealingPolicy struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerAutoHealingPolicy) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerAutoHealingPolicy) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerAutoHealingPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerAutoHealingPolicyAutoHealingTriggers struct { @@ -19304,9 +19391,9 @@ type InstanceGroupManagerAutoHealingPolicyAutoHealingTriggers struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerAutoHealingPolicyAutoHealingTriggers) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerAutoHealingPolicyAutoHealingTriggers) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerAutoHealingPolicyAutoHealingTriggers - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerInstanceFlexibilityPolicy struct { @@ -19332,9 +19419,9 @@ type InstanceGroupManagerInstanceFlexibilityPolicy struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerInstanceFlexibilityPolicy) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerInstanceFlexibilityPolicy) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerInstanceFlexibilityPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection struct { @@ -19358,9 +19445,9 @@ type InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix struct { @@ -19387,9 +19474,9 @@ type InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerInstanceLifecyclePolicy struct { @@ -19462,9 +19549,9 @@ type InstanceGroupManagerInstanceLifecyclePolicy struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerInstanceLifecyclePolicy) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerInstanceLifecyclePolicy) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerInstanceLifecyclePolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal struct { @@ -19484,9 +19571,9 @@ type InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal str NullFields []string `json:"-"` } -func (s *InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagerList: [Output Only] A list of managed instance groups. @@ -19524,9 +19611,9 @@ type InstanceGroupManagerList struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerList) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerList) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagerListWarning: [Output Only] Informational warning @@ -19610,9 +19697,9 @@ type InstanceGroupManagerListWarning struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerListWarning) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerListWarningData struct { @@ -19639,9 +19726,9 @@ type InstanceGroupManagerListWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerListWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagerParams: Input only additional params for instance group @@ -19665,9 +19752,9 @@ type InstanceGroupManagerParams struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerParams) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerParams) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerParams - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagerResizeRequest: InstanceGroupManagerResizeRequest @@ -19751,9 +19838,9 @@ type InstanceGroupManagerResizeRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerResizeRequestStatus struct { @@ -19789,9 +19876,9 @@ type InstanceGroupManagerResizeRequestStatus struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequestStatus) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequestStatus) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequestStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagerResizeRequestStatusError: [Output only] Fatal errors @@ -19816,9 +19903,9 @@ type InstanceGroupManagerResizeRequestStatusError struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequestStatusError) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequestStatusError) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequestStatusError - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerResizeRequestStatusErrorErrors struct { @@ -19847,9 +19934,9 @@ type InstanceGroupManagerResizeRequestStatusErrorErrors struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequestStatusErrorErrors) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequestStatusErrorErrors) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequestStatusErrorErrors - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerResizeRequestStatusErrorErrorsErrorDetails struct { @@ -19870,9 +19957,9 @@ type InstanceGroupManagerResizeRequestStatusErrorErrorsErrorDetails struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequestStatusErrorErrorsErrorDetails) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequestStatusErrorErrorsErrorDetails) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequestStatusErrorErrorsErrorDetails - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerResizeRequestStatusLastAttempt struct { @@ -19891,9 +19978,9 @@ type InstanceGroupManagerResizeRequestStatusLastAttempt struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequestStatusLastAttempt) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequestStatusLastAttempt) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequestStatusLastAttempt - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagerResizeRequestStatusLastAttemptError: Errors that @@ -19915,9 +20002,9 @@ type InstanceGroupManagerResizeRequestStatusLastAttemptError struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequestStatusLastAttemptError) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequestStatusLastAttemptError) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequestStatusLastAttemptError - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrors struct { @@ -19946,9 +20033,9 @@ type InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrors struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrors) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrors) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrors - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrorsErrorDetails struct { @@ -19969,9 +20056,9 @@ type InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrorsErrorDetails s NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrorsErrorDetails) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrorsErrorDetails) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrorsErrorDetails - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagerResizeRequestsListResponse: [Output Only] A list of @@ -20010,9 +20097,9 @@ type InstanceGroupManagerResizeRequestsListResponse struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequestsListResponse) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequestsListResponse) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequestsListResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagerResizeRequestsListResponseWarning: [Output Only] @@ -20096,9 +20183,9 @@ type InstanceGroupManagerResizeRequestsListResponseWarning struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequestsListResponseWarning) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequestsListResponseWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequestsListResponseWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerResizeRequestsListResponseWarningData struct { @@ -20125,9 +20212,9 @@ type InstanceGroupManagerResizeRequestsListResponseWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequestsListResponseWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequestsListResponseWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequestsListResponseWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerStandbyPolicy struct { @@ -20159,9 +20246,9 @@ type InstanceGroupManagerStandbyPolicy struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerStandbyPolicy) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerStandbyPolicy) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerStandbyPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerStatus struct { @@ -20197,9 +20284,9 @@ type InstanceGroupManagerStatus struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerStatus) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerStatus) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerStatusAllInstancesConfig struct { @@ -20222,9 +20309,9 @@ type InstanceGroupManagerStatusAllInstancesConfig struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerStatusAllInstancesConfig) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerStatusAllInstancesConfig) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerStatusAllInstancesConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerStatusStateful struct { @@ -20259,9 +20346,9 @@ type InstanceGroupManagerStatusStateful struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerStatusStateful) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerStatusStateful) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerStatusStateful - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerStatusStatefulPerInstanceConfigs struct { @@ -20282,9 +20369,9 @@ type InstanceGroupManagerStatusStatefulPerInstanceConfigs struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerStatusStatefulPerInstanceConfigs) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerStatusStatefulPerInstanceConfigs) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerStatusStatefulPerInstanceConfigs - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerStatusVersionTarget struct { @@ -20306,9 +20393,9 @@ type InstanceGroupManagerStatusVersionTarget struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerStatusVersionTarget) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerStatusVersionTarget) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerStatusVersionTarget - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerUpdatePolicy struct { @@ -20413,9 +20500,9 @@ type InstanceGroupManagerUpdatePolicy struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerUpdatePolicy) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerUpdatePolicy) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerUpdatePolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerVersion struct { @@ -20456,9 +20543,9 @@ type InstanceGroupManagerVersion struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerVersion) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerVersion) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerVersion - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersAbandonInstancesRequest struct { @@ -20478,9 +20565,9 @@ type InstanceGroupManagersAbandonInstancesRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersAbandonInstancesRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersAbandonInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersAbandonInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagersApplyUpdatesRequest: @@ -20548,9 +20635,9 @@ type InstanceGroupManagersApplyUpdatesRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersApplyUpdatesRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersApplyUpdatesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersApplyUpdatesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagersCreateInstancesRequest: @@ -20571,9 +20658,9 @@ type InstanceGroupManagersCreateInstancesRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersCreateInstancesRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersCreateInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersCreateInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersDeleteInstancesRequest struct { @@ -20607,9 +20694,9 @@ type InstanceGroupManagersDeleteInstancesRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersDeleteInstancesRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersDeleteInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersDeleteInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagersDeletePerInstanceConfigsReq: @@ -20631,9 +20718,9 @@ type InstanceGroupManagersDeletePerInstanceConfigsReq struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersDeletePerInstanceConfigsReq) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersDeletePerInstanceConfigsReq) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersDeletePerInstanceConfigsReq - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersListErrorsResponse struct { @@ -20661,9 +20748,9 @@ type InstanceGroupManagersListErrorsResponse struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersListErrorsResponse) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersListErrorsResponse) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersListErrorsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersListManagedInstancesResponse struct { @@ -20692,9 +20779,9 @@ type InstanceGroupManagersListManagedInstancesResponse struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersListManagedInstancesResponse) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersListManagedInstancesResponse) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersListManagedInstancesResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersListPerInstanceConfigsResp struct { @@ -20724,9 +20811,9 @@ type InstanceGroupManagersListPerInstanceConfigsResp struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersListPerInstanceConfigsResp) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersListPerInstanceConfigsResp) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersListPerInstanceConfigsResp - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagersListPerInstanceConfigsRespWarning: [Output Only] @@ -20810,9 +20897,9 @@ type InstanceGroupManagersListPerInstanceConfigsRespWarning struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersListPerInstanceConfigsRespWarning) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersListPerInstanceConfigsRespWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersListPerInstanceConfigsRespWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersListPerInstanceConfigsRespWarningData struct { @@ -20839,9 +20926,9 @@ type InstanceGroupManagersListPerInstanceConfigsRespWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersListPerInstanceConfigsRespWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersListPerInstanceConfigsRespWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersListPerInstanceConfigsRespWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagersPatchPerInstanceConfigsReq: @@ -20863,9 +20950,9 @@ type InstanceGroupManagersPatchPerInstanceConfigsReq struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersPatchPerInstanceConfigsReq) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersPatchPerInstanceConfigsReq) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersPatchPerInstanceConfigsReq - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersRecreateInstancesRequest struct { @@ -20885,9 +20972,9 @@ type InstanceGroupManagersRecreateInstancesRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersRecreateInstancesRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersRecreateInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersRecreateInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersResizeAdvancedRequest struct { @@ -20923,9 +21010,9 @@ type InstanceGroupManagersResizeAdvancedRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersResizeAdvancedRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersResizeAdvancedRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersResizeAdvancedRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersResumeInstancesRequest struct { @@ -20945,9 +21032,9 @@ type InstanceGroupManagersResumeInstancesRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersResumeInstancesRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersResumeInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersResumeInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersScopedList struct { @@ -20970,9 +21057,9 @@ type InstanceGroupManagersScopedList struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersScopedList) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersScopedList) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagersScopedListWarning: [Output Only] The warning that @@ -21056,9 +21143,9 @@ type InstanceGroupManagersScopedListWarning struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersScopedListWarning) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersScopedListWarningData struct { @@ -21085,9 +21172,9 @@ type InstanceGroupManagersScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersSetAutoHealingRequest struct { @@ -21105,9 +21192,9 @@ type InstanceGroupManagersSetAutoHealingRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersSetAutoHealingRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersSetAutoHealingRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersSetAutoHealingRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersSetInstanceTemplateRequest struct { @@ -21130,9 +21217,9 @@ type InstanceGroupManagersSetInstanceTemplateRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersSetInstanceTemplateRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersSetInstanceTemplateRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersSetInstanceTemplateRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersSetTargetPoolsRequest struct { @@ -21161,9 +21248,9 @@ type InstanceGroupManagersSetTargetPoolsRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersSetTargetPoolsRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersSetTargetPoolsRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersSetTargetPoolsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersStartInstancesRequest struct { @@ -21183,9 +21270,9 @@ type InstanceGroupManagersStartInstancesRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersStartInstancesRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersStartInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersStartInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersStopInstancesRequest struct { @@ -21208,9 +21295,9 @@ type InstanceGroupManagersStopInstancesRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersStopInstancesRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersStopInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersStopInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersSuspendInstancesRequest struct { @@ -21233,9 +21320,9 @@ type InstanceGroupManagersSuspendInstancesRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersSuspendInstancesRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersSuspendInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersSuspendInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagersUpdatePerInstanceConfigsReq: @@ -21257,9 +21344,9 @@ type InstanceGroupManagersUpdatePerInstanceConfigsReq struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersUpdatePerInstanceConfigsReq) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersUpdatePerInstanceConfigsReq) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersUpdatePerInstanceConfigsReq - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupsAddInstancesRequest struct { @@ -21278,9 +21365,9 @@ type InstanceGroupsAddInstancesRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupsAddInstancesRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupsAddInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupsAddInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupsListInstances struct { @@ -21318,9 +21405,9 @@ type InstanceGroupsListInstances struct { NullFields []string `json:"-"` } -func (s *InstanceGroupsListInstances) MarshalJSON() ([]byte, error) { +func (s InstanceGroupsListInstances) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupsListInstances - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupsListInstancesWarning: [Output Only] Informational warning @@ -21404,9 +21491,9 @@ type InstanceGroupsListInstancesWarning struct { NullFields []string `json:"-"` } -func (s *InstanceGroupsListInstancesWarning) MarshalJSON() ([]byte, error) { +func (s InstanceGroupsListInstancesWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupsListInstancesWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupsListInstancesWarningData struct { @@ -21433,9 +21520,9 @@ type InstanceGroupsListInstancesWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceGroupsListInstancesWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceGroupsListInstancesWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupsListInstancesWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupsListInstancesRequest struct { @@ -21462,9 +21549,9 @@ type InstanceGroupsListInstancesRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupsListInstancesRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupsListInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupsListInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupsRemoveInstancesRequest struct { @@ -21483,9 +21570,9 @@ type InstanceGroupsRemoveInstancesRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupsRemoveInstancesRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupsRemoveInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupsRemoveInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupsScopedList struct { @@ -21508,9 +21595,9 @@ type InstanceGroupsScopedList struct { NullFields []string `json:"-"` } -func (s *InstanceGroupsScopedList) MarshalJSON() ([]byte, error) { +func (s InstanceGroupsScopedList) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupsScopedListWarning: [Output Only] An informational warning that @@ -21594,9 +21681,9 @@ type InstanceGroupsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *InstanceGroupsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s InstanceGroupsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupsScopedListWarningData struct { @@ -21623,9 +21710,9 @@ type InstanceGroupsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceGroupsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceGroupsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupsSetNamedPortsRequest struct { @@ -21652,9 +21739,9 @@ type InstanceGroupsSetNamedPortsRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupsSetNamedPortsRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupsSetNamedPortsRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupsSetNamedPortsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceList: Contains a list of instances. @@ -21692,9 +21779,9 @@ type InstanceList struct { NullFields []string `json:"-"` } -func (s *InstanceList) MarshalJSON() ([]byte, error) { +func (s InstanceList) MarshalJSON() ([]byte, error) { type NoMethod InstanceList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceListWarning: [Output Only] Informational warning message. @@ -21777,9 +21864,9 @@ type InstanceListWarning struct { NullFields []string `json:"-"` } -func (s *InstanceListWarning) MarshalJSON() ([]byte, error) { +func (s InstanceListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceListWarningData struct { @@ -21806,9 +21893,9 @@ type InstanceListWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceListWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceListReferrers: Contains a list of instance referrers. @@ -21846,9 +21933,9 @@ type InstanceListReferrers struct { NullFields []string `json:"-"` } -func (s *InstanceListReferrers) MarshalJSON() ([]byte, error) { +func (s InstanceListReferrers) MarshalJSON() ([]byte, error) { type NoMethod InstanceListReferrers - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceListReferrersWarning: [Output Only] Informational warning message. @@ -21931,9 +22018,9 @@ type InstanceListReferrersWarning struct { NullFields []string `json:"-"` } -func (s *InstanceListReferrersWarning) MarshalJSON() ([]byte, error) { +func (s InstanceListReferrersWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceListReferrersWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceListReferrersWarningData struct { @@ -21960,9 +22047,9 @@ type InstanceListReferrersWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceListReferrersWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceListReferrersWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceListReferrersWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceManagedByIgmError struct { @@ -21988,9 +22075,9 @@ type InstanceManagedByIgmError struct { NullFields []string `json:"-"` } -func (s *InstanceManagedByIgmError) MarshalJSON() ([]byte, error) { +func (s InstanceManagedByIgmError) MarshalJSON() ([]byte, error) { type NoMethod InstanceManagedByIgmError - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceManagedByIgmErrorInstanceActionDetails struct { @@ -22052,9 +22139,9 @@ type InstanceManagedByIgmErrorInstanceActionDetails struct { NullFields []string `json:"-"` } -func (s *InstanceManagedByIgmErrorInstanceActionDetails) MarshalJSON() ([]byte, error) { +func (s InstanceManagedByIgmErrorInstanceActionDetails) MarshalJSON() ([]byte, error) { type NoMethod InstanceManagedByIgmErrorInstanceActionDetails - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceManagedByIgmErrorManagedInstanceError struct { @@ -22075,9 +22162,9 @@ type InstanceManagedByIgmErrorManagedInstanceError struct { NullFields []string `json:"-"` } -func (s *InstanceManagedByIgmErrorManagedInstanceError) MarshalJSON() ([]byte, error) { +func (s InstanceManagedByIgmErrorManagedInstanceError) MarshalJSON() ([]byte, error) { type NoMethod InstanceManagedByIgmErrorManagedInstanceError - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceMoveRequest struct { @@ -22107,9 +22194,9 @@ type InstanceMoveRequest struct { NullFields []string `json:"-"` } -func (s *InstanceMoveRequest) MarshalJSON() ([]byte, error) { +func (s InstanceMoveRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceMoveRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceParams: Additional instance params. @@ -22132,9 +22219,9 @@ type InstanceParams struct { NullFields []string `json:"-"` } -func (s *InstanceParams) MarshalJSON() ([]byte, error) { +func (s InstanceParams) MarshalJSON() ([]byte, error) { type NoMethod InstanceParams - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceProperties struct { @@ -22278,9 +22365,9 @@ type InstanceProperties struct { NullFields []string `json:"-"` } -func (s *InstanceProperties) MarshalJSON() ([]byte, error) { +func (s InstanceProperties) MarshalJSON() ([]byte, error) { type NoMethod InstanceProperties - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstancePropertiesPatch: Represents the change that you want to make to the @@ -22304,9 +22391,9 @@ type InstancePropertiesPatch struct { NullFields []string `json:"-"` } -func (s *InstancePropertiesPatch) MarshalJSON() ([]byte, error) { +func (s InstancePropertiesPatch) MarshalJSON() ([]byte, error) { type NoMethod InstancePropertiesPatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceReference struct { @@ -22326,9 +22413,9 @@ type InstanceReference struct { NullFields []string `json:"-"` } -func (s *InstanceReference) MarshalJSON() ([]byte, error) { +func (s InstanceReference) MarshalJSON() ([]byte, error) { type NoMethod InstanceReference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceSettings: Represents a Instance Settings resource. You can use @@ -22373,9 +22460,9 @@ type InstanceSettings struct { NullFields []string `json:"-"` } -func (s *InstanceSettings) MarshalJSON() ([]byte, error) { +func (s InstanceSettings) MarshalJSON() ([]byte, error) { type NoMethod InstanceSettings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceSettingsMetadata struct { @@ -22398,9 +22485,9 @@ type InstanceSettingsMetadata struct { NullFields []string `json:"-"` } -func (s *InstanceSettingsMetadata) MarshalJSON() ([]byte, error) { +func (s InstanceSettingsMetadata) MarshalJSON() ([]byte, error) { type NoMethod InstanceSettingsMetadata - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceTemplate: Represents an Instance Template resource. Google Compute @@ -22470,9 +22557,9 @@ type InstanceTemplate struct { NullFields []string `json:"-"` } -func (s *InstanceTemplate) MarshalJSON() ([]byte, error) { +func (s InstanceTemplate) MarshalJSON() ([]byte, error) { type NoMethod InstanceTemplate - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceTemplateAggregatedList: Contains a list of @@ -22510,9 +22597,9 @@ type InstanceTemplateAggregatedList struct { NullFields []string `json:"-"` } -func (s *InstanceTemplateAggregatedList) MarshalJSON() ([]byte, error) { +func (s InstanceTemplateAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod InstanceTemplateAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceTemplateAggregatedListWarning: [Output Only] Informational warning @@ -22596,9 +22683,9 @@ type InstanceTemplateAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *InstanceTemplateAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s InstanceTemplateAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceTemplateAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceTemplateAggregatedListWarningData struct { @@ -22625,9 +22712,9 @@ type InstanceTemplateAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceTemplateAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceTemplateAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceTemplateAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceTemplateList: A list of instance templates. @@ -22665,9 +22752,9 @@ type InstanceTemplateList struct { NullFields []string `json:"-"` } -func (s *InstanceTemplateList) MarshalJSON() ([]byte, error) { +func (s InstanceTemplateList) MarshalJSON() ([]byte, error) { type NoMethod InstanceTemplateList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceTemplateListWarning: [Output Only] Informational warning message. @@ -22750,9 +22837,9 @@ type InstanceTemplateListWarning struct { NullFields []string `json:"-"` } -func (s *InstanceTemplateListWarning) MarshalJSON() ([]byte, error) { +func (s InstanceTemplateListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceTemplateListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceTemplateListWarningData struct { @@ -22779,9 +22866,9 @@ type InstanceTemplateListWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceTemplateListWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceTemplateListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceTemplateListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceTemplatesScopedList struct { @@ -22804,9 +22891,9 @@ type InstanceTemplatesScopedList struct { NullFields []string `json:"-"` } -func (s *InstanceTemplatesScopedList) MarshalJSON() ([]byte, error) { +func (s InstanceTemplatesScopedList) MarshalJSON() ([]byte, error) { type NoMethod InstanceTemplatesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceTemplatesScopedListWarning: [Output Only] An informational warning @@ -22890,9 +22977,9 @@ type InstanceTemplatesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *InstanceTemplatesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s InstanceTemplatesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceTemplatesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceTemplatesScopedListWarningData struct { @@ -22919,9 +23006,9 @@ type InstanceTemplatesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceTemplatesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceTemplatesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceTemplatesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceWithNamedPorts struct { @@ -22962,9 +23049,9 @@ type InstanceWithNamedPorts struct { NullFields []string `json:"-"` } -func (s *InstanceWithNamedPorts) MarshalJSON() ([]byte, error) { +func (s InstanceWithNamedPorts) MarshalJSON() ([]byte, error) { type NoMethod InstanceWithNamedPorts - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesAddResourcePoliciesRequest struct { @@ -22983,9 +23070,9 @@ type InstancesAddResourcePoliciesRequest struct { NullFields []string `json:"-"` } -func (s *InstancesAddResourcePoliciesRequest) MarshalJSON() ([]byte, error) { +func (s InstancesAddResourcePoliciesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstancesAddResourcePoliciesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesBulkInsertOperationMetadata struct { @@ -23005,9 +23092,9 @@ type InstancesBulkInsertOperationMetadata struct { NullFields []string `json:"-"` } -func (s *InstancesBulkInsertOperationMetadata) MarshalJSON() ([]byte, error) { +func (s InstancesBulkInsertOperationMetadata) MarshalJSON() ([]byte, error) { type NoMethod InstancesBulkInsertOperationMetadata - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesGetEffectiveFirewallsResponse struct { @@ -23033,9 +23120,9 @@ type InstancesGetEffectiveFirewallsResponse struct { NullFields []string `json:"-"` } -func (s *InstancesGetEffectiveFirewallsResponse) MarshalJSON() ([]byte, error) { +func (s InstancesGetEffectiveFirewallsResponse) MarshalJSON() ([]byte, error) { type NoMethod InstancesGetEffectiveFirewallsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy struct { @@ -23075,9 +23162,9 @@ type InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy struct { NullFields []string `json:"-"` } -func (s *InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy) MarshalJSON() ([]byte, error) { +func (s InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy) MarshalJSON() ([]byte, error) { type NoMethod InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy: A pruned @@ -23101,9 +23188,9 @@ type InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy struct { NullFields []string `json:"-"` } -func (s *InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy) MarshalJSON() ([]byte, error) { +func (s InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy) MarshalJSON() ([]byte, error) { type NoMethod InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesRemoveResourcePoliciesRequest struct { @@ -23122,9 +23209,9 @@ type InstancesRemoveResourcePoliciesRequest struct { NullFields []string `json:"-"` } -func (s *InstancesRemoveResourcePoliciesRequest) MarshalJSON() ([]byte, error) { +func (s InstancesRemoveResourcePoliciesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstancesRemoveResourcePoliciesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesResumeRequest struct { @@ -23152,9 +23239,9 @@ type InstancesResumeRequest struct { NullFields []string `json:"-"` } -func (s *InstancesResumeRequest) MarshalJSON() ([]byte, error) { +func (s InstancesResumeRequest) MarshalJSON() ([]byte, error) { type NoMethod InstancesResumeRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesScopedList struct { @@ -23176,9 +23263,9 @@ type InstancesScopedList struct { NullFields []string `json:"-"` } -func (s *InstancesScopedList) MarshalJSON() ([]byte, error) { +func (s InstancesScopedList) MarshalJSON() ([]byte, error) { type NoMethod InstancesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstancesScopedListWarning: [Output Only] Informational warning which @@ -23262,9 +23349,9 @@ type InstancesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *InstancesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s InstancesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstancesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesScopedListWarningData struct { @@ -23291,9 +23378,9 @@ type InstancesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *InstancesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s InstancesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstancesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesSetLabelsRequest struct { @@ -23315,9 +23402,9 @@ type InstancesSetLabelsRequest struct { NullFields []string `json:"-"` } -func (s *InstancesSetLabelsRequest) MarshalJSON() ([]byte, error) { +func (s InstancesSetLabelsRequest) MarshalJSON() ([]byte, error) { type NoMethod InstancesSetLabelsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesSetMachineResourcesRequest struct { @@ -23337,9 +23424,9 @@ type InstancesSetMachineResourcesRequest struct { NullFields []string `json:"-"` } -func (s *InstancesSetMachineResourcesRequest) MarshalJSON() ([]byte, error) { +func (s InstancesSetMachineResourcesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstancesSetMachineResourcesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesSetMachineTypeRequest struct { @@ -23360,9 +23447,9 @@ type InstancesSetMachineTypeRequest struct { NullFields []string `json:"-"` } -func (s *InstancesSetMachineTypeRequest) MarshalJSON() ([]byte, error) { +func (s InstancesSetMachineTypeRequest) MarshalJSON() ([]byte, error) { type NoMethod InstancesSetMachineTypeRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesSetMinCpuPlatformRequest struct { @@ -23381,9 +23468,9 @@ type InstancesSetMinCpuPlatformRequest struct { NullFields []string `json:"-"` } -func (s *InstancesSetMinCpuPlatformRequest) MarshalJSON() ([]byte, error) { +func (s InstancesSetMinCpuPlatformRequest) MarshalJSON() ([]byte, error) { type NoMethod InstancesSetMinCpuPlatformRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesSetNameRequest struct { @@ -23406,9 +23493,9 @@ type InstancesSetNameRequest struct { NullFields []string `json:"-"` } -func (s *InstancesSetNameRequest) MarshalJSON() ([]byte, error) { +func (s InstancesSetNameRequest) MarshalJSON() ([]byte, error) { type NoMethod InstancesSetNameRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesSetSecurityPolicyRequest struct { @@ -23433,9 +23520,9 @@ type InstancesSetSecurityPolicyRequest struct { NullFields []string `json:"-"` } -func (s *InstancesSetSecurityPolicyRequest) MarshalJSON() ([]byte, error) { +func (s InstancesSetSecurityPolicyRequest) MarshalJSON() ([]byte, error) { type NoMethod InstancesSetSecurityPolicyRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesSetServiceAccountRequest struct { @@ -23456,9 +23543,9 @@ type InstancesSetServiceAccountRequest struct { NullFields []string `json:"-"` } -func (s *InstancesSetServiceAccountRequest) MarshalJSON() ([]byte, error) { +func (s InstancesSetServiceAccountRequest) MarshalJSON() ([]byte, error) { type NoMethod InstancesSetServiceAccountRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesStartWithEncryptionKeyRequest struct { @@ -23485,9 +23572,9 @@ type InstancesStartWithEncryptionKeyRequest struct { NullFields []string `json:"-"` } -func (s *InstancesStartWithEncryptionKeyRequest) MarshalJSON() ([]byte, error) { +func (s InstancesStartWithEncryptionKeyRequest) MarshalJSON() ([]byte, error) { type NoMethod InstancesStartWithEncryptionKeyRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstantSnapshot: Represents a InstantSnapshot resource. You can use instant @@ -23600,9 +23687,9 @@ type InstantSnapshot struct { NullFields []string `json:"-"` } -func (s *InstantSnapshot) MarshalJSON() ([]byte, error) { +func (s InstantSnapshot) MarshalJSON() ([]byte, error) { type NoMethod InstantSnapshot - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstantSnapshotAggregatedList struct { @@ -23642,9 +23729,9 @@ type InstantSnapshotAggregatedList struct { NullFields []string `json:"-"` } -func (s *InstantSnapshotAggregatedList) MarshalJSON() ([]byte, error) { +func (s InstantSnapshotAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod InstantSnapshotAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstantSnapshotAggregatedListWarning: [Output Only] Informational warning @@ -23728,9 +23815,9 @@ type InstantSnapshotAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *InstantSnapshotAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s InstantSnapshotAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstantSnapshotAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstantSnapshotAggregatedListWarningData struct { @@ -23757,9 +23844,9 @@ type InstantSnapshotAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *InstantSnapshotAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s InstantSnapshotAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstantSnapshotAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstantSnapshotList: Contains a list of InstantSnapshot resources. @@ -23796,9 +23883,9 @@ type InstantSnapshotList struct { NullFields []string `json:"-"` } -func (s *InstantSnapshotList) MarshalJSON() ([]byte, error) { +func (s InstantSnapshotList) MarshalJSON() ([]byte, error) { type NoMethod InstantSnapshotList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstantSnapshotListWarning: [Output Only] Informational warning message. @@ -23881,9 +23968,9 @@ type InstantSnapshotListWarning struct { NullFields []string `json:"-"` } -func (s *InstantSnapshotListWarning) MarshalJSON() ([]byte, error) { +func (s InstantSnapshotListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstantSnapshotListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstantSnapshotListWarningData struct { @@ -23910,9 +23997,9 @@ type InstantSnapshotListWarningData struct { NullFields []string `json:"-"` } -func (s *InstantSnapshotListWarningData) MarshalJSON() ([]byte, error) { +func (s InstantSnapshotListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstantSnapshotListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstantSnapshotResourceStatus struct { @@ -23931,9 +24018,9 @@ type InstantSnapshotResourceStatus struct { NullFields []string `json:"-"` } -func (s *InstantSnapshotResourceStatus) MarshalJSON() ([]byte, error) { +func (s InstantSnapshotResourceStatus) MarshalJSON() ([]byte, error) { type NoMethod InstantSnapshotResourceStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstantSnapshotsScopedList struct { @@ -23956,9 +24043,9 @@ type InstantSnapshotsScopedList struct { NullFields []string `json:"-"` } -func (s *InstantSnapshotsScopedList) MarshalJSON() ([]byte, error) { +func (s InstantSnapshotsScopedList) MarshalJSON() ([]byte, error) { type NoMethod InstantSnapshotsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstantSnapshotsScopedListWarning: [Output Only] Informational warning which @@ -24042,9 +24129,9 @@ type InstantSnapshotsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *InstantSnapshotsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s InstantSnapshotsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstantSnapshotsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstantSnapshotsScopedListWarningData struct { @@ -24071,9 +24158,9 @@ type InstantSnapshotsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *InstantSnapshotsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s InstantSnapshotsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstantSnapshotsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Int64RangeMatch: HttpRouteRuleMatch criteria for field values that must stay @@ -24097,9 +24184,9 @@ type Int64RangeMatch struct { NullFields []string `json:"-"` } -func (s *Int64RangeMatch) MarshalJSON() ([]byte, error) { +func (s Int64RangeMatch) MarshalJSON() ([]byte, error) { type NoMethod Int64RangeMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Interconnect: Represents an Interconnect resource. An Interconnect resource @@ -24297,9 +24384,9 @@ type Interconnect struct { NullFields []string `json:"-"` } -func (s *Interconnect) MarshalJSON() ([]byte, error) { +func (s Interconnect) MarshalJSON() ([]byte, error) { type NoMethod Interconnect - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectApplicationAwareInterconnect: Configuration information for @@ -24323,9 +24410,9 @@ type InterconnectApplicationAwareInterconnect struct { NullFields []string `json:"-"` } -func (s *InterconnectApplicationAwareInterconnect) MarshalJSON() ([]byte, error) { +func (s InterconnectApplicationAwareInterconnect) MarshalJSON() ([]byte, error) { type NoMethod InterconnectApplicationAwareInterconnect - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectApplicationAwareInterconnectBandwidthPercentage: Specify @@ -24358,9 +24445,9 @@ type InterconnectApplicationAwareInterconnectBandwidthPercentage struct { NullFields []string `json:"-"` } -func (s *InterconnectApplicationAwareInterconnectBandwidthPercentage) MarshalJSON() ([]byte, error) { +func (s InterconnectApplicationAwareInterconnectBandwidthPercentage) MarshalJSON() ([]byte, error) { type NoMethod InterconnectApplicationAwareInterconnectBandwidthPercentage - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy struct { @@ -24380,9 +24467,9 @@ type InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy struct { NullFields []string `json:"-"` } -func (s *InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy) MarshalJSON() ([]byte, error) { +func (s InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy) MarshalJSON() ([]byte, error) { type NoMethod InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectApplicationAwareInterconnectStrictPriorityPolicy: Specify @@ -24690,9 +24777,9 @@ type InterconnectAttachment struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachment) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachment) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachment - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectAttachmentAggregatedList struct { @@ -24732,9 +24819,9 @@ type InterconnectAttachmentAggregatedList struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentAggregatedList) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectAttachmentAggregatedListWarning: [Output Only] Informational @@ -24818,9 +24905,9 @@ type InterconnectAttachmentAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectAttachmentAggregatedListWarningData struct { @@ -24847,9 +24934,9 @@ type InterconnectAttachmentAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectAttachmentConfigurationConstraints struct { @@ -24889,9 +24976,9 @@ type InterconnectAttachmentConfigurationConstraints struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentConfigurationConstraints) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentConfigurationConstraints) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentConfigurationConstraints - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange struct { @@ -24910,9 +24997,9 @@ type InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectAttachmentList: Response to the list request, and contains a @@ -24951,9 +25038,9 @@ type InterconnectAttachmentList struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentList) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentList) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectAttachmentListWarning: [Output Only] Informational warning @@ -25037,9 +25124,9 @@ type InterconnectAttachmentListWarning struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentListWarning) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentListWarning) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectAttachmentListWarningData struct { @@ -25066,9 +25153,9 @@ type InterconnectAttachmentListWarningData struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentListWarningData) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectAttachmentPartnerMetadata: Informational metadata about Partner @@ -25100,9 +25187,9 @@ type InterconnectAttachmentPartnerMetadata struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentPartnerMetadata) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentPartnerMetadata) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentPartnerMetadata - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectAttachmentPrivateInfo: Information for an interconnect @@ -25124,9 +25211,9 @@ type InterconnectAttachmentPrivateInfo struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentPrivateInfo) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentPrivateInfo) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentPrivateInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectAttachmentsScopedList struct { @@ -25149,9 +25236,9 @@ type InterconnectAttachmentsScopedList struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentsScopedList) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentsScopedList) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectAttachmentsScopedListWarning: Informational warning which @@ -25235,9 +25322,9 @@ type InterconnectAttachmentsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectAttachmentsScopedListWarningData struct { @@ -25264,9 +25351,9 @@ type InterconnectAttachmentsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectCircuitInfo: Describes a single physical circuit between the @@ -25294,9 +25381,9 @@ type InterconnectCircuitInfo struct { NullFields []string `json:"-"` } -func (s *InterconnectCircuitInfo) MarshalJSON() ([]byte, error) { +func (s InterconnectCircuitInfo) MarshalJSON() ([]byte, error) { type NoMethod InterconnectCircuitInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectDiagnostics: Diagnostics information about the Interconnect @@ -25344,9 +25431,9 @@ type InterconnectDiagnostics struct { NullFields []string `json:"-"` } -func (s *InterconnectDiagnostics) MarshalJSON() ([]byte, error) { +func (s InterconnectDiagnostics) MarshalJSON() ([]byte, error) { type NoMethod InterconnectDiagnostics - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectDiagnosticsARPEntry: Describing the ARP neighbor entries seen on @@ -25369,9 +25456,9 @@ type InterconnectDiagnosticsARPEntry struct { NullFields []string `json:"-"` } -func (s *InterconnectDiagnosticsARPEntry) MarshalJSON() ([]byte, error) { +func (s InterconnectDiagnosticsARPEntry) MarshalJSON() ([]byte, error) { type NoMethod InterconnectDiagnosticsARPEntry - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectDiagnosticsLinkLACPStatus struct { @@ -25403,9 +25490,9 @@ type InterconnectDiagnosticsLinkLACPStatus struct { NullFields []string `json:"-"` } -func (s *InterconnectDiagnosticsLinkLACPStatus) MarshalJSON() ([]byte, error) { +func (s InterconnectDiagnosticsLinkLACPStatus) MarshalJSON() ([]byte, error) { type NoMethod InterconnectDiagnosticsLinkLACPStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectDiagnosticsLinkOpticalPower struct { @@ -25446,9 +25533,9 @@ type InterconnectDiagnosticsLinkOpticalPower struct { NullFields []string `json:"-"` } -func (s *InterconnectDiagnosticsLinkOpticalPower) MarshalJSON() ([]byte, error) { +func (s InterconnectDiagnosticsLinkOpticalPower) MarshalJSON() ([]byte, error) { type NoMethod InterconnectDiagnosticsLinkOpticalPower - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *InterconnectDiagnosticsLinkOpticalPower) UnmarshalJSON(data []byte) error { @@ -25505,9 +25592,9 @@ type InterconnectDiagnosticsLinkStatus struct { NullFields []string `json:"-"` } -func (s *InterconnectDiagnosticsLinkStatus) MarshalJSON() ([]byte, error) { +func (s InterconnectDiagnosticsLinkStatus) MarshalJSON() ([]byte, error) { type NoMethod InterconnectDiagnosticsLinkStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectDiagnosticsMacsecStatus: Describes the status of MACsec @@ -25531,9 +25618,9 @@ type InterconnectDiagnosticsMacsecStatus struct { NullFields []string `json:"-"` } -func (s *InterconnectDiagnosticsMacsecStatus) MarshalJSON() ([]byte, error) { +func (s InterconnectDiagnosticsMacsecStatus) MarshalJSON() ([]byte, error) { type NoMethod InterconnectDiagnosticsMacsecStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectList: Response to the list request, and contains a list of @@ -25572,9 +25659,9 @@ type InterconnectList struct { NullFields []string `json:"-"` } -func (s *InterconnectList) MarshalJSON() ([]byte, error) { +func (s InterconnectList) MarshalJSON() ([]byte, error) { type NoMethod InterconnectList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectListWarning: [Output Only] Informational warning message. @@ -25657,9 +25744,9 @@ type InterconnectListWarning struct { NullFields []string `json:"-"` } -func (s *InterconnectListWarning) MarshalJSON() ([]byte, error) { +func (s InterconnectListWarning) MarshalJSON() ([]byte, error) { type NoMethod InterconnectListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectListWarningData struct { @@ -25686,9 +25773,9 @@ type InterconnectListWarningData struct { NullFields []string `json:"-"` } -func (s *InterconnectListWarningData) MarshalJSON() ([]byte, error) { +func (s InterconnectListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InterconnectListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectLocation: Represents an Interconnect Attachment (VLAN) Location @@ -25798,9 +25885,9 @@ type InterconnectLocation struct { NullFields []string `json:"-"` } -func (s *InterconnectLocation) MarshalJSON() ([]byte, error) { +func (s InterconnectLocation) MarshalJSON() ([]byte, error) { type NoMethod InterconnectLocation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectLocationList: Response to the list request, and contains a list @@ -25839,9 +25926,9 @@ type InterconnectLocationList struct { NullFields []string `json:"-"` } -func (s *InterconnectLocationList) MarshalJSON() ([]byte, error) { +func (s InterconnectLocationList) MarshalJSON() ([]byte, error) { type NoMethod InterconnectLocationList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectLocationListWarning: [Output Only] Informational warning @@ -25925,9 +26012,9 @@ type InterconnectLocationListWarning struct { NullFields []string `json:"-"` } -func (s *InterconnectLocationListWarning) MarshalJSON() ([]byte, error) { +func (s InterconnectLocationListWarning) MarshalJSON() ([]byte, error) { type NoMethod InterconnectLocationListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectLocationListWarningData struct { @@ -25954,9 +26041,9 @@ type InterconnectLocationListWarningData struct { NullFields []string `json:"-"` } -func (s *InterconnectLocationListWarningData) MarshalJSON() ([]byte, error) { +func (s InterconnectLocationListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InterconnectLocationListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectLocationRegionInfo: Information about any potential @@ -25993,9 +26080,9 @@ type InterconnectLocationRegionInfo struct { NullFields []string `json:"-"` } -func (s *InterconnectLocationRegionInfo) MarshalJSON() ([]byte, error) { +func (s InterconnectLocationRegionInfo) MarshalJSON() ([]byte, error) { type NoMethod InterconnectLocationRegionInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectMacsec: Configuration information for enabling Media Access @@ -26028,9 +26115,9 @@ type InterconnectMacsec struct { NullFields []string `json:"-"` } -func (s *InterconnectMacsec) MarshalJSON() ([]byte, error) { +func (s InterconnectMacsec) MarshalJSON() ([]byte, error) { type NoMethod InterconnectMacsec - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectMacsecConfig: MACsec configuration information for the @@ -26055,9 +26142,9 @@ type InterconnectMacsecConfig struct { NullFields []string `json:"-"` } -func (s *InterconnectMacsecConfig) MarshalJSON() ([]byte, error) { +func (s InterconnectMacsecConfig) MarshalJSON() ([]byte, error) { type NoMethod InterconnectMacsecConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectMacsecConfigPreSharedKey: Describes a pre-shared key used to @@ -26084,9 +26171,9 @@ type InterconnectMacsecConfigPreSharedKey struct { NullFields []string `json:"-"` } -func (s *InterconnectMacsecConfigPreSharedKey) MarshalJSON() ([]byte, error) { +func (s InterconnectMacsecConfigPreSharedKey) MarshalJSON() ([]byte, error) { type NoMethod InterconnectMacsecConfigPreSharedKey - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectMacsecPreSharedKey: Describes a pre-shared key used to setup @@ -26118,9 +26205,9 @@ type InterconnectMacsecPreSharedKey struct { NullFields []string `json:"-"` } -func (s *InterconnectMacsecPreSharedKey) MarshalJSON() ([]byte, error) { +func (s InterconnectMacsecPreSharedKey) MarshalJSON() ([]byte, error) { type NoMethod InterconnectMacsecPreSharedKey - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectOutageNotification: Description of a planned outage on this @@ -26198,9 +26285,9 @@ type InterconnectOutageNotification struct { NullFields []string `json:"-"` } -func (s *InterconnectOutageNotification) MarshalJSON() ([]byte, error) { +func (s InterconnectOutageNotification) MarshalJSON() ([]byte, error) { type NoMethod InterconnectOutageNotification - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectRemoteLocation: Represents a Cross-Cloud Interconnect Remote @@ -26310,9 +26397,9 @@ type InterconnectRemoteLocation struct { NullFields []string `json:"-"` } -func (s *InterconnectRemoteLocation) MarshalJSON() ([]byte, error) { +func (s InterconnectRemoteLocation) MarshalJSON() ([]byte, error) { type NoMethod InterconnectRemoteLocation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectRemoteLocationConstraints struct { @@ -26371,9 +26458,9 @@ type InterconnectRemoteLocationConstraints struct { NullFields []string `json:"-"` } -func (s *InterconnectRemoteLocationConstraints) MarshalJSON() ([]byte, error) { +func (s InterconnectRemoteLocationConstraints) MarshalJSON() ([]byte, error) { type NoMethod InterconnectRemoteLocationConstraints - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectRemoteLocationConstraintsSubnetLengthRange struct { @@ -26392,9 +26479,9 @@ type InterconnectRemoteLocationConstraintsSubnetLengthRange struct { NullFields []string `json:"-"` } -func (s *InterconnectRemoteLocationConstraintsSubnetLengthRange) MarshalJSON() ([]byte, error) { +func (s InterconnectRemoteLocationConstraintsSubnetLengthRange) MarshalJSON() ([]byte, error) { type NoMethod InterconnectRemoteLocationConstraintsSubnetLengthRange - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectRemoteLocationList: Response to the list request, and contains a @@ -26434,9 +26521,9 @@ type InterconnectRemoteLocationList struct { NullFields []string `json:"-"` } -func (s *InterconnectRemoteLocationList) MarshalJSON() ([]byte, error) { +func (s InterconnectRemoteLocationList) MarshalJSON() ([]byte, error) { type NoMethod InterconnectRemoteLocationList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectRemoteLocationListWarning: [Output Only] Informational warning @@ -26520,9 +26607,9 @@ type InterconnectRemoteLocationListWarning struct { NullFields []string `json:"-"` } -func (s *InterconnectRemoteLocationListWarning) MarshalJSON() ([]byte, error) { +func (s InterconnectRemoteLocationListWarning) MarshalJSON() ([]byte, error) { type NoMethod InterconnectRemoteLocationListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectRemoteLocationListWarningData struct { @@ -26549,9 +26636,9 @@ type InterconnectRemoteLocationListWarningData struct { NullFields []string `json:"-"` } -func (s *InterconnectRemoteLocationListWarningData) MarshalJSON() ([]byte, error) { +func (s InterconnectRemoteLocationListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InterconnectRemoteLocationListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectRemoteLocationPermittedConnections struct { @@ -26571,9 +26658,9 @@ type InterconnectRemoteLocationPermittedConnections struct { NullFields []string `json:"-"` } -func (s *InterconnectRemoteLocationPermittedConnections) MarshalJSON() ([]byte, error) { +func (s InterconnectRemoteLocationPermittedConnections) MarshalJSON() ([]byte, error) { type NoMethod InterconnectRemoteLocationPermittedConnections - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectsGetDiagnosticsResponse: Response for the @@ -26596,9 +26683,9 @@ type InterconnectsGetDiagnosticsResponse struct { NullFields []string `json:"-"` } -func (s *InterconnectsGetDiagnosticsResponse) MarshalJSON() ([]byte, error) { +func (s InterconnectsGetDiagnosticsResponse) MarshalJSON() ([]byte, error) { type NoMethod InterconnectsGetDiagnosticsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectsGetMacsecConfigResponse: Response for the @@ -26623,9 +26710,9 @@ type InterconnectsGetMacsecConfigResponse struct { NullFields []string `json:"-"` } -func (s *InterconnectsGetMacsecConfigResponse) MarshalJSON() ([]byte, error) { +func (s InterconnectsGetMacsecConfigResponse) MarshalJSON() ([]byte, error) { type NoMethod InterconnectsGetMacsecConfigResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InternalIpAddress struct { @@ -26662,9 +26749,9 @@ type InternalIpAddress struct { NullFields []string `json:"-"` } -func (s *InternalIpAddress) MarshalJSON() ([]byte, error) { +func (s InternalIpAddress) MarshalJSON() ([]byte, error) { type NoMethod InternalIpAddress - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InternalIpOwner struct { @@ -26687,9 +26774,9 @@ type InternalIpOwner struct { NullFields []string `json:"-"` } -func (s *InternalIpOwner) MarshalJSON() ([]byte, error) { +func (s InternalIpOwner) MarshalJSON() ([]byte, error) { type NoMethod InternalIpOwner - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type IpAddressesList struct { @@ -26726,9 +26813,9 @@ type IpAddressesList struct { NullFields []string `json:"-"` } -func (s *IpAddressesList) MarshalJSON() ([]byte, error) { +func (s IpAddressesList) MarshalJSON() ([]byte, error) { type NoMethod IpAddressesList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // IpAddressesListWarning: [Output Only] Informational warning message. @@ -26811,9 +26898,9 @@ type IpAddressesListWarning struct { NullFields []string `json:"-"` } -func (s *IpAddressesListWarning) MarshalJSON() ([]byte, error) { +func (s IpAddressesListWarning) MarshalJSON() ([]byte, error) { type NoMethod IpAddressesListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type IpAddressesListWarningData struct { @@ -26840,9 +26927,9 @@ type IpAddressesListWarningData struct { NullFields []string `json:"-"` } -func (s *IpAddressesListWarningData) MarshalJSON() ([]byte, error) { +func (s IpAddressesListWarningData) MarshalJSON() ([]byte, error) { type NoMethod IpAddressesListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // IpOwnerList: Contains a list of IP owners. @@ -26880,9 +26967,9 @@ type IpOwnerList struct { NullFields []string `json:"-"` } -func (s *IpOwnerList) MarshalJSON() ([]byte, error) { +func (s IpOwnerList) MarshalJSON() ([]byte, error) { type NoMethod IpOwnerList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // IpOwnerListWarning: [Output Only] Informational warning message. @@ -26965,9 +27052,9 @@ type IpOwnerListWarning struct { NullFields []string `json:"-"` } -func (s *IpOwnerListWarning) MarshalJSON() ([]byte, error) { +func (s IpOwnerListWarning) MarshalJSON() ([]byte, error) { type NoMethod IpOwnerListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type IpOwnerListWarningData struct { @@ -26994,9 +27081,9 @@ type IpOwnerListWarningData struct { NullFields []string `json:"-"` } -func (s *IpOwnerListWarningData) MarshalJSON() ([]byte, error) { +func (s IpOwnerListWarningData) MarshalJSON() ([]byte, error) { type NoMethod IpOwnerListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Jwt: [Deprecated] JWT configuration for origin authentication. JWT @@ -27042,9 +27129,9 @@ type Jwt struct { NullFields []string `json:"-"` } -func (s *Jwt) MarshalJSON() ([]byte, error) { +func (s Jwt) MarshalJSON() ([]byte, error) { type NoMethod Jwt - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // JwtHeader: [Deprecated] This message specifies a header location to extract @@ -27069,9 +27156,9 @@ type JwtHeader struct { NullFields []string `json:"-"` } -func (s *JwtHeader) MarshalJSON() ([]byte, error) { +func (s JwtHeader) MarshalJSON() ([]byte, error) { type NoMethod JwtHeader - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // License: Represents a License resource. A License represents billing and @@ -27124,9 +27211,9 @@ type License struct { NullFields []string `json:"-"` } -func (s *License) MarshalJSON() ([]byte, error) { +func (s License) MarshalJSON() ([]byte, error) { type NoMethod License - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LicenseCode: Represents a License Code resource. A License Code is a unique @@ -27184,9 +27271,9 @@ type LicenseCode struct { NullFields []string `json:"-"` } -func (s *LicenseCode) MarshalJSON() ([]byte, error) { +func (s LicenseCode) MarshalJSON() ([]byte, error) { type NoMethod LicenseCode - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type LicenseCodeLicenseAlias struct { @@ -27207,9 +27294,9 @@ type LicenseCodeLicenseAlias struct { NullFields []string `json:"-"` } -func (s *LicenseCodeLicenseAlias) MarshalJSON() ([]byte, error) { +func (s LicenseCodeLicenseAlias) MarshalJSON() ([]byte, error) { type NoMethod LicenseCodeLicenseAlias - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LicenseResourceCommitment: Commitment for a particular license resource. @@ -27234,9 +27321,9 @@ type LicenseResourceCommitment struct { NullFields []string `json:"-"` } -func (s *LicenseResourceCommitment) MarshalJSON() ([]byte, error) { +func (s LicenseResourceCommitment) MarshalJSON() ([]byte, error) { type NoMethod LicenseResourceCommitment - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type LicenseResourceRequirements struct { @@ -27259,9 +27346,9 @@ type LicenseResourceRequirements struct { NullFields []string `json:"-"` } -func (s *LicenseResourceRequirements) MarshalJSON() ([]byte, error) { +func (s LicenseResourceRequirements) MarshalJSON() ([]byte, error) { type NoMethod LicenseResourceRequirements - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type LicensesListResponse struct { @@ -27295,9 +27382,9 @@ type LicensesListResponse struct { NullFields []string `json:"-"` } -func (s *LicensesListResponse) MarshalJSON() ([]byte, error) { +func (s LicensesListResponse) MarshalJSON() ([]byte, error) { type NoMethod LicensesListResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LicensesListResponseWarning: [Output Only] Informational warning message. @@ -27380,9 +27467,9 @@ type LicensesListResponseWarning struct { NullFields []string `json:"-"` } -func (s *LicensesListResponseWarning) MarshalJSON() ([]byte, error) { +func (s LicensesListResponseWarning) MarshalJSON() ([]byte, error) { type NoMethod LicensesListResponseWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type LicensesListResponseWarningData struct { @@ -27409,9 +27496,9 @@ type LicensesListResponseWarningData struct { NullFields []string `json:"-"` } -func (s *LicensesListResponseWarningData) MarshalJSON() ([]byte, error) { +func (s LicensesListResponseWarningData) MarshalJSON() ([]byte, error) { type NoMethod LicensesListResponseWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type LocalDisk struct { @@ -27436,9 +27523,9 @@ type LocalDisk struct { NullFields []string `json:"-"` } -func (s *LocalDisk) MarshalJSON() ([]byte, error) { +func (s LocalDisk) MarshalJSON() ([]byte, error) { type NoMethod LocalDisk - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LocalizedMessage: Provides a localized error message that is safe to return @@ -27463,9 +27550,9 @@ type LocalizedMessage struct { NullFields []string `json:"-"` } -func (s *LocalizedMessage) MarshalJSON() ([]byte, error) { +func (s LocalizedMessage) MarshalJSON() ([]byte, error) { type NoMethod LocalizedMessage - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LocationPolicy: Configuration for location policy among multiple possible @@ -27506,9 +27593,9 @@ type LocationPolicy struct { NullFields []string `json:"-"` } -func (s *LocationPolicy) MarshalJSON() ([]byte, error) { +func (s LocationPolicy) MarshalJSON() ([]byte, error) { type NoMethod LocationPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type LocationPolicyLocation struct { @@ -27538,9 +27625,9 @@ type LocationPolicyLocation struct { NullFields []string `json:"-"` } -func (s *LocationPolicyLocation) MarshalJSON() ([]byte, error) { +func (s LocationPolicyLocation) MarshalJSON() ([]byte, error) { type NoMethod LocationPolicyLocation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LocationPolicyLocationConstraints: Per-zone constraints on location policy @@ -27562,9 +27649,9 @@ type LocationPolicyLocationConstraints struct { NullFields []string `json:"-"` } -func (s *LocationPolicyLocationConstraints) MarshalJSON() ([]byte, error) { +func (s LocationPolicyLocationConstraints) MarshalJSON() ([]byte, error) { type NoMethod LocationPolicyLocationConstraints - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LogConfig: This is deprecated and has no effect. Do not use. @@ -27588,9 +27675,9 @@ type LogConfig struct { NullFields []string `json:"-"` } -func (s *LogConfig) MarshalJSON() ([]byte, error) { +func (s LogConfig) MarshalJSON() ([]byte, error) { type NoMethod LogConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LogConfigCloudAuditOptions: This is deprecated and has no effect. Do not @@ -27616,9 +27703,9 @@ type LogConfigCloudAuditOptions struct { NullFields []string `json:"-"` } -func (s *LogConfigCloudAuditOptions) MarshalJSON() ([]byte, error) { +func (s LogConfigCloudAuditOptions) MarshalJSON() ([]byte, error) { type NoMethod LogConfigCloudAuditOptions - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LogConfigCounterOptions: This is deprecated and has no effect. Do not use. @@ -27642,9 +27729,9 @@ type LogConfigCounterOptions struct { NullFields []string `json:"-"` } -func (s *LogConfigCounterOptions) MarshalJSON() ([]byte, error) { +func (s LogConfigCounterOptions) MarshalJSON() ([]byte, error) { type NoMethod LogConfigCounterOptions - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LogConfigCounterOptionsCustomField: This is deprecated and has no effect. Do @@ -27667,9 +27754,9 @@ type LogConfigCounterOptionsCustomField struct { NullFields []string `json:"-"` } -func (s *LogConfigCounterOptionsCustomField) MarshalJSON() ([]byte, error) { +func (s LogConfigCounterOptionsCustomField) MarshalJSON() ([]byte, error) { type NoMethod LogConfigCounterOptionsCustomField - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LogConfigDataAccessOptions: This is deprecated and has no effect. Do not @@ -27694,9 +27781,9 @@ type LogConfigDataAccessOptions struct { NullFields []string `json:"-"` } -func (s *LogConfigDataAccessOptions) MarshalJSON() ([]byte, error) { +func (s LogConfigDataAccessOptions) MarshalJSON() ([]byte, error) { type NoMethod LogConfigDataAccessOptions - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MachineImage: Represents a machine image resource. A machine image is a @@ -27799,9 +27886,9 @@ type MachineImage struct { NullFields []string `json:"-"` } -func (s *MachineImage) MarshalJSON() ([]byte, error) { +func (s MachineImage) MarshalJSON() ([]byte, error) { type NoMethod MachineImage - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MachineImageList: A list of machine images. @@ -27839,9 +27926,9 @@ type MachineImageList struct { NullFields []string `json:"-"` } -func (s *MachineImageList) MarshalJSON() ([]byte, error) { +func (s MachineImageList) MarshalJSON() ([]byte, error) { type NoMethod MachineImageList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MachineImageListWarning: [Output Only] Informational warning message. @@ -27924,9 +28011,9 @@ type MachineImageListWarning struct { NullFields []string `json:"-"` } -func (s *MachineImageListWarning) MarshalJSON() ([]byte, error) { +func (s MachineImageListWarning) MarshalJSON() ([]byte, error) { type NoMethod MachineImageListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type MachineImageListWarningData struct { @@ -27953,9 +28040,9 @@ type MachineImageListWarningData struct { NullFields []string `json:"-"` } -func (s *MachineImageListWarningData) MarshalJSON() ([]byte, error) { +func (s MachineImageListWarningData) MarshalJSON() ([]byte, error) { type NoMethod MachineImageListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MachineType: Represents a Machine Type resource. You can use specific @@ -28029,9 +28116,9 @@ type MachineType struct { NullFields []string `json:"-"` } -func (s *MachineType) MarshalJSON() ([]byte, error) { +func (s MachineType) MarshalJSON() ([]byte, error) { type NoMethod MachineType - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type MachineTypeAccelerators struct { @@ -28053,9 +28140,9 @@ type MachineTypeAccelerators struct { NullFields []string `json:"-"` } -func (s *MachineTypeAccelerators) MarshalJSON() ([]byte, error) { +func (s MachineTypeAccelerators) MarshalJSON() ([]byte, error) { type NoMethod MachineTypeAccelerators - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type MachineTypeAggregatedList struct { @@ -28094,9 +28181,9 @@ type MachineTypeAggregatedList struct { NullFields []string `json:"-"` } -func (s *MachineTypeAggregatedList) MarshalJSON() ([]byte, error) { +func (s MachineTypeAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod MachineTypeAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MachineTypeAggregatedListWarning: [Output Only] Informational warning @@ -28180,9 +28267,9 @@ type MachineTypeAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *MachineTypeAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s MachineTypeAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod MachineTypeAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type MachineTypeAggregatedListWarningData struct { @@ -28209,9 +28296,9 @@ type MachineTypeAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *MachineTypeAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s MachineTypeAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod MachineTypeAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MachineTypeList: Contains a list of machine types. @@ -28249,9 +28336,9 @@ type MachineTypeList struct { NullFields []string `json:"-"` } -func (s *MachineTypeList) MarshalJSON() ([]byte, error) { +func (s MachineTypeList) MarshalJSON() ([]byte, error) { type NoMethod MachineTypeList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MachineTypeListWarning: [Output Only] Informational warning message. @@ -28334,9 +28421,9 @@ type MachineTypeListWarning struct { NullFields []string `json:"-"` } -func (s *MachineTypeListWarning) MarshalJSON() ([]byte, error) { +func (s MachineTypeListWarning) MarshalJSON() ([]byte, error) { type NoMethod MachineTypeListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type MachineTypeListWarningData struct { @@ -28363,9 +28450,9 @@ type MachineTypeListWarningData struct { NullFields []string `json:"-"` } -func (s *MachineTypeListWarningData) MarshalJSON() ([]byte, error) { +func (s MachineTypeListWarningData) MarshalJSON() ([]byte, error) { type NoMethod MachineTypeListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type MachineTypesScopedList struct { @@ -28387,9 +28474,9 @@ type MachineTypesScopedList struct { NullFields []string `json:"-"` } -func (s *MachineTypesScopedList) MarshalJSON() ([]byte, error) { +func (s MachineTypesScopedList) MarshalJSON() ([]byte, error) { type NoMethod MachineTypesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MachineTypesScopedListWarning: [Output Only] An informational warning that @@ -28473,9 +28560,9 @@ type MachineTypesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *MachineTypesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s MachineTypesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod MachineTypesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type MachineTypesScopedListWarningData struct { @@ -28502,9 +28589,9 @@ type MachineTypesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *MachineTypesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s MachineTypesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod MachineTypesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ManagedInstance: A Managed Instance resource. @@ -28647,9 +28734,9 @@ type ManagedInstance struct { NullFields []string `json:"-"` } -func (s *ManagedInstance) MarshalJSON() ([]byte, error) { +func (s ManagedInstance) MarshalJSON() ([]byte, error) { type NoMethod ManagedInstance - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *ManagedInstance) UnmarshalJSON(data []byte) error { @@ -28683,9 +28770,9 @@ type ManagedInstanceAllInstancesConfig struct { NullFields []string `json:"-"` } -func (s *ManagedInstanceAllInstancesConfig) MarshalJSON() ([]byte, error) { +func (s ManagedInstanceAllInstancesConfig) MarshalJSON() ([]byte, error) { type NoMethod ManagedInstanceAllInstancesConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ManagedInstanceInstanceFlexibilityOverride struct { @@ -28711,9 +28798,9 @@ type ManagedInstanceInstanceFlexibilityOverride struct { NullFields []string `json:"-"` } -func (s *ManagedInstanceInstanceFlexibilityOverride) MarshalJSON() ([]byte, error) { +func (s ManagedInstanceInstanceFlexibilityOverride) MarshalJSON() ([]byte, error) { type NoMethod ManagedInstanceInstanceFlexibilityOverride - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ManagedInstanceInstanceHealth struct { @@ -28761,9 +28848,9 @@ type ManagedInstanceInstanceHealth struct { NullFields []string `json:"-"` } -func (s *ManagedInstanceInstanceHealth) MarshalJSON() ([]byte, error) { +func (s ManagedInstanceInstanceHealth) MarshalJSON() ([]byte, error) { type NoMethod ManagedInstanceInstanceHealth - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ManagedInstanceLastAttempt struct { @@ -28783,9 +28870,9 @@ type ManagedInstanceLastAttempt struct { NullFields []string `json:"-"` } -func (s *ManagedInstanceLastAttempt) MarshalJSON() ([]byte, error) { +func (s ManagedInstanceLastAttempt) MarshalJSON() ([]byte, error) { type NoMethod ManagedInstanceLastAttempt - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ManagedInstanceLastAttemptErrors: [Output Only] Encountered errors during @@ -28807,9 +28894,9 @@ type ManagedInstanceLastAttemptErrors struct { NullFields []string `json:"-"` } -func (s *ManagedInstanceLastAttemptErrors) MarshalJSON() ([]byte, error) { +func (s ManagedInstanceLastAttemptErrors) MarshalJSON() ([]byte, error) { type NoMethod ManagedInstanceLastAttemptErrors - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ManagedInstanceLastAttemptErrorsErrors struct { @@ -28838,9 +28925,9 @@ type ManagedInstanceLastAttemptErrorsErrors struct { NullFields []string `json:"-"` } -func (s *ManagedInstanceLastAttemptErrorsErrors) MarshalJSON() ([]byte, error) { +func (s ManagedInstanceLastAttemptErrorsErrors) MarshalJSON() ([]byte, error) { type NoMethod ManagedInstanceLastAttemptErrorsErrors - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ManagedInstanceLastAttemptErrorsErrorsErrorDetails struct { @@ -28861,9 +28948,9 @@ type ManagedInstanceLastAttemptErrorsErrorsErrorDetails struct { NullFields []string `json:"-"` } -func (s *ManagedInstanceLastAttemptErrorsErrorsErrorDetails) MarshalJSON() ([]byte, error) { +func (s ManagedInstanceLastAttemptErrorsErrorsErrorDetails) MarshalJSON() ([]byte, error) { type NoMethod ManagedInstanceLastAttemptErrorsErrorsErrorDetails - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ManagedInstancePropertiesFromFlexibilityPolicy struct { @@ -28889,9 +28976,9 @@ type ManagedInstancePropertiesFromFlexibilityPolicy struct { NullFields []string `json:"-"` } -func (s *ManagedInstancePropertiesFromFlexibilityPolicy) MarshalJSON() ([]byte, error) { +func (s ManagedInstancePropertiesFromFlexibilityPolicy) MarshalJSON() ([]byte, error) { type NoMethod ManagedInstancePropertiesFromFlexibilityPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ManagedInstanceVersion struct { @@ -28913,9 +29000,9 @@ type ManagedInstanceVersion struct { NullFields []string `json:"-"` } -func (s *ManagedInstanceVersion) MarshalJSON() ([]byte, error) { +func (s ManagedInstanceVersion) MarshalJSON() ([]byte, error) { type NoMethod ManagedInstanceVersion - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Metadata: A metadata key/value entry. @@ -28947,9 +29034,9 @@ type Metadata struct { NullFields []string `json:"-"` } -func (s *Metadata) MarshalJSON() ([]byte, error) { +func (s Metadata) MarshalJSON() ([]byte, error) { type NoMethod Metadata - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MetadataItems: Metadata @@ -28977,9 +29064,9 @@ type MetadataItems struct { NullFields []string `json:"-"` } -func (s *MetadataItems) MarshalJSON() ([]byte, error) { +func (s MetadataItems) MarshalJSON() ([]byte, error) { type NoMethod MetadataItems - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MetadataCredentialsFromPlugin: [Deprecated] Custom authenticator @@ -29003,9 +29090,9 @@ type MetadataCredentialsFromPlugin struct { NullFields []string `json:"-"` } -func (s *MetadataCredentialsFromPlugin) MarshalJSON() ([]byte, error) { +func (s MetadataCredentialsFromPlugin) MarshalJSON() ([]byte, error) { type NoMethod MetadataCredentialsFromPlugin - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MetadataFilter: Opaque filter criteria used by load balancers to restrict @@ -29053,9 +29140,9 @@ type MetadataFilter struct { NullFields []string `json:"-"` } -func (s *MetadataFilter) MarshalJSON() ([]byte, error) { +func (s MetadataFilter) MarshalJSON() ([]byte, error) { type NoMethod MetadataFilter - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MetadataFilterLabelMatch: MetadataFilter label name value pairs that are @@ -29081,9 +29168,9 @@ type MetadataFilterLabelMatch struct { NullFields []string `json:"-"` } -func (s *MetadataFilterLabelMatch) MarshalJSON() ([]byte, error) { +func (s MetadataFilterLabelMatch) MarshalJSON() ([]byte, error) { type NoMethod MetadataFilterLabelMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Money: Represents an amount of money with its currency type. @@ -29112,9 +29199,9 @@ type Money struct { NullFields []string `json:"-"` } -func (s *Money) MarshalJSON() ([]byte, error) { +func (s Money) MarshalJSON() ([]byte, error) { type NoMethod Money - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MultiMig: MultiMIG represents a group of Managed Instance Groups. @@ -29169,9 +29256,9 @@ type MultiMig struct { NullFields []string `json:"-"` } -func (s *MultiMig) MarshalJSON() ([]byte, error) { +func (s MultiMig) MarshalJSON() ([]byte, error) { type NoMethod MultiMig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MultiMigLocationPolicy: Policy regarding where to create MIGs Initially only @@ -29193,9 +29280,9 @@ type MultiMigLocationPolicy struct { NullFields []string `json:"-"` } -func (s *MultiMigLocationPolicy) MarshalJSON() ([]byte, error) { +func (s MultiMigLocationPolicy) MarshalJSON() ([]byte, error) { type NoMethod MultiMigLocationPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MultiMigPart: Config for an MMIG part. @@ -29219,9 +29306,9 @@ type MultiMigPart struct { NullFields []string `json:"-"` } -func (s *MultiMigPart) MarshalJSON() ([]byte, error) { +func (s MultiMigPart) MarshalJSON() ([]byte, error) { type NoMethod MultiMigPart - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MultiMigSchedulingPolicy: Policy for handling provisioning and other @@ -29247,9 +29334,9 @@ type MultiMigSchedulingPolicy struct { NullFields []string `json:"-"` } -func (s *MultiMigSchedulingPolicy) MarshalJSON() ([]byte, error) { +func (s MultiMigSchedulingPolicy) MarshalJSON() ([]byte, error) { type NoMethod MultiMigSchedulingPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type MultiMigsList struct { @@ -29287,9 +29374,9 @@ type MultiMigsList struct { NullFields []string `json:"-"` } -func (s *MultiMigsList) MarshalJSON() ([]byte, error) { +func (s MultiMigsList) MarshalJSON() ([]byte, error) { type NoMethod MultiMigsList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MultiMigsListWarning: Informational warning message. @@ -29372,9 +29459,9 @@ type MultiMigsListWarning struct { NullFields []string `json:"-"` } -func (s *MultiMigsListWarning) MarshalJSON() ([]byte, error) { +func (s MultiMigsListWarning) MarshalJSON() ([]byte, error) { type NoMethod MultiMigsListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type MultiMigsListWarningData struct { @@ -29401,9 +29488,9 @@ type MultiMigsListWarningData struct { NullFields []string `json:"-"` } -func (s *MultiMigsListWarningData) MarshalJSON() ([]byte, error) { +func (s MultiMigsListWarningData) MarshalJSON() ([]byte, error) { type NoMethod MultiMigsListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MutualTls: [Deprecated] Configuration for the mutual Tls mode for peer @@ -29434,9 +29521,9 @@ type MutualTls struct { NullFields []string `json:"-"` } -func (s *MutualTls) MarshalJSON() ([]byte, error) { +func (s MutualTls) MarshalJSON() ([]byte, error) { type NoMethod MutualTls - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NamedPort: The named port. For example: <"http", 80>. @@ -29459,9 +29546,9 @@ type NamedPort struct { NullFields []string `json:"-"` } -func (s *NamedPort) MarshalJSON() ([]byte, error) { +func (s NamedPort) MarshalJSON() ([]byte, error) { type NoMethod NamedPort - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NamedSet struct { @@ -29497,9 +29584,9 @@ type NamedSet struct { NullFields []string `json:"-"` } -func (s *NamedSet) MarshalJSON() ([]byte, error) { +func (s NamedSet) MarshalJSON() ([]byte, error) { type NoMethod NamedSet - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NatIpInfo: Contains NAT IP information of a NAT config (i.e. usage status, @@ -29522,9 +29609,9 @@ type NatIpInfo struct { NullFields []string `json:"-"` } -func (s *NatIpInfo) MarshalJSON() ([]byte, error) { +func (s NatIpInfo) MarshalJSON() ([]byte, error) { type NoMethod NatIpInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NatIpInfoNatIpInfoMapping: Contains information of a NAT IP. @@ -29557,9 +29644,9 @@ type NatIpInfoNatIpInfoMapping struct { NullFields []string `json:"-"` } -func (s *NatIpInfoNatIpInfoMapping) MarshalJSON() ([]byte, error) { +func (s NatIpInfoNatIpInfoMapping) MarshalJSON() ([]byte, error) { type NoMethod NatIpInfoNatIpInfoMapping - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NatIpInfoResponse struct { @@ -29581,9 +29668,9 @@ type NatIpInfoResponse struct { NullFields []string `json:"-"` } -func (s *NatIpInfoResponse) MarshalJSON() ([]byte, error) { +func (s NatIpInfoResponse) MarshalJSON() ([]byte, error) { type NoMethod NatIpInfoResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Network: Represents a VPC Network resource. Networks connect resources to @@ -29699,9 +29786,9 @@ type Network struct { NullFields []string `json:"-"` } -func (s *Network) MarshalJSON() ([]byte, error) { +func (s Network) MarshalJSON() ([]byte, error) { type NoMethod Network - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkAttachment: NetworkAttachments A network attachment resource ... @@ -29778,9 +29865,9 @@ type NetworkAttachment struct { NullFields []string `json:"-"` } -func (s *NetworkAttachment) MarshalJSON() ([]byte, error) { +func (s NetworkAttachment) MarshalJSON() ([]byte, error) { type NoMethod NetworkAttachment - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkAttachmentAggregatedList: Contains a list of @@ -29817,9 +29904,9 @@ type NetworkAttachmentAggregatedList struct { NullFields []string `json:"-"` } -func (s *NetworkAttachmentAggregatedList) MarshalJSON() ([]byte, error) { +func (s NetworkAttachmentAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod NetworkAttachmentAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkAttachmentAggregatedListWarning: [Output Only] Informational warning @@ -29903,9 +29990,9 @@ type NetworkAttachmentAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *NetworkAttachmentAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s NetworkAttachmentAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NetworkAttachmentAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkAttachmentAggregatedListWarningData struct { @@ -29932,9 +30019,9 @@ type NetworkAttachmentAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *NetworkAttachmentAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s NetworkAttachmentAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NetworkAttachmentAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkAttachmentConnectedEndpoint: [Output Only] A connection connected to @@ -29985,9 +30072,9 @@ type NetworkAttachmentConnectedEndpoint struct { NullFields []string `json:"-"` } -func (s *NetworkAttachmentConnectedEndpoint) MarshalJSON() ([]byte, error) { +func (s NetworkAttachmentConnectedEndpoint) MarshalJSON() ([]byte, error) { type NoMethod NetworkAttachmentConnectedEndpoint - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkAttachmentList struct { @@ -30022,9 +30109,9 @@ type NetworkAttachmentList struct { NullFields []string `json:"-"` } -func (s *NetworkAttachmentList) MarshalJSON() ([]byte, error) { +func (s NetworkAttachmentList) MarshalJSON() ([]byte, error) { type NoMethod NetworkAttachmentList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkAttachmentListWarning: [Output Only] Informational warning message. @@ -30107,9 +30194,9 @@ type NetworkAttachmentListWarning struct { NullFields []string `json:"-"` } -func (s *NetworkAttachmentListWarning) MarshalJSON() ([]byte, error) { +func (s NetworkAttachmentListWarning) MarshalJSON() ([]byte, error) { type NoMethod NetworkAttachmentListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkAttachmentListWarningData struct { @@ -30136,9 +30223,9 @@ type NetworkAttachmentListWarningData struct { NullFields []string `json:"-"` } -func (s *NetworkAttachmentListWarningData) MarshalJSON() ([]byte, error) { +func (s NetworkAttachmentListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NetworkAttachmentListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkAttachmentsScopedList struct { @@ -30160,9 +30247,9 @@ type NetworkAttachmentsScopedList struct { NullFields []string `json:"-"` } -func (s *NetworkAttachmentsScopedList) MarshalJSON() ([]byte, error) { +func (s NetworkAttachmentsScopedList) MarshalJSON() ([]byte, error) { type NoMethod NetworkAttachmentsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkAttachmentsScopedListWarning: Informational warning which replaces @@ -30246,9 +30333,9 @@ type NetworkAttachmentsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *NetworkAttachmentsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s NetworkAttachmentsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NetworkAttachmentsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkAttachmentsScopedListWarningData struct { @@ -30275,9 +30362,9 @@ type NetworkAttachmentsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *NetworkAttachmentsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s NetworkAttachmentsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NetworkAttachmentsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEdgeSecurityService: Represents a Google Cloud Armor network edge @@ -30338,9 +30425,9 @@ type NetworkEdgeSecurityService struct { NullFields []string `json:"-"` } -func (s *NetworkEdgeSecurityService) MarshalJSON() ([]byte, error) { +func (s NetworkEdgeSecurityService) MarshalJSON() ([]byte, error) { type NoMethod NetworkEdgeSecurityService - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEdgeSecurityServiceAggregatedList struct { @@ -30381,9 +30468,9 @@ type NetworkEdgeSecurityServiceAggregatedList struct { NullFields []string `json:"-"` } -func (s *NetworkEdgeSecurityServiceAggregatedList) MarshalJSON() ([]byte, error) { +func (s NetworkEdgeSecurityServiceAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod NetworkEdgeSecurityServiceAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEdgeSecurityServiceAggregatedListWarning: [Output Only] Informational @@ -30467,9 +30554,9 @@ type NetworkEdgeSecurityServiceAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *NetworkEdgeSecurityServiceAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s NetworkEdgeSecurityServiceAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NetworkEdgeSecurityServiceAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEdgeSecurityServiceAggregatedListWarningData struct { @@ -30496,9 +30583,9 @@ type NetworkEdgeSecurityServiceAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *NetworkEdgeSecurityServiceAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s NetworkEdgeSecurityServiceAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NetworkEdgeSecurityServiceAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEdgeSecurityServicesScopedList struct { @@ -30521,9 +30608,9 @@ type NetworkEdgeSecurityServicesScopedList struct { NullFields []string `json:"-"` } -func (s *NetworkEdgeSecurityServicesScopedList) MarshalJSON() ([]byte, error) { +func (s NetworkEdgeSecurityServicesScopedList) MarshalJSON() ([]byte, error) { type NoMethod NetworkEdgeSecurityServicesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEdgeSecurityServicesScopedListWarning: Informational warning which @@ -30607,9 +30694,9 @@ type NetworkEdgeSecurityServicesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *NetworkEdgeSecurityServicesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s NetworkEdgeSecurityServicesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NetworkEdgeSecurityServicesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEdgeSecurityServicesScopedListWarningData struct { @@ -30636,9 +30723,9 @@ type NetworkEdgeSecurityServicesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *NetworkEdgeSecurityServicesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s NetworkEdgeSecurityServicesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NetworkEdgeSecurityServicesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpoint: The network endpoint. @@ -30649,10 +30736,6 @@ type NetworkEndpoint struct { // sends packets. Only valid for network endpoint groups created with // GCE_VM_IP_PORTMAP endpoint type. ClientDestinationPort int64 `json:"clientDestinationPort,omitempty"` - // ClientPort: Represents the port number to which PSC consumer sends packets. - // Only valid for network endpoint groups created with CLIENT_PORT_PER_ENDPOINT - // mapping mode. - ClientPort int64 `json:"clientPort,omitempty"` // Fqdn: Optional fully qualified domain name of network endpoint. This can // only be specified when NetworkEndpointGroup.network_endpoint_type is // NON_GCP_FQDN_PORT. @@ -30699,9 +30782,9 @@ type NetworkEndpoint struct { NullFields []string `json:"-"` } -func (s *NetworkEndpoint) MarshalJSON() ([]byte, error) { +func (s NetworkEndpoint) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpoint - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpointGroup: Represents a collection of network endpoints. A @@ -30715,15 +30798,6 @@ type NetworkEndpointGroup struct { // AppEngine: Only valid when networkEndpointType is SERVERLESS. Only one of // cloudRun, appEngine or cloudFunction may be set. AppEngine *NetworkEndpointGroupAppEngine `json:"appEngine,omitempty"` - // ClientPortMappingMode: Only valid when networkEndpointType is GCE_VM_IP_PORT - // and the NEG is regional. - // - // Possible values: - // "CLIENT_PORT_PER_ENDPOINT" - For each endpoint there is exactly one client - // port. - // "PORT_MAPPING_DISABLED" - NEG should not be used for mapping client port - // to destination. - ClientPortMappingMode string `json:"clientPortMappingMode,omitempty"` // CloudFunction: Only valid when networkEndpointType is SERVERLESS. Only one // of cloudRun, appEngine or cloudFunction may be set. CloudFunction *NetworkEndpointGroupCloudFunction `json:"cloudFunction,omitempty"` @@ -30832,9 +30906,9 @@ type NetworkEndpointGroup struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroup) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroup) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroup - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupAggregatedList struct { @@ -30874,9 +30948,9 @@ type NetworkEndpointGroupAggregatedList struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupAggregatedList) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpointGroupAggregatedListWarning: [Output Only] Informational @@ -30960,9 +31034,9 @@ type NetworkEndpointGroupAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupAggregatedListWarningData struct { @@ -30989,9 +31063,9 @@ type NetworkEndpointGroupAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpointGroupAppEngine: Configuration for an App Engine network @@ -31029,9 +31103,9 @@ type NetworkEndpointGroupAppEngine struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupAppEngine) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupAppEngine) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupAppEngine - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpointGroupCloudFunction: Configuration for a Cloud Function @@ -31063,9 +31137,9 @@ type NetworkEndpointGroupCloudFunction struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupCloudFunction) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupCloudFunction) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupCloudFunction - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpointGroupCloudRun: Configuration for a Cloud Run network endpoint @@ -31105,9 +31179,9 @@ type NetworkEndpointGroupCloudRun struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupCloudRun) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupCloudRun) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupCloudRun - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpointGroupLbNetworkEndpointGroup: Load balancing specific fields @@ -31141,9 +31215,9 @@ type NetworkEndpointGroupLbNetworkEndpointGroup struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupLbNetworkEndpointGroup) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupLbNetworkEndpointGroup) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupLbNetworkEndpointGroup - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupList struct { @@ -31180,9 +31254,9 @@ type NetworkEndpointGroupList struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupList) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupList) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpointGroupListWarning: [Output Only] Informational warning @@ -31266,9 +31340,9 @@ type NetworkEndpointGroupListWarning struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupListWarning) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupListWarning) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupListWarningData struct { @@ -31295,9 +31369,9 @@ type NetworkEndpointGroupListWarningData struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupListWarningData) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpointGroupPscData: All data that is specifically relevant to only @@ -31341,9 +31415,9 @@ type NetworkEndpointGroupPscData struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupPscData) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupPscData) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupPscData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpointGroupServerlessDeployment: Configuration for a serverless @@ -31386,9 +31460,9 @@ type NetworkEndpointGroupServerlessDeployment struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupServerlessDeployment) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupServerlessDeployment) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupServerlessDeployment - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupsAttachEndpointsRequest struct { @@ -31407,9 +31481,9 @@ type NetworkEndpointGroupsAttachEndpointsRequest struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupsAttachEndpointsRequest) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupsAttachEndpointsRequest) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupsAttachEndpointsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupsDetachEndpointsRequest struct { @@ -31428,9 +31502,9 @@ type NetworkEndpointGroupsDetachEndpointsRequest struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupsDetachEndpointsRequest) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupsDetachEndpointsRequest) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupsDetachEndpointsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupsListEndpointsRequest struct { @@ -31461,9 +31535,9 @@ type NetworkEndpointGroupsListEndpointsRequest struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupsListEndpointsRequest) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupsListEndpointsRequest) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupsListEndpointsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter struct { @@ -31481,9 +31555,9 @@ type NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupsListNetworkEndpoints struct { @@ -31519,9 +31593,9 @@ type NetworkEndpointGroupsListNetworkEndpoints struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupsListNetworkEndpoints) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupsListNetworkEndpoints) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupsListNetworkEndpoints - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpointGroupsListNetworkEndpointsWarning: [Output Only] @@ -31605,9 +31679,9 @@ type NetworkEndpointGroupsListNetworkEndpointsWarning struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupsListNetworkEndpointsWarning) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupsListNetworkEndpointsWarning) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupsListNetworkEndpointsWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupsListNetworkEndpointsWarningData struct { @@ -31634,9 +31708,9 @@ type NetworkEndpointGroupsListNetworkEndpointsWarningData struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupsListNetworkEndpointsWarningData) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupsListNetworkEndpointsWarningData) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupsListNetworkEndpointsWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupsScopedList struct { @@ -31659,9 +31733,9 @@ type NetworkEndpointGroupsScopedList struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupsScopedList) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupsScopedList) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpointGroupsScopedListWarning: [Output Only] An informational @@ -31746,9 +31820,9 @@ type NetworkEndpointGroupsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupsScopedListWarningData struct { @@ -31775,9 +31849,9 @@ type NetworkEndpointGroupsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointWithHealthStatus struct { @@ -31798,9 +31872,9 @@ type NetworkEndpointWithHealthStatus struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointWithHealthStatus) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointWithHealthStatus) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointWithHealthStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkInterface: A network interface resource attached to an instance. @@ -31931,9 +32005,9 @@ type NetworkInterface struct { NullFields []string `json:"-"` } -func (s *NetworkInterface) MarshalJSON() ([]byte, error) { +func (s NetworkInterface) MarshalJSON() ([]byte, error) { type NoMethod NetworkInterface - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkInterfaceSubInterface struct { @@ -31970,9 +32044,9 @@ type NetworkInterfaceSubInterface struct { NullFields []string `json:"-"` } -func (s *NetworkInterfaceSubInterface) MarshalJSON() ([]byte, error) { +func (s NetworkInterfaceSubInterface) MarshalJSON() ([]byte, error) { type NoMethod NetworkInterfaceSubInterface - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkList: Contains a list of networks. @@ -32010,9 +32084,9 @@ type NetworkList struct { NullFields []string `json:"-"` } -func (s *NetworkList) MarshalJSON() ([]byte, error) { +func (s NetworkList) MarshalJSON() ([]byte, error) { type NoMethod NetworkList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkListWarning: [Output Only] Informational warning message. @@ -32095,9 +32169,9 @@ type NetworkListWarning struct { NullFields []string `json:"-"` } -func (s *NetworkListWarning) MarshalJSON() ([]byte, error) { +func (s NetworkListWarning) MarshalJSON() ([]byte, error) { type NoMethod NetworkListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkListWarningData struct { @@ -32124,9 +32198,9 @@ type NetworkListWarningData struct { NullFields []string `json:"-"` } -func (s *NetworkListWarningData) MarshalJSON() ([]byte, error) { +func (s NetworkListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NetworkListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkPeering: A network peering attached to a network resource. The @@ -32214,9 +32288,9 @@ type NetworkPeering struct { NullFields []string `json:"-"` } -func (s *NetworkPeering) MarshalJSON() ([]byte, error) { +func (s NetworkPeering) MarshalJSON() ([]byte, error) { type NoMethod NetworkPeering - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkPerformanceConfig struct { @@ -32241,9 +32315,9 @@ type NetworkPerformanceConfig struct { NullFields []string `json:"-"` } -func (s *NetworkPerformanceConfig) MarshalJSON() ([]byte, error) { +func (s NetworkPerformanceConfig) MarshalJSON() ([]byte, error) { type NoMethod NetworkPerformanceConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkPlacement: NetworkPlacement represents a Google managed network @@ -32286,9 +32360,9 @@ type NetworkPlacement struct { NullFields []string `json:"-"` } -func (s *NetworkPlacement) MarshalJSON() ([]byte, error) { +func (s NetworkPlacement) MarshalJSON() ([]byte, error) { type NoMethod NetworkPlacement - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkPlacementNetworkFeatures struct { @@ -32421,9 +32495,9 @@ type NetworkPlacementNetworkFeatures struct { NullFields []string `json:"-"` } -func (s *NetworkPlacementNetworkFeatures) MarshalJSON() ([]byte, error) { +func (s NetworkPlacementNetworkFeatures) MarshalJSON() ([]byte, error) { type NoMethod NetworkPlacementNetworkFeatures - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkPlacementsListResponse: Contains a list of network placements. @@ -32465,9 +32539,9 @@ type NetworkPlacementsListResponse struct { NullFields []string `json:"-"` } -func (s *NetworkPlacementsListResponse) MarshalJSON() ([]byte, error) { +func (s NetworkPlacementsListResponse) MarshalJSON() ([]byte, error) { type NoMethod NetworkPlacementsListResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkPlacementsListResponseWarning: [Output Only] Informational warning @@ -32551,9 +32625,9 @@ type NetworkPlacementsListResponseWarning struct { NullFields []string `json:"-"` } -func (s *NetworkPlacementsListResponseWarning) MarshalJSON() ([]byte, error) { +func (s NetworkPlacementsListResponseWarning) MarshalJSON() ([]byte, error) { type NoMethod NetworkPlacementsListResponseWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkPlacementsListResponseWarningData struct { @@ -32580,9 +32654,9 @@ type NetworkPlacementsListResponseWarningData struct { NullFields []string `json:"-"` } -func (s *NetworkPlacementsListResponseWarningData) MarshalJSON() ([]byte, error) { +func (s NetworkPlacementsListResponseWarningData) MarshalJSON() ([]byte, error) { type NoMethod NetworkPlacementsListResponseWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkProfile: NetworkProfile represents a Google managed network profile @@ -32625,9 +32699,9 @@ type NetworkProfile struct { NullFields []string `json:"-"` } -func (s *NetworkProfile) MarshalJSON() ([]byte, error) { +func (s NetworkProfile) MarshalJSON() ([]byte, error) { type NoMethod NetworkProfile - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkProfileNetworkFeatures struct { @@ -32810,9 +32884,9 @@ type NetworkProfileNetworkFeatures struct { NullFields []string `json:"-"` } -func (s *NetworkProfileNetworkFeatures) MarshalJSON() ([]byte, error) { +func (s NetworkProfileNetworkFeatures) MarshalJSON() ([]byte, error) { type NoMethod NetworkProfileNetworkFeatures - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkProfilesListResponse: Contains a list of network profiles. @@ -32854,9 +32928,9 @@ type NetworkProfilesListResponse struct { NullFields []string `json:"-"` } -func (s *NetworkProfilesListResponse) MarshalJSON() ([]byte, error) { +func (s NetworkProfilesListResponse) MarshalJSON() ([]byte, error) { type NoMethod NetworkProfilesListResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkProfilesListResponseWarning: [Output Only] Informational warning @@ -32940,9 +33014,9 @@ type NetworkProfilesListResponseWarning struct { NullFields []string `json:"-"` } -func (s *NetworkProfilesListResponseWarning) MarshalJSON() ([]byte, error) { +func (s NetworkProfilesListResponseWarning) MarshalJSON() ([]byte, error) { type NoMethod NetworkProfilesListResponseWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkProfilesListResponseWarningData struct { @@ -32969,9 +33043,9 @@ type NetworkProfilesListResponseWarningData struct { NullFields []string `json:"-"` } -func (s *NetworkProfilesListResponseWarningData) MarshalJSON() ([]byte, error) { +func (s NetworkProfilesListResponseWarningData) MarshalJSON() ([]byte, error) { type NoMethod NetworkProfilesListResponseWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkRoutingConfig: A routing configuration attached to a network @@ -33022,9 +33096,9 @@ type NetworkRoutingConfig struct { NullFields []string `json:"-"` } -func (s *NetworkRoutingConfig) MarshalJSON() ([]byte, error) { +func (s NetworkRoutingConfig) MarshalJSON() ([]byte, error) { type NoMethod NetworkRoutingConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworksAddPeeringRequest struct { @@ -33069,9 +33143,9 @@ type NetworksAddPeeringRequest struct { NullFields []string `json:"-"` } -func (s *NetworksAddPeeringRequest) MarshalJSON() ([]byte, error) { +func (s NetworksAddPeeringRequest) MarshalJSON() ([]byte, error) { type NoMethod NetworksAddPeeringRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworksGetEffectiveFirewallsResponse struct { @@ -33097,9 +33171,9 @@ type NetworksGetEffectiveFirewallsResponse struct { NullFields []string `json:"-"` } -func (s *NetworksGetEffectiveFirewallsResponse) MarshalJSON() ([]byte, error) { +func (s NetworksGetEffectiveFirewallsResponse) MarshalJSON() ([]byte, error) { type NoMethod NetworksGetEffectiveFirewallsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy struct { @@ -33136,9 +33210,9 @@ type NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy struct { NullFields []string `json:"-"` } -func (s *NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy) MarshalJSON() ([]byte, error) { +func (s NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy) MarshalJSON() ([]byte, error) { type NoMethod NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy: A pruned @@ -33162,9 +33236,9 @@ type NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy struct { NullFields []string `json:"-"` } -func (s *NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy) MarshalJSON() ([]byte, error) { +func (s NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy) MarshalJSON() ([]byte, error) { type NoMethod NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworksRemovePeeringRequest struct { @@ -33183,9 +33257,9 @@ type NetworksRemovePeeringRequest struct { NullFields []string `json:"-"` } -func (s *NetworksRemovePeeringRequest) MarshalJSON() ([]byte, error) { +func (s NetworksRemovePeeringRequest) MarshalJSON() ([]byte, error) { type NoMethod NetworksRemovePeeringRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworksUpdatePeeringRequest struct { @@ -33203,9 +33277,9 @@ type NetworksUpdatePeeringRequest struct { NullFields []string `json:"-"` } -func (s *NetworksUpdatePeeringRequest) MarshalJSON() ([]byte, error) { +func (s NetworksUpdatePeeringRequest) MarshalJSON() ([]byte, error) { type NoMethod NetworksUpdatePeeringRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeGroup: Represents a sole-tenant Node Group resource. A sole-tenant node @@ -33317,9 +33391,9 @@ type NodeGroup struct { NullFields []string `json:"-"` } -func (s *NodeGroup) MarshalJSON() ([]byte, error) { +func (s NodeGroup) MarshalJSON() ([]byte, error) { type NoMethod NodeGroup - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupAggregatedList struct { @@ -33358,9 +33432,9 @@ type NodeGroupAggregatedList struct { NullFields []string `json:"-"` } -func (s *NodeGroupAggregatedList) MarshalJSON() ([]byte, error) { +func (s NodeGroupAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeGroupAggregatedListWarning: [Output Only] Informational warning message. @@ -33443,9 +33517,9 @@ type NodeGroupAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *NodeGroupAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s NodeGroupAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupAggregatedListWarningData struct { @@ -33472,9 +33546,9 @@ type NodeGroupAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *NodeGroupAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s NodeGroupAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupAutoscalingPolicy struct { @@ -33506,9 +33580,9 @@ type NodeGroupAutoscalingPolicy struct { NullFields []string `json:"-"` } -func (s *NodeGroupAutoscalingPolicy) MarshalJSON() ([]byte, error) { +func (s NodeGroupAutoscalingPolicy) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupAutoscalingPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeGroupList: Contains a list of nodeGroups. @@ -33546,9 +33620,9 @@ type NodeGroupList struct { NullFields []string `json:"-"` } -func (s *NodeGroupList) MarshalJSON() ([]byte, error) { +func (s NodeGroupList) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeGroupListWarning: [Output Only] Informational warning message. @@ -33631,9 +33705,9 @@ type NodeGroupListWarning struct { NullFields []string `json:"-"` } -func (s *NodeGroupListWarning) MarshalJSON() ([]byte, error) { +func (s NodeGroupListWarning) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupListWarningData struct { @@ -33660,9 +33734,9 @@ type NodeGroupListWarningData struct { NullFields []string `json:"-"` } -func (s *NodeGroupListWarningData) MarshalJSON() ([]byte, error) { +func (s NodeGroupListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeGroupMaintenanceWindow: Time window specified for daily maintenance @@ -33691,9 +33765,9 @@ type NodeGroupMaintenanceWindow struct { NullFields []string `json:"-"` } -func (s *NodeGroupMaintenanceWindow) MarshalJSON() ([]byte, error) { +func (s NodeGroupMaintenanceWindow) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupMaintenanceWindow - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupNode struct { @@ -33750,9 +33824,9 @@ type NodeGroupNode struct { NullFields []string `json:"-"` } -func (s *NodeGroupNode) MarshalJSON() ([]byte, error) { +func (s NodeGroupNode) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupNode - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupsAddNodesRequest struct { @@ -33772,9 +33846,9 @@ type NodeGroupsAddNodesRequest struct { NullFields []string `json:"-"` } -func (s *NodeGroupsAddNodesRequest) MarshalJSON() ([]byte, error) { +func (s NodeGroupsAddNodesRequest) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupsAddNodesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupsDeleteNodesRequest struct { @@ -33793,9 +33867,9 @@ type NodeGroupsDeleteNodesRequest struct { NullFields []string `json:"-"` } -func (s *NodeGroupsDeleteNodesRequest) MarshalJSON() ([]byte, error) { +func (s NodeGroupsDeleteNodesRequest) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupsDeleteNodesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupsListNodes struct { @@ -33833,9 +33907,9 @@ type NodeGroupsListNodes struct { NullFields []string `json:"-"` } -func (s *NodeGroupsListNodes) MarshalJSON() ([]byte, error) { +func (s NodeGroupsListNodes) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupsListNodes - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeGroupsListNodesWarning: [Output Only] Informational warning message. @@ -33918,9 +33992,9 @@ type NodeGroupsListNodesWarning struct { NullFields []string `json:"-"` } -func (s *NodeGroupsListNodesWarning) MarshalJSON() ([]byte, error) { +func (s NodeGroupsListNodesWarning) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupsListNodesWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupsListNodesWarningData struct { @@ -33947,9 +34021,9 @@ type NodeGroupsListNodesWarningData struct { NullFields []string `json:"-"` } -func (s *NodeGroupsListNodesWarningData) MarshalJSON() ([]byte, error) { +func (s NodeGroupsListNodesWarningData) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupsListNodesWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupsPerformMaintenanceRequest struct { @@ -33971,9 +34045,9 @@ type NodeGroupsPerformMaintenanceRequest struct { NullFields []string `json:"-"` } -func (s *NodeGroupsPerformMaintenanceRequest) MarshalJSON() ([]byte, error) { +func (s NodeGroupsPerformMaintenanceRequest) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupsPerformMaintenanceRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupsScopedList struct { @@ -33995,9 +34069,9 @@ type NodeGroupsScopedList struct { NullFields []string `json:"-"` } -func (s *NodeGroupsScopedList) MarshalJSON() ([]byte, error) { +func (s NodeGroupsScopedList) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeGroupsScopedListWarning: [Output Only] An informational warning that @@ -34081,9 +34155,9 @@ type NodeGroupsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *NodeGroupsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s NodeGroupsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupsScopedListWarningData struct { @@ -34110,9 +34184,9 @@ type NodeGroupsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *NodeGroupsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s NodeGroupsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupsSetNodeTemplateRequest struct { @@ -34132,9 +34206,9 @@ type NodeGroupsSetNodeTemplateRequest struct { NullFields []string `json:"-"` } -func (s *NodeGroupsSetNodeTemplateRequest) MarshalJSON() ([]byte, error) { +func (s NodeGroupsSetNodeTemplateRequest) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupsSetNodeTemplateRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupsSimulateMaintenanceEventRequest struct { @@ -34153,9 +34227,9 @@ type NodeGroupsSimulateMaintenanceEventRequest struct { NullFields []string `json:"-"` } -func (s *NodeGroupsSimulateMaintenanceEventRequest) MarshalJSON() ([]byte, error) { +func (s NodeGroupsSimulateMaintenanceEventRequest) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupsSimulateMaintenanceEventRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeTemplate: Represent a sole-tenant Node Template resource. You can use a @@ -34240,9 +34314,9 @@ type NodeTemplate struct { NullFields []string `json:"-"` } -func (s *NodeTemplate) MarshalJSON() ([]byte, error) { +func (s NodeTemplate) MarshalJSON() ([]byte, error) { type NoMethod NodeTemplate - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeTemplateAggregatedList struct { @@ -34281,9 +34355,9 @@ type NodeTemplateAggregatedList struct { NullFields []string `json:"-"` } -func (s *NodeTemplateAggregatedList) MarshalJSON() ([]byte, error) { +func (s NodeTemplateAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod NodeTemplateAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeTemplateAggregatedListWarning: [Output Only] Informational warning @@ -34367,9 +34441,9 @@ type NodeTemplateAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *NodeTemplateAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s NodeTemplateAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NodeTemplateAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeTemplateAggregatedListWarningData struct { @@ -34396,9 +34470,9 @@ type NodeTemplateAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *NodeTemplateAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s NodeTemplateAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NodeTemplateAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeTemplateList: Contains a list of node templates. @@ -34436,9 +34510,9 @@ type NodeTemplateList struct { NullFields []string `json:"-"` } -func (s *NodeTemplateList) MarshalJSON() ([]byte, error) { +func (s NodeTemplateList) MarshalJSON() ([]byte, error) { type NoMethod NodeTemplateList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeTemplateListWarning: [Output Only] Informational warning message. @@ -34521,9 +34595,9 @@ type NodeTemplateListWarning struct { NullFields []string `json:"-"` } -func (s *NodeTemplateListWarning) MarshalJSON() ([]byte, error) { +func (s NodeTemplateListWarning) MarshalJSON() ([]byte, error) { type NoMethod NodeTemplateListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeTemplateListWarningData struct { @@ -34550,9 +34624,9 @@ type NodeTemplateListWarningData struct { NullFields []string `json:"-"` } -func (s *NodeTemplateListWarningData) MarshalJSON() ([]byte, error) { +func (s NodeTemplateListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NodeTemplateListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeTemplateNodeTypeFlexibility struct { @@ -34572,9 +34646,9 @@ type NodeTemplateNodeTypeFlexibility struct { NullFields []string `json:"-"` } -func (s *NodeTemplateNodeTypeFlexibility) MarshalJSON() ([]byte, error) { +func (s NodeTemplateNodeTypeFlexibility) MarshalJSON() ([]byte, error) { type NoMethod NodeTemplateNodeTypeFlexibility - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeTemplatesScopedList struct { @@ -34597,9 +34671,9 @@ type NodeTemplatesScopedList struct { NullFields []string `json:"-"` } -func (s *NodeTemplatesScopedList) MarshalJSON() ([]byte, error) { +func (s NodeTemplatesScopedList) MarshalJSON() ([]byte, error) { type NoMethod NodeTemplatesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeTemplatesScopedListWarning: [Output Only] An informational warning that @@ -34683,9 +34757,9 @@ type NodeTemplatesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *NodeTemplatesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s NodeTemplatesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NodeTemplatesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeTemplatesScopedListWarningData struct { @@ -34712,9 +34786,9 @@ type NodeTemplatesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *NodeTemplatesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s NodeTemplatesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NodeTemplatesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeType: Represent a sole-tenant Node Type resource. Each node within a @@ -34773,9 +34847,9 @@ type NodeType struct { NullFields []string `json:"-"` } -func (s *NodeType) MarshalJSON() ([]byte, error) { +func (s NodeType) MarshalJSON() ([]byte, error) { type NoMethod NodeType - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeTypeAggregatedList struct { @@ -34814,9 +34888,9 @@ type NodeTypeAggregatedList struct { NullFields []string `json:"-"` } -func (s *NodeTypeAggregatedList) MarshalJSON() ([]byte, error) { +func (s NodeTypeAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod NodeTypeAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeTypeAggregatedListWarning: [Output Only] Informational warning message. @@ -34899,9 +34973,9 @@ type NodeTypeAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *NodeTypeAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s NodeTypeAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NodeTypeAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeTypeAggregatedListWarningData struct { @@ -34928,9 +35002,9 @@ type NodeTypeAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *NodeTypeAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s NodeTypeAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NodeTypeAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeTypeList: Contains a list of node types. @@ -34968,9 +35042,9 @@ type NodeTypeList struct { NullFields []string `json:"-"` } -func (s *NodeTypeList) MarshalJSON() ([]byte, error) { +func (s NodeTypeList) MarshalJSON() ([]byte, error) { type NoMethod NodeTypeList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeTypeListWarning: [Output Only] Informational warning message. @@ -35053,9 +35127,9 @@ type NodeTypeListWarning struct { NullFields []string `json:"-"` } -func (s *NodeTypeListWarning) MarshalJSON() ([]byte, error) { +func (s NodeTypeListWarning) MarshalJSON() ([]byte, error) { type NoMethod NodeTypeListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeTypeListWarningData struct { @@ -35082,9 +35156,9 @@ type NodeTypeListWarningData struct { NullFields []string `json:"-"` } -func (s *NodeTypeListWarningData) MarshalJSON() ([]byte, error) { +func (s NodeTypeListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NodeTypeListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeTypesScopedList struct { @@ -35106,9 +35180,9 @@ type NodeTypesScopedList struct { NullFields []string `json:"-"` } -func (s *NodeTypesScopedList) MarshalJSON() ([]byte, error) { +func (s NodeTypesScopedList) MarshalJSON() ([]byte, error) { type NoMethod NodeTypesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeTypesScopedListWarning: [Output Only] An informational warning that @@ -35192,9 +35266,9 @@ type NodeTypesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *NodeTypesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s NodeTypesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NodeTypesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeTypesScopedListWarningData struct { @@ -35221,9 +35295,9 @@ type NodeTypesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *NodeTypesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s NodeTypesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NodeTypesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NotificationEndpoint: Represents a notification endpoint. A notification @@ -35276,9 +35350,9 @@ type NotificationEndpoint struct { NullFields []string `json:"-"` } -func (s *NotificationEndpoint) MarshalJSON() ([]byte, error) { +func (s NotificationEndpoint) MarshalJSON() ([]byte, error) { type NoMethod NotificationEndpoint - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NotificationEndpointAggregatedList: Contains a list of @@ -35318,9 +35392,9 @@ type NotificationEndpointAggregatedList struct { NullFields []string `json:"-"` } -func (s *NotificationEndpointAggregatedList) MarshalJSON() ([]byte, error) { +func (s NotificationEndpointAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod NotificationEndpointAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NotificationEndpointAggregatedListWarning: [Output Only] Informational @@ -35404,9 +35478,9 @@ type NotificationEndpointAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *NotificationEndpointAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s NotificationEndpointAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NotificationEndpointAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NotificationEndpointAggregatedListWarningData struct { @@ -35433,9 +35507,9 @@ type NotificationEndpointAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *NotificationEndpointAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s NotificationEndpointAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NotificationEndpointAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NotificationEndpointGrpcSettings: Represents a gRPC setting that describes @@ -35475,9 +35549,9 @@ type NotificationEndpointGrpcSettings struct { NullFields []string `json:"-"` } -func (s *NotificationEndpointGrpcSettings) MarshalJSON() ([]byte, error) { +func (s NotificationEndpointGrpcSettings) MarshalJSON() ([]byte, error) { type NoMethod NotificationEndpointGrpcSettings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NotificationEndpointList struct { @@ -35514,9 +35588,9 @@ type NotificationEndpointList struct { NullFields []string `json:"-"` } -func (s *NotificationEndpointList) MarshalJSON() ([]byte, error) { +func (s NotificationEndpointList) MarshalJSON() ([]byte, error) { type NoMethod NotificationEndpointList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NotificationEndpointListWarning: [Output Only] Informational warning @@ -35600,9 +35674,9 @@ type NotificationEndpointListWarning struct { NullFields []string `json:"-"` } -func (s *NotificationEndpointListWarning) MarshalJSON() ([]byte, error) { +func (s NotificationEndpointListWarning) MarshalJSON() ([]byte, error) { type NoMethod NotificationEndpointListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NotificationEndpointListWarningData struct { @@ -35629,9 +35703,9 @@ type NotificationEndpointListWarningData struct { NullFields []string `json:"-"` } -func (s *NotificationEndpointListWarningData) MarshalJSON() ([]byte, error) { +func (s NotificationEndpointListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NotificationEndpointListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NotificationEndpointsScopedList struct { @@ -35653,9 +35727,9 @@ type NotificationEndpointsScopedList struct { NullFields []string `json:"-"` } -func (s *NotificationEndpointsScopedList) MarshalJSON() ([]byte, error) { +func (s NotificationEndpointsScopedList) MarshalJSON() ([]byte, error) { type NoMethod NotificationEndpointsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NotificationEndpointsScopedListWarning: Informational warning which replaces @@ -35739,9 +35813,9 @@ type NotificationEndpointsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *NotificationEndpointsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s NotificationEndpointsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NotificationEndpointsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NotificationEndpointsScopedListWarningData struct { @@ -35768,9 +35842,9 @@ type NotificationEndpointsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *NotificationEndpointsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s NotificationEndpointsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NotificationEndpointsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Operation: Represents an Operation resource. Google Compute Engine has three @@ -35890,9 +35964,9 @@ type Operation struct { NullFields []string `json:"-"` } -func (s *Operation) MarshalJSON() ([]byte, error) { +func (s Operation) MarshalJSON() ([]byte, error) { type NoMethod Operation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // OperationError: [Output Only] If errors are generated during processing of @@ -35914,9 +35988,9 @@ type OperationError struct { NullFields []string `json:"-"` } -func (s *OperationError) MarshalJSON() ([]byte, error) { +func (s OperationError) MarshalJSON() ([]byte, error) { type NoMethod OperationError - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type OperationErrorErrors struct { @@ -35945,9 +36019,9 @@ type OperationErrorErrors struct { NullFields []string `json:"-"` } -func (s *OperationErrorErrors) MarshalJSON() ([]byte, error) { +func (s OperationErrorErrors) MarshalJSON() ([]byte, error) { type NoMethod OperationErrorErrors - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type OperationErrorErrorsErrorDetails struct { @@ -35968,9 +36042,9 @@ type OperationErrorErrorsErrorDetails struct { NullFields []string `json:"-"` } -func (s *OperationErrorErrorsErrorDetails) MarshalJSON() ([]byte, error) { +func (s OperationErrorErrorsErrorDetails) MarshalJSON() ([]byte, error) { type NoMethod OperationErrorErrorsErrorDetails - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type OperationWarnings struct { @@ -36052,9 +36126,9 @@ type OperationWarnings struct { NullFields []string `json:"-"` } -func (s *OperationWarnings) MarshalJSON() ([]byte, error) { +func (s OperationWarnings) MarshalJSON() ([]byte, error) { type NoMethod OperationWarnings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type OperationWarningsData struct { @@ -36081,9 +36155,9 @@ type OperationWarningsData struct { NullFields []string `json:"-"` } -func (s *OperationWarningsData) MarshalJSON() ([]byte, error) { +func (s OperationWarningsData) MarshalJSON() ([]byte, error) { type NoMethod OperationWarningsData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type OperationAggregatedList struct { @@ -36123,9 +36197,9 @@ type OperationAggregatedList struct { NullFields []string `json:"-"` } -func (s *OperationAggregatedList) MarshalJSON() ([]byte, error) { +func (s OperationAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod OperationAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // OperationAggregatedListWarning: [Output Only] Informational warning message. @@ -36208,9 +36282,9 @@ type OperationAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *OperationAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s OperationAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod OperationAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type OperationAggregatedListWarningData struct { @@ -36237,9 +36311,9 @@ type OperationAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *OperationAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s OperationAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod OperationAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // OperationList: Contains a list of Operation resources. @@ -36278,9 +36352,9 @@ type OperationList struct { NullFields []string `json:"-"` } -func (s *OperationList) MarshalJSON() ([]byte, error) { +func (s OperationList) MarshalJSON() ([]byte, error) { type NoMethod OperationList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // OperationListWarning: [Output Only] Informational warning message. @@ -36363,9 +36437,9 @@ type OperationListWarning struct { NullFields []string `json:"-"` } -func (s *OperationListWarning) MarshalJSON() ([]byte, error) { +func (s OperationListWarning) MarshalJSON() ([]byte, error) { type NoMethod OperationListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type OperationListWarningData struct { @@ -36392,9 +36466,9 @@ type OperationListWarningData struct { NullFields []string `json:"-"` } -func (s *OperationListWarningData) MarshalJSON() ([]byte, error) { +func (s OperationListWarningData) MarshalJSON() ([]byte, error) { type NoMethod OperationListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type OperationsScopedList struct { @@ -36416,9 +36490,9 @@ type OperationsScopedList struct { NullFields []string `json:"-"` } -func (s *OperationsScopedList) MarshalJSON() ([]byte, error) { +func (s OperationsScopedList) MarshalJSON() ([]byte, error) { type NoMethod OperationsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // OperationsScopedListWarning: [Output Only] Informational warning which @@ -36502,9 +36576,9 @@ type OperationsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *OperationsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s OperationsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod OperationsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type OperationsScopedListWarningData struct { @@ -36531,9 +36605,9 @@ type OperationsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *OperationsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s OperationsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod OperationsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type OrganizationSecurityPoliciesListAssociationsResponse struct { @@ -36559,9 +36633,9 @@ type OrganizationSecurityPoliciesListAssociationsResponse struct { NullFields []string `json:"-"` } -func (s *OrganizationSecurityPoliciesListAssociationsResponse) MarshalJSON() ([]byte, error) { +func (s OrganizationSecurityPoliciesListAssociationsResponse) MarshalJSON() ([]byte, error) { type NoMethod OrganizationSecurityPoliciesListAssociationsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // OriginAuthenticationMethod: [Deprecated] Configuration for the origin @@ -36581,9 +36655,9 @@ type OriginAuthenticationMethod struct { NullFields []string `json:"-"` } -func (s *OriginAuthenticationMethod) MarshalJSON() ([]byte, error) { +func (s OriginAuthenticationMethod) MarshalJSON() ([]byte, error) { type NoMethod OriginAuthenticationMethod - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // OutlierDetection: Settings controlling the eviction of unhealthy hosts from @@ -36665,9 +36739,9 @@ type OutlierDetection struct { NullFields []string `json:"-"` } -func (s *OutlierDetection) MarshalJSON() ([]byte, error) { +func (s OutlierDetection) MarshalJSON() ([]byte, error) { type NoMethod OutlierDetection - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PacketIntervals: Next free: 7 @@ -36711,9 +36785,9 @@ type PacketIntervals struct { NullFields []string `json:"-"` } -func (s *PacketIntervals) MarshalJSON() ([]byte, error) { +func (s PacketIntervals) MarshalJSON() ([]byte, error) { type NoMethod PacketIntervals - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PacketMirroring: Represents a Packet Mirroring resource. Packet Mirroring @@ -36795,9 +36869,9 @@ type PacketMirroring struct { NullFields []string `json:"-"` } -func (s *PacketMirroring) MarshalJSON() ([]byte, error) { +func (s PacketMirroring) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroring - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PacketMirroringAggregatedList: Contains a list of packetMirrorings. @@ -36836,9 +36910,9 @@ type PacketMirroringAggregatedList struct { NullFields []string `json:"-"` } -func (s *PacketMirroringAggregatedList) MarshalJSON() ([]byte, error) { +func (s PacketMirroringAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PacketMirroringAggregatedListWarning: [Output Only] Informational warning @@ -36922,9 +36996,9 @@ type PacketMirroringAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *PacketMirroringAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s PacketMirroringAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PacketMirroringAggregatedListWarningData struct { @@ -36951,9 +37025,9 @@ type PacketMirroringAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *PacketMirroringAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s PacketMirroringAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PacketMirroringFilter struct { @@ -36990,9 +37064,9 @@ type PacketMirroringFilter struct { NullFields []string `json:"-"` } -func (s *PacketMirroringFilter) MarshalJSON() ([]byte, error) { +func (s PacketMirroringFilter) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringFilter - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PacketMirroringForwardingRuleInfo struct { @@ -37015,9 +37089,9 @@ type PacketMirroringForwardingRuleInfo struct { NullFields []string `json:"-"` } -func (s *PacketMirroringForwardingRuleInfo) MarshalJSON() ([]byte, error) { +func (s PacketMirroringForwardingRuleInfo) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringForwardingRuleInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PacketMirroringList: Contains a list of PacketMirroring resources. @@ -37055,9 +37129,9 @@ type PacketMirroringList struct { NullFields []string `json:"-"` } -func (s *PacketMirroringList) MarshalJSON() ([]byte, error) { +func (s PacketMirroringList) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PacketMirroringListWarning: [Output Only] Informational warning message. @@ -37140,9 +37214,9 @@ type PacketMirroringListWarning struct { NullFields []string `json:"-"` } -func (s *PacketMirroringListWarning) MarshalJSON() ([]byte, error) { +func (s PacketMirroringListWarning) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PacketMirroringListWarningData struct { @@ -37169,9 +37243,9 @@ type PacketMirroringListWarningData struct { NullFields []string `json:"-"` } -func (s *PacketMirroringListWarningData) MarshalJSON() ([]byte, error) { +func (s PacketMirroringListWarningData) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PacketMirroringMirroredResourceInfo struct { @@ -37201,9 +37275,9 @@ type PacketMirroringMirroredResourceInfo struct { NullFields []string `json:"-"` } -func (s *PacketMirroringMirroredResourceInfo) MarshalJSON() ([]byte, error) { +func (s PacketMirroringMirroredResourceInfo) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringMirroredResourceInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PacketMirroringMirroredResourceInfoInstanceInfo struct { @@ -37225,9 +37299,9 @@ type PacketMirroringMirroredResourceInfoInstanceInfo struct { NullFields []string `json:"-"` } -func (s *PacketMirroringMirroredResourceInfoInstanceInfo) MarshalJSON() ([]byte, error) { +func (s PacketMirroringMirroredResourceInfoInstanceInfo) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringMirroredResourceInfoInstanceInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PacketMirroringMirroredResourceInfoSubnetInfo struct { @@ -37250,9 +37324,9 @@ type PacketMirroringMirroredResourceInfoSubnetInfo struct { NullFields []string `json:"-"` } -func (s *PacketMirroringMirroredResourceInfoSubnetInfo) MarshalJSON() ([]byte, error) { +func (s PacketMirroringMirroredResourceInfoSubnetInfo) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringMirroredResourceInfoSubnetInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PacketMirroringNetworkInfo struct { @@ -37274,9 +37348,9 @@ type PacketMirroringNetworkInfo struct { NullFields []string `json:"-"` } -func (s *PacketMirroringNetworkInfo) MarshalJSON() ([]byte, error) { +func (s PacketMirroringNetworkInfo) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringNetworkInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PacketMirroringsScopedList struct { @@ -37298,9 +37372,9 @@ type PacketMirroringsScopedList struct { NullFields []string `json:"-"` } -func (s *PacketMirroringsScopedList) MarshalJSON() ([]byte, error) { +func (s PacketMirroringsScopedList) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PacketMirroringsScopedListWarning: Informational warning which replaces the @@ -37384,9 +37458,9 @@ type PacketMirroringsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *PacketMirroringsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s PacketMirroringsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PacketMirroringsScopedListWarningData struct { @@ -37413,9 +37487,9 @@ type PacketMirroringsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *PacketMirroringsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s PacketMirroringsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PartnerMetadata: Model definition of partner_metadata field. To be used in @@ -37446,9 +37520,9 @@ type PartnerMetadata struct { NullFields []string `json:"-"` } -func (s *PartnerMetadata) MarshalJSON() ([]byte, error) { +func (s PartnerMetadata) MarshalJSON() ([]byte, error) { type NoMethod PartnerMetadata - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PathMatcher: A matcher for the path portion of the URL. The BackendService @@ -37559,9 +37633,9 @@ type PathMatcher struct { NullFields []string `json:"-"` } -func (s *PathMatcher) MarshalJSON() ([]byte, error) { +func (s PathMatcher) MarshalJSON() ([]byte, error) { type NoMethod PathMatcher - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PathRule: A path-matching rule for a URL. If matched, will use the specified @@ -37629,9 +37703,9 @@ type PathRule struct { NullFields []string `json:"-"` } -func (s *PathRule) MarshalJSON() ([]byte, error) { +func (s PathRule) MarshalJSON() ([]byte, error) { type NoMethod PathRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PeerAuthenticationMethod: [Deprecated] Configuration for the peer @@ -37652,9 +37726,9 @@ type PeerAuthenticationMethod struct { NullFields []string `json:"-"` } -func (s *PeerAuthenticationMethod) MarshalJSON() ([]byte, error) { +func (s PeerAuthenticationMethod) MarshalJSON() ([]byte, error) { type NoMethod PeerAuthenticationMethod - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PerInstanceConfig struct { @@ -37706,9 +37780,9 @@ type PerInstanceConfig struct { NullFields []string `json:"-"` } -func (s *PerInstanceConfig) MarshalJSON() ([]byte, error) { +func (s PerInstanceConfig) MarshalJSON() ([]byte, error) { type NoMethod PerInstanceConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Permission: [Deprecated] All fields defined in a permission are ANDed. @@ -37747,9 +37821,9 @@ type Permission struct { NullFields []string `json:"-"` } -func (s *Permission) MarshalJSON() ([]byte, error) { +func (s Permission) MarshalJSON() ([]byte, error) { type NoMethod Permission - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PermissionConstraint: Custom constraint that specifies a key and a list of @@ -37772,9 +37846,9 @@ type PermissionConstraint struct { NullFields []string `json:"-"` } -func (s *PermissionConstraint) MarshalJSON() ([]byte, error) { +func (s PermissionConstraint) MarshalJSON() ([]byte, error) { type NoMethod PermissionConstraint - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Policy: An Identity and Access Management (IAM) policy, which specifies @@ -37866,9 +37940,9 @@ type Policy struct { NullFields []string `json:"-"` } -func (s *Policy) MarshalJSON() ([]byte, error) { +func (s Policy) MarshalJSON() ([]byte, error) { type NoMethod Policy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PreconfiguredWafSet struct { @@ -37887,9 +37961,9 @@ type PreconfiguredWafSet struct { NullFields []string `json:"-"` } -func (s *PreconfiguredWafSet) MarshalJSON() ([]byte, error) { +func (s PreconfiguredWafSet) MarshalJSON() ([]byte, error) { type NoMethod PreconfiguredWafSet - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PreservedState: Preserved state for a given instance. @@ -37918,9 +37992,9 @@ type PreservedState struct { NullFields []string `json:"-"` } -func (s *PreservedState) MarshalJSON() ([]byte, error) { +func (s PreservedState) MarshalJSON() ([]byte, error) { type NoMethod PreservedState - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PreservedStatePreservedDisk struct { @@ -37959,9 +38033,9 @@ type PreservedStatePreservedDisk struct { NullFields []string `json:"-"` } -func (s *PreservedStatePreservedDisk) MarshalJSON() ([]byte, error) { +func (s PreservedStatePreservedDisk) MarshalJSON() ([]byte, error) { type NoMethod PreservedStatePreservedDisk - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PreservedStatePreservedNetworkIp struct { @@ -37989,9 +38063,9 @@ type PreservedStatePreservedNetworkIp struct { NullFields []string `json:"-"` } -func (s *PreservedStatePreservedNetworkIp) MarshalJSON() ([]byte, error) { +func (s PreservedStatePreservedNetworkIp) MarshalJSON() ([]byte, error) { type NoMethod PreservedStatePreservedNetworkIp - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PreservedStatePreservedNetworkIpIpAddress struct { @@ -38013,9 +38087,9 @@ type PreservedStatePreservedNetworkIpIpAddress struct { NullFields []string `json:"-"` } -func (s *PreservedStatePreservedNetworkIpIpAddress) MarshalJSON() ([]byte, error) { +func (s PreservedStatePreservedNetworkIpIpAddress) MarshalJSON() ([]byte, error) { type NoMethod PreservedStatePreservedNetworkIpIpAddress - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Principal: [Deprecated] All fields defined in a principal are ANDed. @@ -38058,9 +38132,9 @@ type Principal struct { NullFields []string `json:"-"` } -func (s *Principal) MarshalJSON() ([]byte, error) { +func (s Principal) MarshalJSON() ([]byte, error) { type NoMethod Principal - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Project: Represents a Project resource. A project is used to organize @@ -38163,9 +38237,9 @@ type Project struct { NullFields []string `json:"-"` } -func (s *Project) MarshalJSON() ([]byte, error) { +func (s Project) MarshalJSON() ([]byte, error) { type NoMethod Project - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ProjectsDisableXpnResourceRequest struct { @@ -38184,9 +38258,9 @@ type ProjectsDisableXpnResourceRequest struct { NullFields []string `json:"-"` } -func (s *ProjectsDisableXpnResourceRequest) MarshalJSON() ([]byte, error) { +func (s ProjectsDisableXpnResourceRequest) MarshalJSON() ([]byte, error) { type NoMethod ProjectsDisableXpnResourceRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ProjectsEnableXpnResourceRequest struct { @@ -38205,9 +38279,9 @@ type ProjectsEnableXpnResourceRequest struct { NullFields []string `json:"-"` } -func (s *ProjectsEnableXpnResourceRequest) MarshalJSON() ([]byte, error) { +func (s ProjectsEnableXpnResourceRequest) MarshalJSON() ([]byte, error) { type NoMethod ProjectsEnableXpnResourceRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ProjectsGetXpnResources struct { @@ -38239,9 +38313,9 @@ type ProjectsGetXpnResources struct { NullFields []string `json:"-"` } -func (s *ProjectsGetXpnResources) MarshalJSON() ([]byte, error) { +func (s ProjectsGetXpnResources) MarshalJSON() ([]byte, error) { type NoMethod ProjectsGetXpnResources - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ProjectsListXpnHostsRequest struct { @@ -38268,9 +38342,9 @@ type ProjectsListXpnHostsRequest struct { NullFields []string `json:"-"` } -func (s *ProjectsListXpnHostsRequest) MarshalJSON() ([]byte, error) { +func (s ProjectsListXpnHostsRequest) MarshalJSON() ([]byte, error) { type NoMethod ProjectsListXpnHostsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ProjectsSetCloudArmorTierRequest struct { @@ -38294,9 +38368,9 @@ type ProjectsSetCloudArmorTierRequest struct { NullFields []string `json:"-"` } -func (s *ProjectsSetCloudArmorTierRequest) MarshalJSON() ([]byte, error) { +func (s ProjectsSetCloudArmorTierRequest) MarshalJSON() ([]byte, error) { type NoMethod ProjectsSetCloudArmorTierRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ProjectsSetDefaultNetworkTierRequest struct { @@ -38326,9 +38400,9 @@ type ProjectsSetDefaultNetworkTierRequest struct { NullFields []string `json:"-"` } -func (s *ProjectsSetDefaultNetworkTierRequest) MarshalJSON() ([]byte, error) { +func (s ProjectsSetDefaultNetworkTierRequest) MarshalJSON() ([]byte, error) { type NoMethod ProjectsSetDefaultNetworkTierRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ProjectsSetDefaultServiceAccountRequest struct { @@ -38347,9 +38421,9 @@ type ProjectsSetDefaultServiceAccountRequest struct { NullFields []string `json:"-"` } -func (s *ProjectsSetDefaultServiceAccountRequest) MarshalJSON() ([]byte, error) { +func (s ProjectsSetDefaultServiceAccountRequest) MarshalJSON() ([]byte, error) { type NoMethod ProjectsSetDefaultServiceAccountRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ProjectsSetManagedProtectionTierRequest struct { @@ -38373,9 +38447,9 @@ type ProjectsSetManagedProtectionTierRequest struct { NullFields []string `json:"-"` } -func (s *ProjectsSetManagedProtectionTierRequest) MarshalJSON() ([]byte, error) { +func (s ProjectsSetManagedProtectionTierRequest) MarshalJSON() ([]byte, error) { type NoMethod ProjectsSetManagedProtectionTierRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PublicAdvertisedPrefix: A public advertised prefix represents an aggregated @@ -38487,9 +38561,9 @@ type PublicAdvertisedPrefix struct { NullFields []string `json:"-"` } -func (s *PublicAdvertisedPrefix) MarshalJSON() ([]byte, error) { +func (s PublicAdvertisedPrefix) MarshalJSON() ([]byte, error) { type NoMethod PublicAdvertisedPrefix - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PublicAdvertisedPrefixList struct { @@ -38526,9 +38600,9 @@ type PublicAdvertisedPrefixList struct { NullFields []string `json:"-"` } -func (s *PublicAdvertisedPrefixList) MarshalJSON() ([]byte, error) { +func (s PublicAdvertisedPrefixList) MarshalJSON() ([]byte, error) { type NoMethod PublicAdvertisedPrefixList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PublicAdvertisedPrefixListWarning: [Output Only] Informational warning @@ -38612,9 +38686,9 @@ type PublicAdvertisedPrefixListWarning struct { NullFields []string `json:"-"` } -func (s *PublicAdvertisedPrefixListWarning) MarshalJSON() ([]byte, error) { +func (s PublicAdvertisedPrefixListWarning) MarshalJSON() ([]byte, error) { type NoMethod PublicAdvertisedPrefixListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PublicAdvertisedPrefixListWarningData struct { @@ -38641,9 +38715,9 @@ type PublicAdvertisedPrefixListWarningData struct { NullFields []string `json:"-"` } -func (s *PublicAdvertisedPrefixListWarningData) MarshalJSON() ([]byte, error) { +func (s PublicAdvertisedPrefixListWarningData) MarshalJSON() ([]byte, error) { type NoMethod PublicAdvertisedPrefixListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PublicAdvertisedPrefixPublicDelegatedPrefix: Represents a CIDR range which @@ -38675,9 +38749,9 @@ type PublicAdvertisedPrefixPublicDelegatedPrefix struct { NullFields []string `json:"-"` } -func (s *PublicAdvertisedPrefixPublicDelegatedPrefix) MarshalJSON() ([]byte, error) { +func (s PublicAdvertisedPrefixPublicDelegatedPrefix) MarshalJSON() ([]byte, error) { type NoMethod PublicAdvertisedPrefixPublicDelegatedPrefix - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PublicDelegatedPrefix: A PublicDelegatedPrefix resource represents an IP @@ -38790,9 +38864,9 @@ type PublicDelegatedPrefix struct { NullFields []string `json:"-"` } -func (s *PublicDelegatedPrefix) MarshalJSON() ([]byte, error) { +func (s PublicDelegatedPrefix) MarshalJSON() ([]byte, error) { type NoMethod PublicDelegatedPrefix - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PublicDelegatedPrefixAggregatedList struct { @@ -38832,9 +38906,9 @@ type PublicDelegatedPrefixAggregatedList struct { NullFields []string `json:"-"` } -func (s *PublicDelegatedPrefixAggregatedList) MarshalJSON() ([]byte, error) { +func (s PublicDelegatedPrefixAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod PublicDelegatedPrefixAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PublicDelegatedPrefixAggregatedListWarning: [Output Only] Informational @@ -38918,9 +38992,9 @@ type PublicDelegatedPrefixAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *PublicDelegatedPrefixAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s PublicDelegatedPrefixAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod PublicDelegatedPrefixAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PublicDelegatedPrefixAggregatedListWarningData struct { @@ -38947,9 +39021,9 @@ type PublicDelegatedPrefixAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *PublicDelegatedPrefixAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s PublicDelegatedPrefixAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod PublicDelegatedPrefixAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PublicDelegatedPrefixList struct { @@ -38986,9 +39060,9 @@ type PublicDelegatedPrefixList struct { NullFields []string `json:"-"` } -func (s *PublicDelegatedPrefixList) MarshalJSON() ([]byte, error) { +func (s PublicDelegatedPrefixList) MarshalJSON() ([]byte, error) { type NoMethod PublicDelegatedPrefixList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PublicDelegatedPrefixListWarning: [Output Only] Informational warning @@ -39072,9 +39146,9 @@ type PublicDelegatedPrefixListWarning struct { NullFields []string `json:"-"` } -func (s *PublicDelegatedPrefixListWarning) MarshalJSON() ([]byte, error) { +func (s PublicDelegatedPrefixListWarning) MarshalJSON() ([]byte, error) { type NoMethod PublicDelegatedPrefixListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PublicDelegatedPrefixListWarningData struct { @@ -39101,9 +39175,9 @@ type PublicDelegatedPrefixListWarningData struct { NullFields []string `json:"-"` } -func (s *PublicDelegatedPrefixListWarningData) MarshalJSON() ([]byte, error) { +func (s PublicDelegatedPrefixListWarningData) MarshalJSON() ([]byte, error) { type NoMethod PublicDelegatedPrefixListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PublicDelegatedPrefixPublicDelegatedSubPrefix: Represents a sub @@ -39156,9 +39230,9 @@ type PublicDelegatedPrefixPublicDelegatedSubPrefix struct { NullFields []string `json:"-"` } -func (s *PublicDelegatedPrefixPublicDelegatedSubPrefix) MarshalJSON() ([]byte, error) { +func (s PublicDelegatedPrefixPublicDelegatedSubPrefix) MarshalJSON() ([]byte, error) { type NoMethod PublicDelegatedPrefixPublicDelegatedSubPrefix - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PublicDelegatedPrefixesScopedList struct { @@ -39181,9 +39255,9 @@ type PublicDelegatedPrefixesScopedList struct { NullFields []string `json:"-"` } -func (s *PublicDelegatedPrefixesScopedList) MarshalJSON() ([]byte, error) { +func (s PublicDelegatedPrefixesScopedList) MarshalJSON() ([]byte, error) { type NoMethod PublicDelegatedPrefixesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PublicDelegatedPrefixesScopedListWarning: [Output Only] Informational @@ -39268,9 +39342,9 @@ type PublicDelegatedPrefixesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *PublicDelegatedPrefixesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s PublicDelegatedPrefixesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod PublicDelegatedPrefixesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PublicDelegatedPrefixesScopedListWarningData struct { @@ -39297,9 +39371,9 @@ type PublicDelegatedPrefixesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *PublicDelegatedPrefixesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s PublicDelegatedPrefixesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod PublicDelegatedPrefixesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // QueuedResource: QueuedResource represents a request for future capacity. The @@ -39370,9 +39444,9 @@ type QueuedResource struct { NullFields []string `json:"-"` } -func (s *QueuedResource) MarshalJSON() ([]byte, error) { +func (s QueuedResource) MarshalJSON() ([]byte, error) { type NoMethod QueuedResource - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type QueuedResourceList struct { @@ -39409,9 +39483,9 @@ type QueuedResourceList struct { NullFields []string `json:"-"` } -func (s *QueuedResourceList) MarshalJSON() ([]byte, error) { +func (s QueuedResourceList) MarshalJSON() ([]byte, error) { type NoMethod QueuedResourceList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // QueuedResourceListWarning: Informational warning message. @@ -39494,9 +39568,9 @@ type QueuedResourceListWarning struct { NullFields []string `json:"-"` } -func (s *QueuedResourceListWarning) MarshalJSON() ([]byte, error) { +func (s QueuedResourceListWarning) MarshalJSON() ([]byte, error) { type NoMethod QueuedResourceListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type QueuedResourceListWarningData struct { @@ -39523,9 +39597,9 @@ type QueuedResourceListWarningData struct { NullFields []string `json:"-"` } -func (s *QueuedResourceListWarningData) MarshalJSON() ([]byte, error) { +func (s QueuedResourceListWarningData) MarshalJSON() ([]byte, error) { type NoMethod QueuedResourceListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type QueuedResourceStatus struct { @@ -39545,9 +39619,9 @@ type QueuedResourceStatus struct { NullFields []string `json:"-"` } -func (s *QueuedResourceStatus) MarshalJSON() ([]byte, error) { +func (s QueuedResourceStatus) MarshalJSON() ([]byte, error) { type NoMethod QueuedResourceStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type QueuedResourceStatusFailedData struct { @@ -39565,9 +39639,9 @@ type QueuedResourceStatusFailedData struct { NullFields []string `json:"-"` } -func (s *QueuedResourceStatusFailedData) MarshalJSON() ([]byte, error) { +func (s QueuedResourceStatusFailedData) MarshalJSON() ([]byte, error) { type NoMethod QueuedResourceStatusFailedData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type QueuedResourceStatusFailedDataError struct { @@ -39587,9 +39661,9 @@ type QueuedResourceStatusFailedDataError struct { NullFields []string `json:"-"` } -func (s *QueuedResourceStatusFailedDataError) MarshalJSON() ([]byte, error) { +func (s QueuedResourceStatusFailedDataError) MarshalJSON() ([]byte, error) { type NoMethod QueuedResourceStatusFailedDataError - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type QueuedResourceStatusFailedDataErrorErrors struct { @@ -39618,9 +39692,9 @@ type QueuedResourceStatusFailedDataErrorErrors struct { NullFields []string `json:"-"` } -func (s *QueuedResourceStatusFailedDataErrorErrors) MarshalJSON() ([]byte, error) { +func (s QueuedResourceStatusFailedDataErrorErrors) MarshalJSON() ([]byte, error) { type NoMethod QueuedResourceStatusFailedDataErrorErrors - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type QueuedResourceStatusFailedDataErrorErrorsErrorDetails struct { @@ -39641,9 +39715,9 @@ type QueuedResourceStatusFailedDataErrorErrorsErrorDetails struct { NullFields []string `json:"-"` } -func (s *QueuedResourceStatusFailedDataErrorErrorsErrorDetails) MarshalJSON() ([]byte, error) { +func (s QueuedResourceStatusFailedDataErrorErrorsErrorDetails) MarshalJSON() ([]byte, error) { type NoMethod QueuedResourceStatusFailedDataErrorErrorsErrorDetails - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type QueuedResourcesAggregatedList struct { @@ -39682,9 +39756,9 @@ type QueuedResourcesAggregatedList struct { NullFields []string `json:"-"` } -func (s *QueuedResourcesAggregatedList) MarshalJSON() ([]byte, error) { +func (s QueuedResourcesAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod QueuedResourcesAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // QueuedResourcesAggregatedListWarning: [Output Only] Informational warning @@ -39768,9 +39842,9 @@ type QueuedResourcesAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *QueuedResourcesAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s QueuedResourcesAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod QueuedResourcesAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type QueuedResourcesAggregatedListWarningData struct { @@ -39797,9 +39871,9 @@ type QueuedResourcesAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *QueuedResourcesAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s QueuedResourcesAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod QueuedResourcesAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type QueuedResourcesScopedList struct { @@ -39821,9 +39895,9 @@ type QueuedResourcesScopedList struct { NullFields []string `json:"-"` } -func (s *QueuedResourcesScopedList) MarshalJSON() ([]byte, error) { +func (s QueuedResourcesScopedList) MarshalJSON() ([]byte, error) { type NoMethod QueuedResourcesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // QueuedResourcesScopedListWarning: Informational warning which replaces the @@ -39907,9 +39981,9 @@ type QueuedResourcesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *QueuedResourcesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s QueuedResourcesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod QueuedResourcesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type QueuedResourcesScopedListWarningData struct { @@ -39936,9 +40010,9 @@ type QueuedResourcesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *QueuedResourcesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s QueuedResourcesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod QueuedResourcesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // QueuingPolicy: Queuing parameters for the requested deferred capacity. @@ -39961,9 +40035,9 @@ type QueuingPolicy struct { NullFields []string `json:"-"` } -func (s *QueuingPolicy) MarshalJSON() ([]byte, error) { +func (s QueuingPolicy) MarshalJSON() ([]byte, error) { type NoMethod QueuingPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Quota: A quotas entry. @@ -40162,9 +40236,9 @@ type Quota struct { NullFields []string `json:"-"` } -func (s *Quota) MarshalJSON() ([]byte, error) { +func (s Quota) MarshalJSON() ([]byte, error) { type NoMethod Quota - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *Quota) UnmarshalJSON(data []byte) error { @@ -40219,9 +40293,9 @@ type QuotaExceededInfo struct { NullFields []string `json:"-"` } -func (s *QuotaExceededInfo) MarshalJSON() ([]byte, error) { +func (s QuotaExceededInfo) MarshalJSON() ([]byte, error) { type NoMethod QuotaExceededInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *QuotaExceededInfo) UnmarshalJSON(data []byte) error { @@ -40260,9 +40334,9 @@ type RbacPolicy struct { NullFields []string `json:"-"` } -func (s *RbacPolicy) MarshalJSON() ([]byte, error) { +func (s RbacPolicy) MarshalJSON() ([]byte, error) { type NoMethod RbacPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Reference: Represents a reference to a resource. @@ -40290,9 +40364,9 @@ type Reference struct { NullFields []string `json:"-"` } -func (s *Reference) MarshalJSON() ([]byte, error) { +func (s Reference) MarshalJSON() ([]byte, error) { type NoMethod Reference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Region: Represents a Region resource. A region is a geographical area where @@ -40350,9 +40424,9 @@ type Region struct { NullFields []string `json:"-"` } -func (s *Region) MarshalJSON() ([]byte, error) { +func (s Region) MarshalJSON() ([]byte, error) { type NoMethod Region - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionQuotaStatusWarning: [Output Only] Warning of fetching the `quotas` @@ -40437,9 +40511,9 @@ type RegionQuotaStatusWarning struct { NullFields []string `json:"-"` } -func (s *RegionQuotaStatusWarning) MarshalJSON() ([]byte, error) { +func (s RegionQuotaStatusWarning) MarshalJSON() ([]byte, error) { type NoMethod RegionQuotaStatusWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionQuotaStatusWarningData struct { @@ -40466,9 +40540,9 @@ type RegionQuotaStatusWarningData struct { NullFields []string `json:"-"` } -func (s *RegionQuotaStatusWarningData) MarshalJSON() ([]byte, error) { +func (s RegionQuotaStatusWarningData) MarshalJSON() ([]byte, error) { type NoMethod RegionQuotaStatusWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionAddressesMoveRequest struct { @@ -40496,9 +40570,9 @@ type RegionAddressesMoveRequest struct { NullFields []string `json:"-"` } -func (s *RegionAddressesMoveRequest) MarshalJSON() ([]byte, error) { +func (s RegionAddressesMoveRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionAddressesMoveRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionAutoscalerList: Contains a list of autoscalers. @@ -40535,9 +40609,9 @@ type RegionAutoscalerList struct { NullFields []string `json:"-"` } -func (s *RegionAutoscalerList) MarshalJSON() ([]byte, error) { +func (s RegionAutoscalerList) MarshalJSON() ([]byte, error) { type NoMethod RegionAutoscalerList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionAutoscalerListWarning: [Output Only] Informational warning message. @@ -40620,9 +40694,9 @@ type RegionAutoscalerListWarning struct { NullFields []string `json:"-"` } -func (s *RegionAutoscalerListWarning) MarshalJSON() ([]byte, error) { +func (s RegionAutoscalerListWarning) MarshalJSON() ([]byte, error) { type NoMethod RegionAutoscalerListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionAutoscalerListWarningData struct { @@ -40649,9 +40723,9 @@ type RegionAutoscalerListWarningData struct { NullFields []string `json:"-"` } -func (s *RegionAutoscalerListWarningData) MarshalJSON() ([]byte, error) { +func (s RegionAutoscalerListWarningData) MarshalJSON() ([]byte, error) { type NoMethod RegionAutoscalerListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionCommitmentsUpdateReservationsRequest struct { @@ -40671,9 +40745,9 @@ type RegionCommitmentsUpdateReservationsRequest struct { NullFields []string `json:"-"` } -func (s *RegionCommitmentsUpdateReservationsRequest) MarshalJSON() ([]byte, error) { +func (s RegionCommitmentsUpdateReservationsRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionCommitmentsUpdateReservationsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionDiskTypeList struct { @@ -40710,9 +40784,9 @@ type RegionDiskTypeList struct { NullFields []string `json:"-"` } -func (s *RegionDiskTypeList) MarshalJSON() ([]byte, error) { +func (s RegionDiskTypeList) MarshalJSON() ([]byte, error) { type NoMethod RegionDiskTypeList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionDiskTypeListWarning: [Output Only] Informational warning message. @@ -40795,9 +40869,9 @@ type RegionDiskTypeListWarning struct { NullFields []string `json:"-"` } -func (s *RegionDiskTypeListWarning) MarshalJSON() ([]byte, error) { +func (s RegionDiskTypeListWarning) MarshalJSON() ([]byte, error) { type NoMethod RegionDiskTypeListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionDiskTypeListWarningData struct { @@ -40824,9 +40898,9 @@ type RegionDiskTypeListWarningData struct { NullFields []string `json:"-"` } -func (s *RegionDiskTypeListWarningData) MarshalJSON() ([]byte, error) { +func (s RegionDiskTypeListWarningData) MarshalJSON() ([]byte, error) { type NoMethod RegionDiskTypeListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionDisksAddResourcePoliciesRequest struct { @@ -40845,9 +40919,9 @@ type RegionDisksAddResourcePoliciesRequest struct { NullFields []string `json:"-"` } -func (s *RegionDisksAddResourcePoliciesRequest) MarshalJSON() ([]byte, error) { +func (s RegionDisksAddResourcePoliciesRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionDisksAddResourcePoliciesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionDisksRemoveResourcePoliciesRequest struct { @@ -40866,9 +40940,9 @@ type RegionDisksRemoveResourcePoliciesRequest struct { NullFields []string `json:"-"` } -func (s *RegionDisksRemoveResourcePoliciesRequest) MarshalJSON() ([]byte, error) { +func (s RegionDisksRemoveResourcePoliciesRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionDisksRemoveResourcePoliciesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionDisksResizeRequest struct { @@ -40888,9 +40962,9 @@ type RegionDisksResizeRequest struct { NullFields []string `json:"-"` } -func (s *RegionDisksResizeRequest) MarshalJSON() ([]byte, error) { +func (s RegionDisksResizeRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionDisksResizeRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionDisksStartAsyncReplicationRequest struct { @@ -40917,9 +40991,9 @@ type RegionDisksStartAsyncReplicationRequest struct { NullFields []string `json:"-"` } -func (s *RegionDisksStartAsyncReplicationRequest) MarshalJSON() ([]byte, error) { +func (s RegionDisksStartAsyncReplicationRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionDisksStartAsyncReplicationRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionInstanceGroupList: Contains a list of InstanceGroup resources. @@ -40956,9 +41030,9 @@ type RegionInstanceGroupList struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupList) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupList) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionInstanceGroupListWarning: [Output Only] Informational warning message. @@ -41041,9 +41115,9 @@ type RegionInstanceGroupListWarning struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupListWarning) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupListWarning) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupListWarningData struct { @@ -41070,9 +41144,9 @@ type RegionInstanceGroupListWarningData struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupListWarningData) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupListWarningData) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionInstanceGroupManagerDeleteInstanceConfigReq: @@ -41094,9 +41168,9 @@ type RegionInstanceGroupManagerDeleteInstanceConfigReq struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagerDeleteInstanceConfigReq) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagerDeleteInstanceConfigReq) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagerDeleteInstanceConfigReq - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionInstanceGroupManagerList: Contains a list of managed instance groups. @@ -41135,9 +41209,9 @@ type RegionInstanceGroupManagerList struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagerList) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagerList) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagerList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionInstanceGroupManagerListWarning: [Output Only] Informational warning @@ -41221,9 +41295,9 @@ type RegionInstanceGroupManagerListWarning struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagerListWarning) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagerListWarning) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagerListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagerListWarningData struct { @@ -41250,9 +41324,9 @@ type RegionInstanceGroupManagerListWarningData struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagerListWarningData) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagerListWarningData) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagerListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionInstanceGroupManagerPatchInstanceConfigReq: @@ -41274,9 +41348,9 @@ type RegionInstanceGroupManagerPatchInstanceConfigReq struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagerPatchInstanceConfigReq) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagerPatchInstanceConfigReq) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagerPatchInstanceConfigReq - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionInstanceGroupManagerUpdateInstanceConfigReq: @@ -41298,9 +41372,9 @@ type RegionInstanceGroupManagerUpdateInstanceConfigReq struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagerUpdateInstanceConfigReq) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagerUpdateInstanceConfigReq) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagerUpdateInstanceConfigReq - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersAbandonInstancesRequest struct { @@ -41320,9 +41394,9 @@ type RegionInstanceGroupManagersAbandonInstancesRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersAbandonInstancesRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersAbandonInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersAbandonInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionInstanceGroupManagersApplyUpdatesRequest: @@ -41390,9 +41464,9 @@ type RegionInstanceGroupManagersApplyUpdatesRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersApplyUpdatesRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersApplyUpdatesRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersApplyUpdatesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionInstanceGroupManagersCreateInstancesRequest: @@ -41413,9 +41487,9 @@ type RegionInstanceGroupManagersCreateInstancesRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersCreateInstancesRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersCreateInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersCreateInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersDeleteInstancesRequest struct { @@ -41443,9 +41517,9 @@ type RegionInstanceGroupManagersDeleteInstancesRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersDeleteInstancesRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersDeleteInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersDeleteInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersListErrorsResponse struct { @@ -41473,9 +41547,9 @@ type RegionInstanceGroupManagersListErrorsResponse struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersListErrorsResponse) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersListErrorsResponse) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersListErrorsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersListInstanceConfigsResp struct { @@ -41505,9 +41579,9 @@ type RegionInstanceGroupManagersListInstanceConfigsResp struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersListInstanceConfigsResp) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersListInstanceConfigsResp) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersListInstanceConfigsResp - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionInstanceGroupManagersListInstanceConfigsRespWarning: [Output Only] @@ -41591,9 +41665,9 @@ type RegionInstanceGroupManagersListInstanceConfigsRespWarning struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersListInstanceConfigsRespWarning) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersListInstanceConfigsRespWarning) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersListInstanceConfigsRespWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersListInstanceConfigsRespWarningData struct { @@ -41620,9 +41694,9 @@ type RegionInstanceGroupManagersListInstanceConfigsRespWarningData struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersListInstanceConfigsRespWarningData) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersListInstanceConfigsRespWarningData) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersListInstanceConfigsRespWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersListInstancesResponse struct { @@ -41650,9 +41724,9 @@ type RegionInstanceGroupManagersListInstancesResponse struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersListInstancesResponse) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersListInstancesResponse) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersListInstancesResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersRecreateRequest struct { @@ -41672,9 +41746,9 @@ type RegionInstanceGroupManagersRecreateRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersRecreateRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersRecreateRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersRecreateRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersResizeAdvancedRequest struct { @@ -41710,9 +41784,9 @@ type RegionInstanceGroupManagersResizeAdvancedRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersResizeAdvancedRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersResizeAdvancedRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersResizeAdvancedRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersResumeInstancesRequest struct { @@ -41732,9 +41806,9 @@ type RegionInstanceGroupManagersResumeInstancesRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersResumeInstancesRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersResumeInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersResumeInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersSetAutoHealingRequest struct { @@ -41752,9 +41826,9 @@ type RegionInstanceGroupManagersSetAutoHealingRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersSetAutoHealingRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersSetAutoHealingRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersSetAutoHealingRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersSetTargetPoolsRequest struct { @@ -41779,9 +41853,9 @@ type RegionInstanceGroupManagersSetTargetPoolsRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersSetTargetPoolsRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersSetTargetPoolsRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersSetTargetPoolsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersSetTemplateRequest struct { @@ -41801,9 +41875,9 @@ type RegionInstanceGroupManagersSetTemplateRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersSetTemplateRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersSetTemplateRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersSetTemplateRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersStartInstancesRequest struct { @@ -41823,9 +41897,9 @@ type RegionInstanceGroupManagersStartInstancesRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersStartInstancesRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersStartInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersStartInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersStopInstancesRequest struct { @@ -41848,9 +41922,9 @@ type RegionInstanceGroupManagersStopInstancesRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersStopInstancesRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersStopInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersStopInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersSuspendInstancesRequest struct { @@ -41873,9 +41947,9 @@ type RegionInstanceGroupManagersSuspendInstancesRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersSuspendInstancesRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersSuspendInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersSuspendInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupsListInstances struct { @@ -41911,9 +41985,9 @@ type RegionInstanceGroupsListInstances struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupsListInstances) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupsListInstances) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupsListInstances - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionInstanceGroupsListInstancesWarning: [Output Only] Informational @@ -41997,9 +42071,9 @@ type RegionInstanceGroupsListInstancesWarning struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupsListInstancesWarning) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupsListInstancesWarning) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupsListInstancesWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupsListInstancesWarningData struct { @@ -42026,9 +42100,9 @@ type RegionInstanceGroupsListInstancesWarningData struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupsListInstancesWarningData) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupsListInstancesWarningData) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupsListInstancesWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupsListInstancesRequest struct { @@ -42057,9 +42131,9 @@ type RegionInstanceGroupsListInstancesRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupsListInstancesRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupsListInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupsListInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupsSetNamedPortsRequest struct { @@ -42085,9 +42159,9 @@ type RegionInstanceGroupsSetNamedPortsRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupsSetNamedPortsRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupsSetNamedPortsRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupsSetNamedPortsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionList: Contains a list of region resources. @@ -42125,9 +42199,9 @@ type RegionList struct { NullFields []string `json:"-"` } -func (s *RegionList) MarshalJSON() ([]byte, error) { +func (s RegionList) MarshalJSON() ([]byte, error) { type NoMethod RegionList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionListWarning: [Output Only] Informational warning message. @@ -42210,9 +42284,9 @@ type RegionListWarning struct { NullFields []string `json:"-"` } -func (s *RegionListWarning) MarshalJSON() ([]byte, error) { +func (s RegionListWarning) MarshalJSON() ([]byte, error) { type NoMethod RegionListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionListWarningData struct { @@ -42239,9 +42313,9 @@ type RegionListWarningData struct { NullFields []string `json:"-"` } -func (s *RegionListWarningData) MarshalJSON() ([]byte, error) { +func (s RegionListWarningData) MarshalJSON() ([]byte, error) { type NoMethod RegionListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionNetworkEndpointGroupsAttachEndpointsRequest struct { @@ -42260,9 +42334,9 @@ type RegionNetworkEndpointGroupsAttachEndpointsRequest struct { NullFields []string `json:"-"` } -func (s *RegionNetworkEndpointGroupsAttachEndpointsRequest) MarshalJSON() ([]byte, error) { +func (s RegionNetworkEndpointGroupsAttachEndpointsRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionNetworkEndpointGroupsAttachEndpointsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionNetworkEndpointGroupsDetachEndpointsRequest struct { @@ -42281,9 +42355,9 @@ type RegionNetworkEndpointGroupsDetachEndpointsRequest struct { NullFields []string `json:"-"` } -func (s *RegionNetworkEndpointGroupsDetachEndpointsRequest) MarshalJSON() ([]byte, error) { +func (s RegionNetworkEndpointGroupsDetachEndpointsRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionNetworkEndpointGroupsDetachEndpointsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse struct { @@ -42307,9 +42381,9 @@ type RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse struct { NullFields []string `json:"-"` } -func (s *RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse) MarshalJSON() ([]byte, error) { +func (s RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse) MarshalJSON() ([]byte, error) { type NoMethod RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy struct { @@ -42346,9 +42420,9 @@ type RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewall NullFields []string `json:"-"` } -func (s *RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy) MarshalJSON() ([]byte, error) { +func (s RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy) MarshalJSON() ([]byte, error) { type NoMethod RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionSetLabelsRequest struct { @@ -42374,9 +42448,9 @@ type RegionSetLabelsRequest struct { NullFields []string `json:"-"` } -func (s *RegionSetLabelsRequest) MarshalJSON() ([]byte, error) { +func (s RegionSetLabelsRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionSetLabelsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionSetPolicyRequest struct { @@ -42404,9 +42478,9 @@ type RegionSetPolicyRequest struct { NullFields []string `json:"-"` } -func (s *RegionSetPolicyRequest) MarshalJSON() ([]byte, error) { +func (s RegionSetPolicyRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionSetPolicyRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionTargetHttpsProxiesSetSslCertificatesRequest struct { @@ -42426,9 +42500,9 @@ type RegionTargetHttpsProxiesSetSslCertificatesRequest struct { NullFields []string `json:"-"` } -func (s *RegionTargetHttpsProxiesSetSslCertificatesRequest) MarshalJSON() ([]byte, error) { +func (s RegionTargetHttpsProxiesSetSslCertificatesRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionTargetHttpsProxiesSetSslCertificatesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionUrlMapsValidateRequest struct { @@ -42447,9 +42521,9 @@ type RegionUrlMapsValidateRequest struct { NullFields []string `json:"-"` } -func (s *RegionUrlMapsValidateRequest) MarshalJSON() ([]byte, error) { +func (s RegionUrlMapsValidateRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionUrlMapsValidateRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RequestMirrorPolicy: A policy that specifies how requests intended for the @@ -42477,9 +42551,9 @@ type RequestMirrorPolicy struct { NullFields []string `json:"-"` } -func (s *RequestMirrorPolicy) MarshalJSON() ([]byte, error) { +func (s RequestMirrorPolicy) MarshalJSON() ([]byte, error) { type NoMethod RequestMirrorPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Reservation: Represents a reservation resource. A reservation ensures that @@ -42576,9 +42650,9 @@ type Reservation struct { NullFields []string `json:"-"` } -func (s *Reservation) MarshalJSON() ([]byte, error) { +func (s Reservation) MarshalJSON() ([]byte, error) { type NoMethod Reservation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ReservationAffinity: Specifies the reservations that this instance can @@ -42626,9 +42700,9 @@ type ReservationAffinity struct { NullFields []string `json:"-"` } -func (s *ReservationAffinity) MarshalJSON() ([]byte, error) { +func (s ReservationAffinity) MarshalJSON() ([]byte, error) { type NoMethod ReservationAffinity - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ReservationAggregatedList: Contains a list of reservations. @@ -42667,9 +42741,9 @@ type ReservationAggregatedList struct { NullFields []string `json:"-"` } -func (s *ReservationAggregatedList) MarshalJSON() ([]byte, error) { +func (s ReservationAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod ReservationAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ReservationAggregatedListWarning: [Output Only] Informational warning @@ -42753,9 +42827,9 @@ type ReservationAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *ReservationAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s ReservationAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod ReservationAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ReservationAggregatedListWarningData struct { @@ -42782,9 +42856,9 @@ type ReservationAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *ReservationAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s ReservationAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ReservationAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ReservationList struct { @@ -42822,9 +42896,9 @@ type ReservationList struct { NullFields []string `json:"-"` } -func (s *ReservationList) MarshalJSON() ([]byte, error) { +func (s ReservationList) MarshalJSON() ([]byte, error) { type NoMethod ReservationList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ReservationListWarning: [Output Only] Informational warning message. @@ -42907,9 +42981,9 @@ type ReservationListWarning struct { NullFields []string `json:"-"` } -func (s *ReservationListWarning) MarshalJSON() ([]byte, error) { +func (s ReservationListWarning) MarshalJSON() ([]byte, error) { type NoMethod ReservationListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ReservationListWarningData struct { @@ -42936,9 +43010,9 @@ type ReservationListWarningData struct { NullFields []string `json:"-"` } -func (s *ReservationListWarningData) MarshalJSON() ([]byte, error) { +func (s ReservationListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ReservationListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ReservationsResizeRequest struct { @@ -42958,9 +43032,9 @@ type ReservationsResizeRequest struct { NullFields []string `json:"-"` } -func (s *ReservationsResizeRequest) MarshalJSON() ([]byte, error) { +func (s ReservationsResizeRequest) MarshalJSON() ([]byte, error) { type NoMethod ReservationsResizeRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ReservationsScopedList struct { @@ -42982,9 +43056,9 @@ type ReservationsScopedList struct { NullFields []string `json:"-"` } -func (s *ReservationsScopedList) MarshalJSON() ([]byte, error) { +func (s ReservationsScopedList) MarshalJSON() ([]byte, error) { type NoMethod ReservationsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ReservationsScopedListWarning: Informational warning which replaces the list @@ -43068,9 +43142,9 @@ type ReservationsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *ReservationsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s ReservationsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod ReservationsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ReservationsScopedListWarningData struct { @@ -43097,9 +43171,9 @@ type ReservationsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *ReservationsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s ReservationsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ReservationsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourceCommitment: Commitment for a particular resource (a Commitment is @@ -43136,9 +43210,9 @@ type ResourceCommitment struct { NullFields []string `json:"-"` } -func (s *ResourceCommitment) MarshalJSON() ([]byte, error) { +func (s ResourceCommitment) MarshalJSON() ([]byte, error) { type NoMethod ResourceCommitment - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ResourceGroupReference struct { @@ -43158,9 +43232,9 @@ type ResourceGroupReference struct { NullFields []string `json:"-"` } -func (s *ResourceGroupReference) MarshalJSON() ([]byte, error) { +func (s ResourceGroupReference) MarshalJSON() ([]byte, error) { type NoMethod ResourceGroupReference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ResourcePoliciesScopedList struct { @@ -43182,9 +43256,9 @@ type ResourcePoliciesScopedList struct { NullFields []string `json:"-"` } -func (s *ResourcePoliciesScopedList) MarshalJSON() ([]byte, error) { +func (s ResourcePoliciesScopedList) MarshalJSON() ([]byte, error) { type NoMethod ResourcePoliciesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePoliciesScopedListWarning: Informational warning which replaces the @@ -43268,9 +43342,9 @@ type ResourcePoliciesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *ResourcePoliciesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s ResourcePoliciesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod ResourcePoliciesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ResourcePoliciesScopedListWarningData struct { @@ -43297,9 +43371,9 @@ type ResourcePoliciesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *ResourcePoliciesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s ResourcePoliciesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ResourcePoliciesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicy: Represents a Resource Policy resource. You can use resource @@ -43354,6 +43428,7 @@ type ResourcePolicy struct { // VmMaintenancePolicy: Resource policy applicable to VMs for infrastructure // maintenance. VmMaintenancePolicy *ResourcePolicyVmMaintenancePolicy `json:"vmMaintenancePolicy,omitempty"` + WorkloadPolicy *ResourcePolicyWorkloadPolicy `json:"workloadPolicy,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` @@ -43370,9 +43445,9 @@ type ResourcePolicy struct { NullFields []string `json:"-"` } -func (s *ResourcePolicy) MarshalJSON() ([]byte, error) { +func (s ResourcePolicy) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicyAggregatedList: Contains a list of resourcePolicies. @@ -43412,9 +43487,9 @@ type ResourcePolicyAggregatedList struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyAggregatedList) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicyAggregatedListWarning: [Output Only] Informational warning @@ -43498,9 +43573,9 @@ type ResourcePolicyAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ResourcePolicyAggregatedListWarningData struct { @@ -43527,9 +43602,9 @@ type ResourcePolicyAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicyDailyCycle: Time window specified for daily operations. @@ -43557,9 +43632,9 @@ type ResourcePolicyDailyCycle struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyDailyCycle) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyDailyCycle) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyDailyCycle - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicyDiskConsistencyGroupPolicy: Resource policy for disk @@ -43616,9 +43691,9 @@ type ResourcePolicyGroupPlacementPolicy struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyGroupPlacementPolicy) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyGroupPlacementPolicy) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyGroupPlacementPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicyHourlyCycle: Time window specified for hourly operations. @@ -43645,9 +43720,9 @@ type ResourcePolicyHourlyCycle struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyHourlyCycle) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyHourlyCycle) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyHourlyCycle - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicyInstanceSchedulePolicy: An InstanceSchedulePolicy specifies @@ -43680,9 +43755,9 @@ type ResourcePolicyInstanceSchedulePolicy struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyInstanceSchedulePolicy) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyInstanceSchedulePolicy) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyInstanceSchedulePolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicyInstanceSchedulePolicySchedule: Schedule for an instance @@ -43704,9 +43779,9 @@ type ResourcePolicyInstanceSchedulePolicySchedule struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyInstanceSchedulePolicySchedule) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyInstanceSchedulePolicySchedule) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyInstanceSchedulePolicySchedule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ResourcePolicyList struct { @@ -43745,9 +43820,9 @@ type ResourcePolicyList struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyList) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyList) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicyListWarning: [Output Only] Informational warning message. @@ -43830,9 +43905,9 @@ type ResourcePolicyListWarning struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyListWarning) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyListWarning) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ResourcePolicyListWarningData struct { @@ -43859,9 +43934,9 @@ type ResourcePolicyListWarningData struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyListWarningData) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicyResourceStatus: Contains output only fields. Use this @@ -43886,9 +43961,9 @@ type ResourcePolicyResourceStatus struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyResourceStatus) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyResourceStatus) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyResourceStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ResourcePolicyResourceStatusInstanceSchedulePolicyStatus struct { @@ -43912,9 +43987,9 @@ type ResourcePolicyResourceStatusInstanceSchedulePolicyStatus struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyResourceStatusInstanceSchedulePolicyStatus) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyResourceStatusInstanceSchedulePolicyStatus) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyResourceStatusInstanceSchedulePolicyStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicySnapshotSchedulePolicy: A snapshot schedule policy specifies @@ -43945,9 +44020,9 @@ type ResourcePolicySnapshotSchedulePolicy struct { NullFields []string `json:"-"` } -func (s *ResourcePolicySnapshotSchedulePolicy) MarshalJSON() ([]byte, error) { +func (s ResourcePolicySnapshotSchedulePolicy) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicySnapshotSchedulePolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicySnapshotSchedulePolicyRetentionPolicy: Policy for retention of @@ -43981,9 +44056,9 @@ type ResourcePolicySnapshotSchedulePolicyRetentionPolicy struct { NullFields []string `json:"-"` } -func (s *ResourcePolicySnapshotSchedulePolicyRetentionPolicy) MarshalJSON() ([]byte, error) { +func (s ResourcePolicySnapshotSchedulePolicyRetentionPolicy) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicySnapshotSchedulePolicyRetentionPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicySnapshotSchedulePolicySchedule: A schedule for disks where the @@ -44005,9 +44080,9 @@ type ResourcePolicySnapshotSchedulePolicySchedule struct { NullFields []string `json:"-"` } -func (s *ResourcePolicySnapshotSchedulePolicySchedule) MarshalJSON() ([]byte, error) { +func (s ResourcePolicySnapshotSchedulePolicySchedule) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicySnapshotSchedulePolicySchedule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicySnapshotSchedulePolicySnapshotProperties: Specified snapshot @@ -44036,9 +44111,9 @@ type ResourcePolicySnapshotSchedulePolicySnapshotProperties struct { NullFields []string `json:"-"` } -func (s *ResourcePolicySnapshotSchedulePolicySnapshotProperties) MarshalJSON() ([]byte, error) { +func (s ResourcePolicySnapshotSchedulePolicySnapshotProperties) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicySnapshotSchedulePolicySnapshotProperties - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ResourcePolicyVmMaintenancePolicy struct { @@ -44059,9 +44134,9 @@ type ResourcePolicyVmMaintenancePolicy struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyVmMaintenancePolicy) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyVmMaintenancePolicy) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyVmMaintenancePolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicyVmMaintenancePolicyConcurrencyControl: A concurrency control @@ -44084,9 +44159,9 @@ type ResourcePolicyVmMaintenancePolicyConcurrencyControl struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyVmMaintenancePolicyConcurrencyControl) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyVmMaintenancePolicyConcurrencyControl) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyVmMaintenancePolicyConcurrencyControl - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicyVmMaintenancePolicyMaintenanceWindow: A maintenance window for @@ -44106,9 +44181,9 @@ type ResourcePolicyVmMaintenancePolicyMaintenanceWindow struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyVmMaintenancePolicyMaintenanceWindow) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyVmMaintenancePolicyMaintenanceWindow) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyVmMaintenancePolicyMaintenanceWindow - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicyWeeklyCycle: Time window specified for weekly operations. @@ -44128,9 +44203,9 @@ type ResourcePolicyWeeklyCycle struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyWeeklyCycle) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyWeeklyCycle) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyWeeklyCycle - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ResourcePolicyWeeklyCycleDayOfWeek struct { @@ -44167,9 +44242,35 @@ type ResourcePolicyWeeklyCycleDayOfWeek struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyWeeklyCycleDayOfWeek) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyWeeklyCycleDayOfWeek) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyWeeklyCycleDayOfWeek - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// ResourcePolicyWorkloadPolicy: Represents the workload policy. +type ResourcePolicyWorkloadPolicy struct { + // Possible values: + // "HIGH_AVAILABILITY" - VMs will be provisioned in such a way which provides + // high availability. + // "HIGH_THROUGHPUT" - VMs will be provisioned in such a way which provides + // high throughput. + Type string `json:"type,omitempty"` + // ForceSendFields is a list of field names (e.g. "Type") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Type") to include in API requests + // with the JSON null value. By default, fields with empty values are omitted + // from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s ResourcePolicyWorkloadPolicy) MarshalJSON() ([]byte, error) { + type NoMethod ResourcePolicyWorkloadPolicy + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourceStatus: Contains output only fields. Use this sub-message for actual @@ -44204,9 +44305,9 @@ type ResourceStatus struct { NullFields []string `json:"-"` } -func (s *ResourceStatus) MarshalJSON() ([]byte, error) { +func (s ResourceStatus) MarshalJSON() ([]byte, error) { type NoMethod ResourceStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ResourceStatusLastInstanceTerminationDetails struct { @@ -44243,17 +44344,15 @@ type ResourceStatusLastInstanceTerminationDetails struct { NullFields []string `json:"-"` } -func (s *ResourceStatusLastInstanceTerminationDetails) MarshalJSON() ([]byte, error) { +func (s ResourceStatusLastInstanceTerminationDetails) MarshalJSON() ([]byte, error) { type NoMethod ResourceStatusLastInstanceTerminationDetails - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ResourceStatusScheduling struct { - // AvailabilityDomain: Specifies the availability domain (AD), which this - // instance should be scheduled on. The AD belongs to the spread - // GroupPlacementPolicy resource policy that has been assigned to the instance. - // Specify a value between 1-max count of availability domains in your - // GroupPlacementPolicy. See go/placement-policy-extension for more details. + // AvailabilityDomain: Specifies the availability domain to place the instance + // in. The value must be a number between 1 and the number of availability + // domains specified in the spread placement policy attached to the instance. AvailabilityDomain int64 `json:"availabilityDomain,omitempty"` // TerminationTimestamp: Time in future when the instance will be terminated in // RFC3339 text format. @@ -44271,9 +44370,9 @@ type ResourceStatusScheduling struct { NullFields []string `json:"-"` } -func (s *ResourceStatusScheduling) MarshalJSON() ([]byte, error) { +func (s ResourceStatusScheduling) MarshalJSON() ([]byte, error) { type NoMethod ResourceStatusScheduling - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourceStatusServiceIntegrationStatus: Represents the status of integration @@ -44294,9 +44393,9 @@ type ResourceStatusServiceIntegrationStatus struct { NullFields []string `json:"-"` } -func (s *ResourceStatusServiceIntegrationStatus) MarshalJSON() ([]byte, error) { +func (s ResourceStatusServiceIntegrationStatus) MarshalJSON() ([]byte, error) { type NoMethod ResourceStatusServiceIntegrationStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourceStatusServiceIntegrationStatusBackupDRStatus: Message defining @@ -44335,9 +44434,9 @@ type ResourceStatusServiceIntegrationStatusBackupDRStatus struct { NullFields []string `json:"-"` } -func (s *ResourceStatusServiceIntegrationStatusBackupDRStatus) MarshalJSON() ([]byte, error) { +func (s ResourceStatusServiceIntegrationStatusBackupDRStatus) MarshalJSON() ([]byte, error) { type NoMethod ResourceStatusServiceIntegrationStatusBackupDRStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourceStatusShutdownDetails: Specifies if the instance is in @@ -44376,9 +44475,9 @@ type ResourceStatusShutdownDetails struct { NullFields []string `json:"-"` } -func (s *ResourceStatusShutdownDetails) MarshalJSON() ([]byte, error) { +func (s ResourceStatusShutdownDetails) MarshalJSON() ([]byte, error) { type NoMethod ResourceStatusShutdownDetails - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RolloutPolicy: A rollout policy configuration. @@ -44405,9 +44504,9 @@ type RolloutPolicy struct { NullFields []string `json:"-"` } -func (s *RolloutPolicy) MarshalJSON() ([]byte, error) { +func (s RolloutPolicy) MarshalJSON() ([]byte, error) { type NoMethod RolloutPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Route: Represents a Route resource. A route defines a path from VM instances @@ -44580,9 +44679,9 @@ type Route struct { NullFields []string `json:"-"` } -func (s *Route) MarshalJSON() ([]byte, error) { +func (s Route) MarshalJSON() ([]byte, error) { type NoMethod Route - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouteWarnings struct { @@ -44664,9 +44763,9 @@ type RouteWarnings struct { NullFields []string `json:"-"` } -func (s *RouteWarnings) MarshalJSON() ([]byte, error) { +func (s RouteWarnings) MarshalJSON() ([]byte, error) { type NoMethod RouteWarnings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouteWarningsData struct { @@ -44693,9 +44792,9 @@ type RouteWarningsData struct { NullFields []string `json:"-"` } -func (s *RouteWarningsData) MarshalJSON() ([]byte, error) { +func (s RouteWarningsData) MarshalJSON() ([]byte, error) { type NoMethod RouteWarningsData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouteAsPath struct { @@ -44728,9 +44827,9 @@ type RouteAsPath struct { NullFields []string `json:"-"` } -func (s *RouteAsPath) MarshalJSON() ([]byte, error) { +func (s RouteAsPath) MarshalJSON() ([]byte, error) { type NoMethod RouteAsPath - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouteList: Contains a list of Route resources. @@ -44767,9 +44866,9 @@ type RouteList struct { NullFields []string `json:"-"` } -func (s *RouteList) MarshalJSON() ([]byte, error) { +func (s RouteList) MarshalJSON() ([]byte, error) { type NoMethod RouteList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouteListWarning: [Output Only] Informational warning message. @@ -44852,9 +44951,9 @@ type RouteListWarning struct { NullFields []string `json:"-"` } -func (s *RouteListWarning) MarshalJSON() ([]byte, error) { +func (s RouteListWarning) MarshalJSON() ([]byte, error) { type NoMethod RouteListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouteListWarningData struct { @@ -44881,9 +44980,9 @@ type RouteListWarningData struct { NullFields []string `json:"-"` } -func (s *RouteListWarningData) MarshalJSON() ([]byte, error) { +func (s RouteListWarningData) MarshalJSON() ([]byte, error) { type NoMethod RouteListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RoutePolicy struct { @@ -44919,9 +45018,9 @@ type RoutePolicy struct { NullFields []string `json:"-"` } -func (s *RoutePolicy) MarshalJSON() ([]byte, error) { +func (s RoutePolicy) MarshalJSON() ([]byte, error) { type NoMethod RoutePolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RoutePolicyPolicyTerm struct { @@ -44947,9 +45046,9 @@ type RoutePolicyPolicyTerm struct { NullFields []string `json:"-"` } -func (s *RoutePolicyPolicyTerm) MarshalJSON() ([]byte, error) { +func (s RoutePolicyPolicyTerm) MarshalJSON() ([]byte, error) { type NoMethod RoutePolicyPolicyTerm - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Router: Represents a Cloud Router resource. For more information about Cloud @@ -45019,9 +45118,9 @@ type Router struct { NullFields []string `json:"-"` } -func (s *Router) MarshalJSON() ([]byte, error) { +func (s Router) MarshalJSON() ([]byte, error) { type NoMethod Router - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouterAdvertisedIpRange: Description-tagged IP ranges for the router to @@ -45044,9 +45143,9 @@ type RouterAdvertisedIpRange struct { NullFields []string `json:"-"` } -func (s *RouterAdvertisedIpRange) MarshalJSON() ([]byte, error) { +func (s RouterAdvertisedIpRange) MarshalJSON() ([]byte, error) { type NoMethod RouterAdvertisedIpRange - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouterAggregatedList: Contains a list of routers. @@ -45085,9 +45184,9 @@ type RouterAggregatedList struct { NullFields []string `json:"-"` } -func (s *RouterAggregatedList) MarshalJSON() ([]byte, error) { +func (s RouterAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod RouterAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouterAggregatedListWarning: [Output Only] Informational warning message. @@ -45170,9 +45269,9 @@ type RouterAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *RouterAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s RouterAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod RouterAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterAggregatedListWarningData struct { @@ -45199,9 +45298,9 @@ type RouterAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *RouterAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s RouterAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod RouterAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterBgp struct { @@ -45263,9 +45362,9 @@ type RouterBgp struct { NullFields []string `json:"-"` } -func (s *RouterBgp) MarshalJSON() ([]byte, error) { +func (s RouterBgp) MarshalJSON() ([]byte, error) { type NoMethod RouterBgp - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterBgpPeer struct { @@ -45407,9 +45506,9 @@ type RouterBgpPeer struct { NullFields []string `json:"-"` } -func (s *RouterBgpPeer) MarshalJSON() ([]byte, error) { +func (s RouterBgpPeer) MarshalJSON() ([]byte, error) { type NoMethod RouterBgpPeer - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterBgpPeerBfd struct { @@ -45484,9 +45583,9 @@ type RouterBgpPeerBfd struct { NullFields []string `json:"-"` } -func (s *RouterBgpPeerBfd) MarshalJSON() ([]byte, error) { +func (s RouterBgpPeerBfd) MarshalJSON() ([]byte, error) { type NoMethod RouterBgpPeerBfd - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterBgpPeerCustomLearnedIpRange struct { @@ -45508,9 +45607,9 @@ type RouterBgpPeerCustomLearnedIpRange struct { NullFields []string `json:"-"` } -func (s *RouterBgpPeerCustomLearnedIpRange) MarshalJSON() ([]byte, error) { +func (s RouterBgpPeerCustomLearnedIpRange) MarshalJSON() ([]byte, error) { type NoMethod RouterBgpPeerCustomLearnedIpRange - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterInterface struct { @@ -45598,9 +45697,9 @@ type RouterInterface struct { NullFields []string `json:"-"` } -func (s *RouterInterface) MarshalJSON() ([]byte, error) { +func (s RouterInterface) MarshalJSON() ([]byte, error) { type NoMethod RouterInterface - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouterList: Contains a list of Router resources. @@ -45637,9 +45736,9 @@ type RouterList struct { NullFields []string `json:"-"` } -func (s *RouterList) MarshalJSON() ([]byte, error) { +func (s RouterList) MarshalJSON() ([]byte, error) { type NoMethod RouterList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouterListWarning: [Output Only] Informational warning message. @@ -45722,9 +45821,9 @@ type RouterListWarning struct { NullFields []string `json:"-"` } -func (s *RouterListWarning) MarshalJSON() ([]byte, error) { +func (s RouterListWarning) MarshalJSON() ([]byte, error) { type NoMethod RouterListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterListWarningData struct { @@ -45751,9 +45850,9 @@ type RouterListWarningData struct { NullFields []string `json:"-"` } -func (s *RouterListWarningData) MarshalJSON() ([]byte, error) { +func (s RouterListWarningData) MarshalJSON() ([]byte, error) { type NoMethod RouterListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterMd5AuthenticationKey struct { @@ -45778,9 +45877,9 @@ type RouterMd5AuthenticationKey struct { NullFields []string `json:"-"` } -func (s *RouterMd5AuthenticationKey) MarshalJSON() ([]byte, error) { +func (s RouterMd5AuthenticationKey) MarshalJSON() ([]byte, error) { type NoMethod RouterMd5AuthenticationKey - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouterNat: Represents a Nat resource. It enables the VMs within the @@ -45921,9 +46020,9 @@ type RouterNat struct { NullFields []string `json:"-"` } -func (s *RouterNat) MarshalJSON() ([]byte, error) { +func (s RouterNat) MarshalJSON() ([]byte, error) { type NoMethod RouterNat - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouterNatLogConfig: Configuration of logging on a NAT. @@ -45955,9 +46054,9 @@ type RouterNatLogConfig struct { NullFields []string `json:"-"` } -func (s *RouterNatLogConfig) MarshalJSON() ([]byte, error) { +func (s RouterNatLogConfig) MarshalJSON() ([]byte, error) { type NoMethod RouterNatLogConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterNatRule struct { @@ -45992,9 +46091,9 @@ type RouterNatRule struct { NullFields []string `json:"-"` } -func (s *RouterNatRule) MarshalJSON() ([]byte, error) { +func (s RouterNatRule) MarshalJSON() ([]byte, error) { type NoMethod RouterNatRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterNatRuleAction struct { @@ -46029,9 +46128,9 @@ type RouterNatRuleAction struct { NullFields []string `json:"-"` } -func (s *RouterNatRuleAction) MarshalJSON() ([]byte, error) { +func (s RouterNatRuleAction) MarshalJSON() ([]byte, error) { type NoMethod RouterNatRuleAction - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouterNatSubnetworkToNat: Defines the IP ranges that want to use NAT for a @@ -46070,9 +46169,9 @@ type RouterNatSubnetworkToNat struct { NullFields []string `json:"-"` } -func (s *RouterNatSubnetworkToNat) MarshalJSON() ([]byte, error) { +func (s RouterNatSubnetworkToNat) MarshalJSON() ([]byte, error) { type NoMethod RouterNatSubnetworkToNat - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterStatus struct { @@ -46105,9 +46204,9 @@ type RouterStatus struct { NullFields []string `json:"-"` } -func (s *RouterStatus) MarshalJSON() ([]byte, error) { +func (s RouterStatus) MarshalJSON() ([]byte, error) { type NoMethod RouterStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterStatusBgpPeerStatus struct { @@ -46186,9 +46285,9 @@ type RouterStatusBgpPeerStatus struct { NullFields []string `json:"-"` } -func (s *RouterStatusBgpPeerStatus) MarshalJSON() ([]byte, error) { +func (s RouterStatusBgpPeerStatus) MarshalJSON() ([]byte, error) { type NoMethod RouterStatusBgpPeerStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouterStatusNatStatus: Status of a NAT contained in this router. @@ -46233,9 +46332,9 @@ type RouterStatusNatStatus struct { NullFields []string `json:"-"` } -func (s *RouterStatusNatStatus) MarshalJSON() ([]byte, error) { +func (s RouterStatusNatStatus) MarshalJSON() ([]byte, error) { type NoMethod RouterStatusNatStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouterStatusNatStatusNatRuleStatus: Status of a NAT Rule contained in this @@ -46269,9 +46368,9 @@ type RouterStatusNatStatusNatRuleStatus struct { NullFields []string `json:"-"` } -func (s *RouterStatusNatStatusNatRuleStatus) MarshalJSON() ([]byte, error) { +func (s RouterStatusNatStatusNatRuleStatus) MarshalJSON() ([]byte, error) { type NoMethod RouterStatusNatStatusNatRuleStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterStatusResponse struct { @@ -46294,9 +46393,9 @@ type RouterStatusResponse struct { NullFields []string `json:"-"` } -func (s *RouterStatusResponse) MarshalJSON() ([]byte, error) { +func (s RouterStatusResponse) MarshalJSON() ([]byte, error) { type NoMethod RouterStatusResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RoutersGetNamedSetResponse struct { @@ -46319,9 +46418,9 @@ type RoutersGetNamedSetResponse struct { NullFields []string `json:"-"` } -func (s *RoutersGetNamedSetResponse) MarshalJSON() ([]byte, error) { +func (s RoutersGetNamedSetResponse) MarshalJSON() ([]byte, error) { type NoMethod RoutersGetNamedSetResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RoutersGetRoutePolicyResponse struct { @@ -46344,9 +46443,9 @@ type RoutersGetRoutePolicyResponse struct { NullFields []string `json:"-"` } -func (s *RoutersGetRoutePolicyResponse) MarshalJSON() ([]byte, error) { +func (s RoutersGetRoutePolicyResponse) MarshalJSON() ([]byte, error) { type NoMethod RoutersGetRoutePolicyResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RoutersListBgpRoutes struct { @@ -46387,9 +46486,9 @@ type RoutersListBgpRoutes struct { NullFields []string `json:"-"` } -func (s *RoutersListBgpRoutes) MarshalJSON() ([]byte, error) { +func (s RoutersListBgpRoutes) MarshalJSON() ([]byte, error) { type NoMethod RoutersListBgpRoutes - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RoutersListBgpRoutesWarning: [Output Only] Informational warning message. @@ -46472,9 +46571,9 @@ type RoutersListBgpRoutesWarning struct { NullFields []string `json:"-"` } -func (s *RoutersListBgpRoutesWarning) MarshalJSON() ([]byte, error) { +func (s RoutersListBgpRoutesWarning) MarshalJSON() ([]byte, error) { type NoMethod RoutersListBgpRoutesWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RoutersListBgpRoutesWarningData struct { @@ -46501,9 +46600,9 @@ type RoutersListBgpRoutesWarningData struct { NullFields []string `json:"-"` } -func (s *RoutersListBgpRoutesWarningData) MarshalJSON() ([]byte, error) { +func (s RoutersListBgpRoutesWarningData) MarshalJSON() ([]byte, error) { type NoMethod RoutersListBgpRoutesWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RoutersListNamedSets struct { @@ -46544,9 +46643,9 @@ type RoutersListNamedSets struct { NullFields []string `json:"-"` } -func (s *RoutersListNamedSets) MarshalJSON() ([]byte, error) { +func (s RoutersListNamedSets) MarshalJSON() ([]byte, error) { type NoMethod RoutersListNamedSets - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RoutersListNamedSetsWarning: [Output Only] Informational warning message. @@ -46629,9 +46728,9 @@ type RoutersListNamedSetsWarning struct { NullFields []string `json:"-"` } -func (s *RoutersListNamedSetsWarning) MarshalJSON() ([]byte, error) { +func (s RoutersListNamedSetsWarning) MarshalJSON() ([]byte, error) { type NoMethod RoutersListNamedSetsWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RoutersListNamedSetsWarningData struct { @@ -46658,9 +46757,9 @@ type RoutersListNamedSetsWarningData struct { NullFields []string `json:"-"` } -func (s *RoutersListNamedSetsWarningData) MarshalJSON() ([]byte, error) { +func (s RoutersListNamedSetsWarningData) MarshalJSON() ([]byte, error) { type NoMethod RoutersListNamedSetsWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RoutersListRoutePolicies struct { @@ -46701,9 +46800,9 @@ type RoutersListRoutePolicies struct { NullFields []string `json:"-"` } -func (s *RoutersListRoutePolicies) MarshalJSON() ([]byte, error) { +func (s RoutersListRoutePolicies) MarshalJSON() ([]byte, error) { type NoMethod RoutersListRoutePolicies - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RoutersListRoutePoliciesWarning: [Output Only] Informational warning @@ -46787,9 +46886,9 @@ type RoutersListRoutePoliciesWarning struct { NullFields []string `json:"-"` } -func (s *RoutersListRoutePoliciesWarning) MarshalJSON() ([]byte, error) { +func (s RoutersListRoutePoliciesWarning) MarshalJSON() ([]byte, error) { type NoMethod RoutersListRoutePoliciesWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RoutersListRoutePoliciesWarningData struct { @@ -46816,9 +46915,9 @@ type RoutersListRoutePoliciesWarningData struct { NullFields []string `json:"-"` } -func (s *RoutersListRoutePoliciesWarningData) MarshalJSON() ([]byte, error) { +func (s RoutersListRoutePoliciesWarningData) MarshalJSON() ([]byte, error) { type NoMethod RoutersListRoutePoliciesWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RoutersPreviewResponse struct { @@ -46840,9 +46939,9 @@ type RoutersPreviewResponse struct { NullFields []string `json:"-"` } -func (s *RoutersPreviewResponse) MarshalJSON() ([]byte, error) { +func (s RoutersPreviewResponse) MarshalJSON() ([]byte, error) { type NoMethod RoutersPreviewResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RoutersScopedList struct { @@ -46864,9 +46963,9 @@ type RoutersScopedList struct { NullFields []string `json:"-"` } -func (s *RoutersScopedList) MarshalJSON() ([]byte, error) { +func (s RoutersScopedList) MarshalJSON() ([]byte, error) { type NoMethod RoutersScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RoutersScopedListWarning: Informational warning which replaces the list of @@ -46950,9 +47049,9 @@ type RoutersScopedListWarning struct { NullFields []string `json:"-"` } -func (s *RoutersScopedListWarning) MarshalJSON() ([]byte, error) { +func (s RoutersScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod RoutersScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RoutersScopedListWarningData struct { @@ -46979,9 +47078,9 @@ type RoutersScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *RoutersScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s RoutersScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod RoutersScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Rule: This is deprecated and has no effect. Do not use. @@ -47021,9 +47120,9 @@ type Rule struct { NullFields []string `json:"-"` } -func (s *Rule) MarshalJSON() ([]byte, error) { +func (s Rule) MarshalJSON() ([]byte, error) { type NoMethod Rule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SSLHealthCheck struct { @@ -47092,9 +47191,9 @@ type SSLHealthCheck struct { NullFields []string `json:"-"` } -func (s *SSLHealthCheck) MarshalJSON() ([]byte, error) { +func (s SSLHealthCheck) MarshalJSON() ([]byte, error) { type NoMethod SSLHealthCheck - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SavedAttachedDisk: DEPRECATED: Please use compute#savedDisk instead. An @@ -47178,9 +47277,9 @@ type SavedAttachedDisk struct { NullFields []string `json:"-"` } -func (s *SavedAttachedDisk) MarshalJSON() ([]byte, error) { +func (s SavedAttachedDisk) MarshalJSON() ([]byte, error) { type NoMethod SavedAttachedDisk - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SavedDisk: An instance-attached disk resource. @@ -47224,9 +47323,9 @@ type SavedDisk struct { NullFields []string `json:"-"` } -func (s *SavedDisk) MarshalJSON() ([]byte, error) { +func (s SavedDisk) MarshalJSON() ([]byte, error) { type NoMethod SavedDisk - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ScalingScheduleStatus struct { @@ -47262,9 +47361,9 @@ type ScalingScheduleStatus struct { NullFields []string `json:"-"` } -func (s *ScalingScheduleStatus) MarshalJSON() ([]byte, error) { +func (s ScalingScheduleStatus) MarshalJSON() ([]byte, error) { type NoMethod ScalingScheduleStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Scheduling: Sets the scheduling options for an Instance. @@ -47276,11 +47375,9 @@ type Scheduling struct { // set to true so an instance is automatically restarted if it is terminated by // Compute Engine. AutomaticRestart *bool `json:"automaticRestart,omitempty"` - // AvailabilityDomain: Specifies the availability domain (AD), which this - // instance should be scheduled on. The AD belongs to the spread - // GroupPlacementPolicy resource policy that has been assigned to the instance. - // Specify a value between 1-max count of availability domains in your - // GroupPlacementPolicy. See go/placement-policy-extension for more details. + // AvailabilityDomain: Specifies the availability domain to place the instance + // in. The value must be a number between 1 and the number of availability + // domains specified in the spread placement policy attached to the instance. AvailabilityDomain int64 `json:"availabilityDomain,omitempty"` // CurrentCpus: Current number of vCPUs available for VM. 0 or unset means // default vCPUs of the current machine type. @@ -47410,9 +47507,9 @@ type Scheduling struct { NullFields []string `json:"-"` } -func (s *Scheduling) MarshalJSON() ([]byte, error) { +func (s Scheduling) MarshalJSON() ([]byte, error) { type NoMethod Scheduling - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SchedulingGracefulShutdown: Configuration for gracefully shutting down the @@ -47437,9 +47534,9 @@ type SchedulingGracefulShutdown struct { NullFields []string `json:"-"` } -func (s *SchedulingGracefulShutdown) MarshalJSON() ([]byte, error) { +func (s SchedulingGracefulShutdown) MarshalJSON() ([]byte, error) { type NoMethod SchedulingGracefulShutdown - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SchedulingNodeAffinity: Node Affinity: the configuration of desired nodes @@ -47470,9 +47567,9 @@ type SchedulingNodeAffinity struct { NullFields []string `json:"-"` } -func (s *SchedulingNodeAffinity) MarshalJSON() ([]byte, error) { +func (s SchedulingNodeAffinity) MarshalJSON() ([]byte, error) { type NoMethod SchedulingNodeAffinity - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SchedulingOnInstanceStopAction: Defines the behaviour for instances with the @@ -47495,9 +47592,9 @@ type SchedulingOnInstanceStopAction struct { NullFields []string `json:"-"` } -func (s *SchedulingOnInstanceStopAction) MarshalJSON() ([]byte, error) { +func (s SchedulingOnInstanceStopAction) MarshalJSON() ([]byte, error) { type NoMethod SchedulingOnInstanceStopAction - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Screenshot: An instance's screenshot. @@ -47523,9 +47620,9 @@ type Screenshot struct { NullFields []string `json:"-"` } -func (s *Screenshot) MarshalJSON() ([]byte, error) { +func (s Screenshot) MarshalJSON() ([]byte, error) { type NoMethod Screenshot - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SdsConfig: [Deprecated] The configuration to access the SDS server. The @@ -47546,9 +47643,9 @@ type SdsConfig struct { NullFields []string `json:"-"` } -func (s *SdsConfig) MarshalJSON() ([]byte, error) { +func (s SdsConfig) MarshalJSON() ([]byte, error) { type NoMethod SdsConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPoliciesAggregatedList struct { @@ -47588,9 +47685,9 @@ type SecurityPoliciesAggregatedList struct { NullFields []string `json:"-"` } -func (s *SecurityPoliciesAggregatedList) MarshalJSON() ([]byte, error) { +func (s SecurityPoliciesAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod SecurityPoliciesAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecurityPoliciesAggregatedListWarning: [Output Only] Informational warning @@ -47674,9 +47771,9 @@ type SecurityPoliciesAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *SecurityPoliciesAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s SecurityPoliciesAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod SecurityPoliciesAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPoliciesAggregatedListWarningData struct { @@ -47703,9 +47800,9 @@ type SecurityPoliciesAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *SecurityPoliciesAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s SecurityPoliciesAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SecurityPoliciesAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPoliciesListPreconfiguredExpressionSetsResponse struct { @@ -47726,9 +47823,9 @@ type SecurityPoliciesListPreconfiguredExpressionSetsResponse struct { NullFields []string `json:"-"` } -func (s *SecurityPoliciesListPreconfiguredExpressionSetsResponse) MarshalJSON() ([]byte, error) { +func (s SecurityPoliciesListPreconfiguredExpressionSetsResponse) MarshalJSON() ([]byte, error) { type NoMethod SecurityPoliciesListPreconfiguredExpressionSetsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPoliciesScopedList struct { @@ -47750,9 +47847,9 @@ type SecurityPoliciesScopedList struct { NullFields []string `json:"-"` } -func (s *SecurityPoliciesScopedList) MarshalJSON() ([]byte, error) { +func (s SecurityPoliciesScopedList) MarshalJSON() ([]byte, error) { type NoMethod SecurityPoliciesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecurityPoliciesScopedListWarning: Informational warning which replaces the @@ -47836,9 +47933,9 @@ type SecurityPoliciesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *SecurityPoliciesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s SecurityPoliciesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod SecurityPoliciesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPoliciesScopedListWarningData struct { @@ -47865,9 +47962,9 @@ type SecurityPoliciesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *SecurityPoliciesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s SecurityPoliciesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SecurityPoliciesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPoliciesWafConfig struct { @@ -47885,9 +47982,9 @@ type SecurityPoliciesWafConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPoliciesWafConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPoliciesWafConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPoliciesWafConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecurityPolicy: Represents a Google Cloud Armor security policy resource. @@ -48027,9 +48124,9 @@ type SecurityPolicy struct { NullFields []string `json:"-"` } -func (s *SecurityPolicy) MarshalJSON() ([]byte, error) { +func (s SecurityPolicy) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecurityPolicyAdaptiveProtectionConfig: Configuration options for Cloud @@ -48052,9 +48149,9 @@ type SecurityPolicyAdaptiveProtectionConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyAdaptiveProtectionConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyAdaptiveProtectionConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyAdaptiveProtectionConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig: Configuration @@ -48077,9 +48174,9 @@ type SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig) UnmarshalJSON(data []byte) error { @@ -48131,9 +48228,9 @@ type SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig struct { @@ -48163,9 +48260,9 @@ type SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfi NullFields []string `json:"-"` } -func (s *SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig) UnmarshalJSON(data []byte) error { @@ -48222,9 +48319,9 @@ type SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfi NullFields []string `json:"-"` } -func (s *SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyAdvancedOptionsConfig struct { @@ -48256,9 +48353,9 @@ type SecurityPolicyAdvancedOptionsConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyAdvancedOptionsConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyAdvancedOptionsConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyAdvancedOptionsConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyAdvancedOptionsConfigJsonCustomConfig struct { @@ -48281,9 +48378,9 @@ type SecurityPolicyAdvancedOptionsConfigJsonCustomConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyAdvancedOptionsConfigJsonCustomConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyAdvancedOptionsConfigJsonCustomConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyAdvancedOptionsConfigJsonCustomConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyAssociation struct { @@ -48319,9 +48416,9 @@ type SecurityPolicyAssociation struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyAssociation) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyAssociation) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyAssociation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecurityPolicyCloudArmorConfig: Configuration options for Cloud Armor. @@ -48341,9 +48438,9 @@ type SecurityPolicyCloudArmorConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyCloudArmorConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyCloudArmorConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyCloudArmorConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyDdosProtectionConfig struct { @@ -48365,9 +48462,9 @@ type SecurityPolicyDdosProtectionConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyDdosProtectionConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyDdosProtectionConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyDdosProtectionConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyList struct { @@ -48405,9 +48502,9 @@ type SecurityPolicyList struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyList) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyList) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecurityPolicyListWarning: [Output Only] Informational warning message. @@ -48490,9 +48587,9 @@ type SecurityPolicyListWarning struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyListWarning) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyListWarning) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyListWarningData struct { @@ -48519,9 +48616,9 @@ type SecurityPolicyListWarningData struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyListWarningData) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRecaptchaOptionsConfig struct { @@ -48546,9 +48643,9 @@ type SecurityPolicyRecaptchaOptionsConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRecaptchaOptionsConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRecaptchaOptionsConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRecaptchaOptionsConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyReference struct { @@ -48566,9 +48663,9 @@ type SecurityPolicyReference struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyReference) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyReference) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyReference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecurityPolicyRule: Represents a rule that describes one or more match @@ -48698,9 +48795,9 @@ type SecurityPolicyRule struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRule) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRule) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRuleHttpHeaderAction struct { @@ -48720,9 +48817,9 @@ type SecurityPolicyRuleHttpHeaderAction struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleHttpHeaderAction) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleHttpHeaderAction) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleHttpHeaderAction - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRuleHttpHeaderActionHttpHeaderOption struct { @@ -48743,9 +48840,9 @@ type SecurityPolicyRuleHttpHeaderActionHttpHeaderOption struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleHttpHeaderActionHttpHeaderOption) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleHttpHeaderActionHttpHeaderOption) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleHttpHeaderActionHttpHeaderOption - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecurityPolicyRuleMatcher: Represents a match condition that incoming @@ -48789,9 +48886,9 @@ type SecurityPolicyRuleMatcher struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleMatcher) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleMatcher) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleMatcher - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRuleMatcherConfig struct { @@ -48820,9 +48917,9 @@ type SecurityPolicyRuleMatcherConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleMatcherConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleMatcherConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleMatcherConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRuleMatcherConfigDestinationPort struct { @@ -48851,9 +48948,9 @@ type SecurityPolicyRuleMatcherConfigDestinationPort struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleMatcherConfigDestinationPort) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleMatcherConfigDestinationPort) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleMatcherConfigDestinationPort - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRuleMatcherConfigLayer4Config struct { @@ -48882,9 +48979,9 @@ type SecurityPolicyRuleMatcherConfigLayer4Config struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleMatcherConfigLayer4Config) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleMatcherConfigLayer4Config) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleMatcherConfigLayer4Config - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRuleMatcherExprOptions struct { @@ -48905,9 +49002,9 @@ type SecurityPolicyRuleMatcherExprOptions struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleMatcherExprOptions) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleMatcherExprOptions) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleMatcherExprOptions - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions struct { @@ -48932,9 +49029,9 @@ type SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecurityPolicyRuleNetworkMatcher: Represents a match condition that incoming @@ -48978,9 +49075,9 @@ type SecurityPolicyRuleNetworkMatcher struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleNetworkMatcher) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleNetworkMatcher) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleNetworkMatcher - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch struct { @@ -49003,9 +49100,9 @@ type SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRulePreconfiguredWafConfig struct { @@ -49025,9 +49122,9 @@ type SecurityPolicyRulePreconfiguredWafConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRulePreconfiguredWafConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRulePreconfiguredWafConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRulePreconfiguredWafConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRulePreconfiguredWafConfigExclusion struct { @@ -49064,9 +49161,9 @@ type SecurityPolicyRulePreconfiguredWafConfigExclusion struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRulePreconfiguredWafConfigExclusion) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRulePreconfiguredWafConfigExclusion) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRulePreconfiguredWafConfigExclusion - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams struct { @@ -49098,9 +49195,9 @@ type SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRuleRateLimitOptions struct { @@ -49198,9 +49295,9 @@ type SecurityPolicyRuleRateLimitOptions struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleRateLimitOptions) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleRateLimitOptions) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleRateLimitOptions - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig struct { @@ -49262,9 +49359,9 @@ type SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecurityPolicyRuleRateLimitOptionsRpcStatus: Simplified google.rpc.Status @@ -49287,9 +49384,9 @@ type SecurityPolicyRuleRateLimitOptionsRpcStatus struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleRateLimitOptionsRpcStatus) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleRateLimitOptionsRpcStatus) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleRateLimitOptionsRpcStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRuleRateLimitOptionsThreshold struct { @@ -49310,9 +49407,9 @@ type SecurityPolicyRuleRateLimitOptionsThreshold struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleRateLimitOptionsThreshold) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleRateLimitOptionsThreshold) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleRateLimitOptionsThreshold - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRuleRedirectOptions struct { @@ -49338,9 +49435,9 @@ type SecurityPolicyRuleRedirectOptions struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleRedirectOptions) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleRedirectOptions) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleRedirectOptions - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyUserDefinedField struct { @@ -49383,9 +49480,9 @@ type SecurityPolicyUserDefinedField struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyUserDefinedField) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyUserDefinedField) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyUserDefinedField - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecuritySettings: The authentication and authorization settings for a @@ -49440,9 +49537,9 @@ type SecuritySettings struct { NullFields []string `json:"-"` } -func (s *SecuritySettings) MarshalJSON() ([]byte, error) { +func (s SecuritySettings) MarshalJSON() ([]byte, error) { type NoMethod SecuritySettings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SerialPortOutput: An instance serial console output. @@ -49481,9 +49578,9 @@ type SerialPortOutput struct { NullFields []string `json:"-"` } -func (s *SerialPortOutput) MarshalJSON() ([]byte, error) { +func (s SerialPortOutput) MarshalJSON() ([]byte, error) { type NoMethod SerialPortOutput - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ServerBinding struct { @@ -49507,9 +49604,9 @@ type ServerBinding struct { NullFields []string `json:"-"` } -func (s *ServerBinding) MarshalJSON() ([]byte, error) { +func (s ServerBinding) MarshalJSON() ([]byte, error) { type NoMethod ServerBinding - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServerTlsSettings: The TLS settings for the server. @@ -49545,9 +49642,9 @@ type ServerTlsSettings struct { NullFields []string `json:"-"` } -func (s *ServerTlsSettings) MarshalJSON() ([]byte, error) { +func (s ServerTlsSettings) MarshalJSON() ([]byte, error) { type NoMethod ServerTlsSettings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceAccount: A service account. @@ -49569,9 +49666,9 @@ type ServiceAccount struct { NullFields []string `json:"-"` } -func (s *ServiceAccount) MarshalJSON() ([]byte, error) { +func (s ServiceAccount) MarshalJSON() ([]byte, error) { type NoMethod ServiceAccount - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceAttachment: Represents a ServiceAttachment resource. A service @@ -49704,9 +49801,9 @@ type ServiceAttachment struct { NullFields []string `json:"-"` } -func (s *ServiceAttachment) MarshalJSON() ([]byte, error) { +func (s ServiceAttachment) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachment - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceAttachmentAggregatedList: Contains a list of @@ -49746,9 +49843,9 @@ type ServiceAttachmentAggregatedList struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentAggregatedList) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceAttachmentAggregatedListWarning: [Output Only] Informational warning @@ -49832,9 +49929,9 @@ type ServiceAttachmentAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ServiceAttachmentAggregatedListWarningData struct { @@ -49861,9 +49958,9 @@ type ServiceAttachmentAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceAttachmentConnectedEndpoint: [Output Only] A connection connected to @@ -49904,9 +50001,9 @@ type ServiceAttachmentConnectedEndpoint struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentConnectedEndpoint) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentConnectedEndpoint) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentConnectedEndpoint - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ServiceAttachmentConsumerProjectLimit struct { @@ -49930,9 +50027,9 @@ type ServiceAttachmentConsumerProjectLimit struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentConsumerProjectLimit) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentConsumerProjectLimit) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentConsumerProjectLimit - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ServiceAttachmentList struct { @@ -49969,9 +50066,9 @@ type ServiceAttachmentList struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentList) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentList) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceAttachmentListWarning: [Output Only] Informational warning message. @@ -50054,9 +50151,9 @@ type ServiceAttachmentListWarning struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentListWarning) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentListWarning) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ServiceAttachmentListWarningData struct { @@ -50083,9 +50180,9 @@ type ServiceAttachmentListWarningData struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentListWarningData) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceAttachmentTunnelingConfig: Use to configure this PSC connection in @@ -50124,9 +50221,9 @@ type ServiceAttachmentTunnelingConfig struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentTunnelingConfig) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentTunnelingConfig) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentTunnelingConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ServiceAttachmentsScopedList struct { @@ -50148,9 +50245,9 @@ type ServiceAttachmentsScopedList struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentsScopedList) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentsScopedList) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceAttachmentsScopedListWarning: Informational warning which replaces @@ -50234,9 +50331,9 @@ type ServiceAttachmentsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ServiceAttachmentsScopedListWarningData struct { @@ -50263,9 +50360,9 @@ type ServiceAttachmentsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceIntegrationSpec: Specifies the parameters to configure an integration @@ -50285,9 +50382,9 @@ type ServiceIntegrationSpec struct { NullFields []string `json:"-"` } -func (s *ServiceIntegrationSpec) MarshalJSON() ([]byte, error) { +func (s ServiceIntegrationSpec) MarshalJSON() ([]byte, error) { type NoMethod ServiceIntegrationSpec - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceIntegrationSpecBackupDRSpec: Specifies parameters to Backup and DR to @@ -50310,9 +50407,9 @@ type ServiceIntegrationSpecBackupDRSpec struct { NullFields []string `json:"-"` } -func (s *ServiceIntegrationSpecBackupDRSpec) MarshalJSON() ([]byte, error) { +func (s ServiceIntegrationSpecBackupDRSpec) MarshalJSON() ([]byte, error) { type NoMethod ServiceIntegrationSpecBackupDRSpec - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SetCommonInstanceMetadataOperationMetadata struct { @@ -50334,9 +50431,9 @@ type SetCommonInstanceMetadataOperationMetadata struct { NullFields []string `json:"-"` } -func (s *SetCommonInstanceMetadataOperationMetadata) MarshalJSON() ([]byte, error) { +func (s SetCommonInstanceMetadataOperationMetadata) MarshalJSON() ([]byte, error) { type NoMethod SetCommonInstanceMetadataOperationMetadata - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo struct { @@ -50369,9 +50466,9 @@ type SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo struct { NullFields []string `json:"-"` } -func (s *SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo) MarshalJSON() ([]byte, error) { +func (s SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo) MarshalJSON() ([]byte, error) { type NoMethod SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ShareSettings: The share setting for reservations and sole tenancy node @@ -50412,9 +50509,9 @@ type ShareSettings struct { NullFields []string `json:"-"` } -func (s *ShareSettings) MarshalJSON() ([]byte, error) { +func (s ShareSettings) MarshalJSON() ([]byte, error) { type NoMethod ShareSettings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ShareSettingsFolderConfig: Config for each folder in the share settings. @@ -50436,9 +50533,9 @@ type ShareSettingsFolderConfig struct { NullFields []string `json:"-"` } -func (s *ShareSettingsFolderConfig) MarshalJSON() ([]byte, error) { +func (s ShareSettingsFolderConfig) MarshalJSON() ([]byte, error) { type NoMethod ShareSettingsFolderConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ShareSettingsProjectConfig: Config for each project in the share settings. @@ -50459,9 +50556,9 @@ type ShareSettingsProjectConfig struct { NullFields []string `json:"-"` } -func (s *ShareSettingsProjectConfig) MarshalJSON() ([]byte, error) { +func (s ShareSettingsProjectConfig) MarshalJSON() ([]byte, error) { type NoMethod ShareSettingsProjectConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ShieldedInstanceConfig: A set of Shielded Instance options. @@ -50488,9 +50585,9 @@ type ShieldedInstanceConfig struct { NullFields []string `json:"-"` } -func (s *ShieldedInstanceConfig) MarshalJSON() ([]byte, error) { +func (s ShieldedInstanceConfig) MarshalJSON() ([]byte, error) { type NoMethod ShieldedInstanceConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ShieldedInstanceIdentity: A Shielded Instance Identity. @@ -50526,9 +50623,9 @@ type ShieldedInstanceIdentity struct { NullFields []string `json:"-"` } -func (s *ShieldedInstanceIdentity) MarshalJSON() ([]byte, error) { +func (s ShieldedInstanceIdentity) MarshalJSON() ([]byte, error) { type NoMethod ShieldedInstanceIdentity - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ShieldedInstanceIdentityEntry: A Shielded Instance Identity Entry. @@ -50550,9 +50647,9 @@ type ShieldedInstanceIdentityEntry struct { NullFields []string `json:"-"` } -func (s *ShieldedInstanceIdentityEntry) MarshalJSON() ([]byte, error) { +func (s ShieldedInstanceIdentityEntry) MarshalJSON() ([]byte, error) { type NoMethod ShieldedInstanceIdentityEntry - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ShieldedInstanceIntegrityPolicy: The policy describes the baseline against @@ -50574,9 +50671,9 @@ type ShieldedInstanceIntegrityPolicy struct { NullFields []string `json:"-"` } -func (s *ShieldedInstanceIntegrityPolicy) MarshalJSON() ([]byte, error) { +func (s ShieldedInstanceIntegrityPolicy) MarshalJSON() ([]byte, error) { type NoMethod ShieldedInstanceIntegrityPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ShieldedVmConfig: A set of Shielded VM options. @@ -50601,9 +50698,9 @@ type ShieldedVmConfig struct { NullFields []string `json:"-"` } -func (s *ShieldedVmConfig) MarshalJSON() ([]byte, error) { +func (s ShieldedVmConfig) MarshalJSON() ([]byte, error) { type NoMethod ShieldedVmConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ShieldedVmIdentity: A Shielded VM Identity. @@ -50631,9 +50728,9 @@ type ShieldedVmIdentity struct { NullFields []string `json:"-"` } -func (s *ShieldedVmIdentity) MarshalJSON() ([]byte, error) { +func (s ShieldedVmIdentity) MarshalJSON() ([]byte, error) { type NoMethod ShieldedVmIdentity - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ShieldedVmIdentityEntry: A Shielded Instance Identity Entry. @@ -50655,9 +50752,9 @@ type ShieldedVmIdentityEntry struct { NullFields []string `json:"-"` } -func (s *ShieldedVmIdentityEntry) MarshalJSON() ([]byte, error) { +func (s ShieldedVmIdentityEntry) MarshalJSON() ([]byte, error) { type NoMethod ShieldedVmIdentityEntry - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ShieldedVmIntegrityPolicy: The policy describes the baseline against which @@ -50679,9 +50776,9 @@ type ShieldedVmIntegrityPolicy struct { NullFields []string `json:"-"` } -func (s *ShieldedVmIntegrityPolicy) MarshalJSON() ([]byte, error) { +func (s ShieldedVmIntegrityPolicy) MarshalJSON() ([]byte, error) { type NoMethod ShieldedVmIntegrityPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SignedUrlKey: Represents a customer-supplied Signing Key used by Cloud CDN @@ -50710,9 +50807,9 @@ type SignedUrlKey struct { NullFields []string `json:"-"` } -func (s *SignedUrlKey) MarshalJSON() ([]byte, error) { +func (s SignedUrlKey) MarshalJSON() ([]byte, error) { type NoMethod SignedUrlKey - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Snapshot: Represents a Persistent Disk Snapshot resource. You can use @@ -50914,9 +51011,9 @@ type Snapshot struct { NullFields []string `json:"-"` } -func (s *Snapshot) MarshalJSON() ([]byte, error) { +func (s Snapshot) MarshalJSON() ([]byte, error) { type NoMethod Snapshot - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SnapshotAggregatedList struct { @@ -50956,9 +51053,9 @@ type SnapshotAggregatedList struct { NullFields []string `json:"-"` } -func (s *SnapshotAggregatedList) MarshalJSON() ([]byte, error) { +func (s SnapshotAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod SnapshotAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SnapshotAggregatedListWarning: [Output Only] Informational warning message. @@ -51041,9 +51138,9 @@ type SnapshotAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *SnapshotAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s SnapshotAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod SnapshotAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SnapshotAggregatedListWarningData struct { @@ -51070,9 +51167,9 @@ type SnapshotAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *SnapshotAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s SnapshotAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SnapshotAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SnapshotList: Contains a list of Snapshot resources. @@ -51109,9 +51206,9 @@ type SnapshotList struct { NullFields []string `json:"-"` } -func (s *SnapshotList) MarshalJSON() ([]byte, error) { +func (s SnapshotList) MarshalJSON() ([]byte, error) { type NoMethod SnapshotList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SnapshotListWarning: [Output Only] Informational warning message. @@ -51194,9 +51291,9 @@ type SnapshotListWarning struct { NullFields []string `json:"-"` } -func (s *SnapshotListWarning) MarshalJSON() ([]byte, error) { +func (s SnapshotListWarning) MarshalJSON() ([]byte, error) { type NoMethod SnapshotListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SnapshotListWarningData struct { @@ -51223,9 +51320,9 @@ type SnapshotListWarningData struct { NullFields []string `json:"-"` } -func (s *SnapshotListWarningData) MarshalJSON() ([]byte, error) { +func (s SnapshotListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SnapshotListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SnapshotResourceStatus struct { @@ -51246,9 +51343,9 @@ type SnapshotResourceStatus struct { NullFields []string `json:"-"` } -func (s *SnapshotResourceStatus) MarshalJSON() ([]byte, error) { +func (s SnapshotResourceStatus) MarshalJSON() ([]byte, error) { type NoMethod SnapshotResourceStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SnapshotSettings struct { @@ -51275,9 +51372,9 @@ type SnapshotSettings struct { NullFields []string `json:"-"` } -func (s *SnapshotSettings) MarshalJSON() ([]byte, error) { +func (s SnapshotSettings) MarshalJSON() ([]byte, error) { type NoMethod SnapshotSettings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SnapshotSettingsAccessLocation struct { @@ -51297,9 +51394,9 @@ type SnapshotSettingsAccessLocation struct { NullFields []string `json:"-"` } -func (s *SnapshotSettingsAccessLocation) MarshalJSON() ([]byte, error) { +func (s SnapshotSettingsAccessLocation) MarshalJSON() ([]byte, error) { type NoMethod SnapshotSettingsAccessLocation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SnapshotSettingsAccessLocationAccessLocationPreference: A structure for @@ -51320,9 +51417,9 @@ type SnapshotSettingsAccessLocationAccessLocationPreference struct { NullFields []string `json:"-"` } -func (s *SnapshotSettingsAccessLocationAccessLocationPreference) MarshalJSON() ([]byte, error) { +func (s SnapshotSettingsAccessLocationAccessLocationPreference) MarshalJSON() ([]byte, error) { type NoMethod SnapshotSettingsAccessLocationAccessLocationPreference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SnapshotSettingsStorageLocationSettings struct { @@ -51356,9 +51453,9 @@ type SnapshotSettingsStorageLocationSettings struct { NullFields []string `json:"-"` } -func (s *SnapshotSettingsStorageLocationSettings) MarshalJSON() ([]byte, error) { +func (s SnapshotSettingsStorageLocationSettings) MarshalJSON() ([]byte, error) { type NoMethod SnapshotSettingsStorageLocationSettings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SnapshotSettingsStorageLocationSettingsStorageLocationPreference: A @@ -51380,9 +51477,9 @@ type SnapshotSettingsStorageLocationSettingsStorageLocationPreference struct { NullFields []string `json:"-"` } -func (s *SnapshotSettingsStorageLocationSettingsStorageLocationPreference) MarshalJSON() ([]byte, error) { +func (s SnapshotSettingsStorageLocationSettingsStorageLocationPreference) MarshalJSON() ([]byte, error) { type NoMethod SnapshotSettingsStorageLocationSettingsStorageLocationPreference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SnapshotsScopedList struct { @@ -51404,9 +51501,9 @@ type SnapshotsScopedList struct { NullFields []string `json:"-"` } -func (s *SnapshotsScopedList) MarshalJSON() ([]byte, error) { +func (s SnapshotsScopedList) MarshalJSON() ([]byte, error) { type NoMethod SnapshotsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SnapshotsScopedListWarning: [Output Only] Informational warning which @@ -51490,9 +51587,9 @@ type SnapshotsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *SnapshotsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s SnapshotsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod SnapshotsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SnapshotsScopedListWarningData struct { @@ -51519,9 +51616,9 @@ type SnapshotsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *SnapshotsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s SnapshotsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SnapshotsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SourceDiskEncryptionKey struct { @@ -51547,9 +51644,9 @@ type SourceDiskEncryptionKey struct { NullFields []string `json:"-"` } -func (s *SourceDiskEncryptionKey) MarshalJSON() ([]byte, error) { +func (s SourceDiskEncryptionKey) MarshalJSON() ([]byte, error) { type NoMethod SourceDiskEncryptionKey - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SourceInstanceParams: A specification of the parameters to use when creating @@ -51573,9 +51670,9 @@ type SourceInstanceParams struct { NullFields []string `json:"-"` } -func (s *SourceInstanceParams) MarshalJSON() ([]byte, error) { +func (s SourceInstanceParams) MarshalJSON() ([]byte, error) { type NoMethod SourceInstanceParams - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SourceInstanceProperties: DEPRECATED: Please use compute#instanceProperties @@ -51664,9 +51761,9 @@ type SourceInstanceProperties struct { NullFields []string `json:"-"` } -func (s *SourceInstanceProperties) MarshalJSON() ([]byte, error) { +func (s SourceInstanceProperties) MarshalJSON() ([]byte, error) { type NoMethod SourceInstanceProperties - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SslCertificate: Represents an SSL certificate resource. Google Compute @@ -51755,9 +51852,9 @@ type SslCertificate struct { NullFields []string `json:"-"` } -func (s *SslCertificate) MarshalJSON() ([]byte, error) { +func (s SslCertificate) MarshalJSON() ([]byte, error) { type NoMethod SslCertificate - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslCertificateAggregatedList struct { @@ -51796,9 +51893,9 @@ type SslCertificateAggregatedList struct { NullFields []string `json:"-"` } -func (s *SslCertificateAggregatedList) MarshalJSON() ([]byte, error) { +func (s SslCertificateAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod SslCertificateAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SslCertificateAggregatedListWarning: [Output Only] Informational warning @@ -51882,9 +51979,9 @@ type SslCertificateAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *SslCertificateAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s SslCertificateAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod SslCertificateAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslCertificateAggregatedListWarningData struct { @@ -51911,9 +52008,9 @@ type SslCertificateAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *SslCertificateAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s SslCertificateAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SslCertificateAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SslCertificateList: Contains a list of SslCertificate resources. @@ -51950,9 +52047,9 @@ type SslCertificateList struct { NullFields []string `json:"-"` } -func (s *SslCertificateList) MarshalJSON() ([]byte, error) { +func (s SslCertificateList) MarshalJSON() ([]byte, error) { type NoMethod SslCertificateList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SslCertificateListWarning: [Output Only] Informational warning message. @@ -52035,9 +52132,9 @@ type SslCertificateListWarning struct { NullFields []string `json:"-"` } -func (s *SslCertificateListWarning) MarshalJSON() ([]byte, error) { +func (s SslCertificateListWarning) MarshalJSON() ([]byte, error) { type NoMethod SslCertificateListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslCertificateListWarningData struct { @@ -52064,9 +52161,9 @@ type SslCertificateListWarningData struct { NullFields []string `json:"-"` } -func (s *SslCertificateListWarningData) MarshalJSON() ([]byte, error) { +func (s SslCertificateListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SslCertificateListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SslCertificateManagedSslCertificate: Configuration and status of a managed @@ -52114,9 +52211,9 @@ type SslCertificateManagedSslCertificate struct { NullFields []string `json:"-"` } -func (s *SslCertificateManagedSslCertificate) MarshalJSON() ([]byte, error) { +func (s SslCertificateManagedSslCertificate) MarshalJSON() ([]byte, error) { type NoMethod SslCertificateManagedSslCertificate - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SslCertificateSelfManagedSslCertificate: Configuration and status of a @@ -52142,9 +52239,9 @@ type SslCertificateSelfManagedSslCertificate struct { NullFields []string `json:"-"` } -func (s *SslCertificateSelfManagedSslCertificate) MarshalJSON() ([]byte, error) { +func (s SslCertificateSelfManagedSslCertificate) MarshalJSON() ([]byte, error) { type NoMethod SslCertificateSelfManagedSslCertificate - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslCertificatesScopedList struct { @@ -52166,9 +52263,9 @@ type SslCertificatesScopedList struct { NullFields []string `json:"-"` } -func (s *SslCertificatesScopedList) MarshalJSON() ([]byte, error) { +func (s SslCertificatesScopedList) MarshalJSON() ([]byte, error) { type NoMethod SslCertificatesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SslCertificatesScopedListWarning: Informational warning which replaces the @@ -52252,9 +52349,9 @@ type SslCertificatesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *SslCertificatesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s SslCertificatesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod SslCertificatesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslCertificatesScopedListWarningData struct { @@ -52281,9 +52378,9 @@ type SslCertificatesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *SslCertificatesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s SslCertificatesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SslCertificatesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslPoliciesAggregatedList struct { @@ -52323,9 +52420,9 @@ type SslPoliciesAggregatedList struct { NullFields []string `json:"-"` } -func (s *SslPoliciesAggregatedList) MarshalJSON() ([]byte, error) { +func (s SslPoliciesAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod SslPoliciesAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SslPoliciesAggregatedListWarning: [Output Only] Informational warning @@ -52409,9 +52506,9 @@ type SslPoliciesAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *SslPoliciesAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s SslPoliciesAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod SslPoliciesAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslPoliciesAggregatedListWarningData struct { @@ -52438,9 +52535,9 @@ type SslPoliciesAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *SslPoliciesAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s SslPoliciesAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SslPoliciesAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslPoliciesList struct { @@ -52477,9 +52574,9 @@ type SslPoliciesList struct { NullFields []string `json:"-"` } -func (s *SslPoliciesList) MarshalJSON() ([]byte, error) { +func (s SslPoliciesList) MarshalJSON() ([]byte, error) { type NoMethod SslPoliciesList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SslPoliciesListWarning: [Output Only] Informational warning message. @@ -52562,9 +52659,9 @@ type SslPoliciesListWarning struct { NullFields []string `json:"-"` } -func (s *SslPoliciesListWarning) MarshalJSON() ([]byte, error) { +func (s SslPoliciesListWarning) MarshalJSON() ([]byte, error) { type NoMethod SslPoliciesListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslPoliciesListWarningData struct { @@ -52591,9 +52688,9 @@ type SslPoliciesListWarningData struct { NullFields []string `json:"-"` } -func (s *SslPoliciesListWarningData) MarshalJSON() ([]byte, error) { +func (s SslPoliciesListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SslPoliciesListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslPoliciesListAvailableFeaturesResponse struct { @@ -52614,9 +52711,9 @@ type SslPoliciesListAvailableFeaturesResponse struct { NullFields []string `json:"-"` } -func (s *SslPoliciesListAvailableFeaturesResponse) MarshalJSON() ([]byte, error) { +func (s SslPoliciesListAvailableFeaturesResponse) MarshalJSON() ([]byte, error) { type NoMethod SslPoliciesListAvailableFeaturesResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslPoliciesScopedList struct { @@ -52638,9 +52735,9 @@ type SslPoliciesScopedList struct { NullFields []string `json:"-"` } -func (s *SslPoliciesScopedList) MarshalJSON() ([]byte, error) { +func (s SslPoliciesScopedList) MarshalJSON() ([]byte, error) { type NoMethod SslPoliciesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SslPoliciesScopedListWarning: Informational warning which replaces the list @@ -52724,9 +52821,9 @@ type SslPoliciesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *SslPoliciesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s SslPoliciesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod SslPoliciesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslPoliciesScopedListWarningData struct { @@ -52753,9 +52850,9 @@ type SslPoliciesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *SslPoliciesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s SslPoliciesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SslPoliciesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SslPolicy: Represents an SSL Policy resource. Use SSL policies to control @@ -52851,9 +52948,9 @@ type SslPolicy struct { NullFields []string `json:"-"` } -func (s *SslPolicy) MarshalJSON() ([]byte, error) { +func (s SslPolicy) MarshalJSON() ([]byte, error) { type NoMethod SslPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslPolicyWarnings struct { @@ -52935,9 +53032,9 @@ type SslPolicyWarnings struct { NullFields []string `json:"-"` } -func (s *SslPolicyWarnings) MarshalJSON() ([]byte, error) { +func (s SslPolicyWarnings) MarshalJSON() ([]byte, error) { type NoMethod SslPolicyWarnings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslPolicyWarningsData struct { @@ -52964,9 +53061,9 @@ type SslPolicyWarningsData struct { NullFields []string `json:"-"` } -func (s *SslPolicyWarningsData) MarshalJSON() ([]byte, error) { +func (s SslPolicyWarningsData) MarshalJSON() ([]byte, error) { type NoMethod SslPolicyWarningsData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslPolicyReference struct { @@ -52986,9 +53083,9 @@ type SslPolicyReference struct { NullFields []string `json:"-"` } -func (s *SslPolicyReference) MarshalJSON() ([]byte, error) { +func (s SslPolicyReference) MarshalJSON() ([]byte, error) { type NoMethod SslPolicyReference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StatefulPolicy struct { @@ -53006,9 +53103,9 @@ type StatefulPolicy struct { NullFields []string `json:"-"` } -func (s *StatefulPolicy) MarshalJSON() ([]byte, error) { +func (s StatefulPolicy) MarshalJSON() ([]byte, error) { type NoMethod StatefulPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StatefulPolicyPreservedState: Configuration of preserved resources. @@ -53037,9 +53134,9 @@ type StatefulPolicyPreservedState struct { NullFields []string `json:"-"` } -func (s *StatefulPolicyPreservedState) MarshalJSON() ([]byte, error) { +func (s StatefulPolicyPreservedState) MarshalJSON() ([]byte, error) { type NoMethod StatefulPolicyPreservedState - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StatefulPolicyPreservedStateDiskDevice struct { @@ -53066,9 +53163,9 @@ type StatefulPolicyPreservedStateDiskDevice struct { NullFields []string `json:"-"` } -func (s *StatefulPolicyPreservedStateDiskDevice) MarshalJSON() ([]byte, error) { +func (s StatefulPolicyPreservedStateDiskDevice) MarshalJSON() ([]byte, error) { type NoMethod StatefulPolicyPreservedStateDiskDevice - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StatefulPolicyPreservedStateNetworkIp struct { @@ -53094,9 +53191,9 @@ type StatefulPolicyPreservedStateNetworkIp struct { NullFields []string `json:"-"` } -func (s *StatefulPolicyPreservedStateNetworkIp) MarshalJSON() ([]byte, error) { +func (s StatefulPolicyPreservedStateNetworkIp) MarshalJSON() ([]byte, error) { type NoMethod StatefulPolicyPreservedStateNetworkIp - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Status: The `Status` type defines a logical error model that is suitable for @@ -53128,9 +53225,9 @@ type Status struct { NullFields []string `json:"-"` } -func (s *Status) MarshalJSON() ([]byte, error) { +func (s Status) MarshalJSON() ([]byte, error) { type NoMethod Status - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StoragePool: Represents a zonal storage pool resource. @@ -53246,9 +53343,9 @@ type StoragePool struct { NullFields []string `json:"-"` } -func (s *StoragePool) MarshalJSON() ([]byte, error) { +func (s StoragePool) MarshalJSON() ([]byte, error) { type NoMethod StoragePool - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolAggregatedList struct { @@ -53288,9 +53385,9 @@ type StoragePoolAggregatedList struct { NullFields []string `json:"-"` } -func (s *StoragePoolAggregatedList) MarshalJSON() ([]byte, error) { +func (s StoragePoolAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StoragePoolAggregatedListWarning: [Output Only] Informational warning @@ -53374,9 +53471,9 @@ type StoragePoolAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *StoragePoolAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s StoragePoolAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolAggregatedListWarningData struct { @@ -53403,9 +53500,9 @@ type StoragePoolAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *StoragePoolAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s StoragePoolAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolDisk struct { @@ -53455,9 +53552,9 @@ type StoragePoolDisk struct { NullFields []string `json:"-"` } -func (s *StoragePoolDisk) MarshalJSON() ([]byte, error) { +func (s StoragePoolDisk) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolDisk - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StoragePoolList: A list of StoragePool resources. @@ -53499,9 +53596,9 @@ type StoragePoolList struct { NullFields []string `json:"-"` } -func (s *StoragePoolList) MarshalJSON() ([]byte, error) { +func (s StoragePoolList) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StoragePoolListWarning: [Output Only] Informational warning message. @@ -53584,9 +53681,9 @@ type StoragePoolListWarning struct { NullFields []string `json:"-"` } -func (s *StoragePoolListWarning) MarshalJSON() ([]byte, error) { +func (s StoragePoolListWarning) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolListWarningData struct { @@ -53613,9 +53710,9 @@ type StoragePoolListWarningData struct { NullFields []string `json:"-"` } -func (s *StoragePoolListWarningData) MarshalJSON() ([]byte, error) { +func (s StoragePoolListWarningData) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolListDisks struct { @@ -53656,9 +53753,9 @@ type StoragePoolListDisks struct { NullFields []string `json:"-"` } -func (s *StoragePoolListDisks) MarshalJSON() ([]byte, error) { +func (s StoragePoolListDisks) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolListDisks - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StoragePoolListDisksWarning: [Output Only] Informational warning message. @@ -53741,9 +53838,9 @@ type StoragePoolListDisksWarning struct { NullFields []string `json:"-"` } -func (s *StoragePoolListDisksWarning) MarshalJSON() ([]byte, error) { +func (s StoragePoolListDisksWarning) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolListDisksWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolListDisksWarningData struct { @@ -53770,9 +53867,9 @@ type StoragePoolListDisksWarningData struct { NullFields []string `json:"-"` } -func (s *StoragePoolListDisksWarningData) MarshalJSON() ([]byte, error) { +func (s StoragePoolListDisksWarningData) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolListDisksWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StoragePoolResourceStatus: [Output Only] Contains output only fields. @@ -53840,9 +53937,9 @@ type StoragePoolResourceStatus struct { NullFields []string `json:"-"` } -func (s *StoragePoolResourceStatus) MarshalJSON() ([]byte, error) { +func (s StoragePoolResourceStatus) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolResourceStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolType struct { @@ -53904,9 +54001,9 @@ type StoragePoolType struct { NullFields []string `json:"-"` } -func (s *StoragePoolType) MarshalJSON() ([]byte, error) { +func (s StoragePoolType) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolType - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolTypeAggregatedList struct { @@ -53943,9 +54040,9 @@ type StoragePoolTypeAggregatedList struct { NullFields []string `json:"-"` } -func (s *StoragePoolTypeAggregatedList) MarshalJSON() ([]byte, error) { +func (s StoragePoolTypeAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolTypeAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StoragePoolTypeAggregatedListWarning: [Output Only] Informational warning @@ -54029,9 +54126,9 @@ type StoragePoolTypeAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *StoragePoolTypeAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s StoragePoolTypeAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolTypeAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolTypeAggregatedListWarningData struct { @@ -54058,9 +54155,9 @@ type StoragePoolTypeAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *StoragePoolTypeAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s StoragePoolTypeAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolTypeAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StoragePoolTypeList: Contains a list of storage pool types. @@ -54098,9 +54195,9 @@ type StoragePoolTypeList struct { NullFields []string `json:"-"` } -func (s *StoragePoolTypeList) MarshalJSON() ([]byte, error) { +func (s StoragePoolTypeList) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolTypeList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StoragePoolTypeListWarning: [Output Only] Informational warning message. @@ -54183,9 +54280,9 @@ type StoragePoolTypeListWarning struct { NullFields []string `json:"-"` } -func (s *StoragePoolTypeListWarning) MarshalJSON() ([]byte, error) { +func (s StoragePoolTypeListWarning) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolTypeListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolTypeListWarningData struct { @@ -54212,9 +54309,9 @@ type StoragePoolTypeListWarningData struct { NullFields []string `json:"-"` } -func (s *StoragePoolTypeListWarningData) MarshalJSON() ([]byte, error) { +func (s StoragePoolTypeListWarningData) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolTypeListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolTypesScopedList struct { @@ -54237,9 +54334,9 @@ type StoragePoolTypesScopedList struct { NullFields []string `json:"-"` } -func (s *StoragePoolTypesScopedList) MarshalJSON() ([]byte, error) { +func (s StoragePoolTypesScopedList) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolTypesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StoragePoolTypesScopedListWarning: [Output Only] Informational warning which @@ -54323,9 +54420,9 @@ type StoragePoolTypesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *StoragePoolTypesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s StoragePoolTypesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolTypesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolTypesScopedListWarningData struct { @@ -54352,9 +54449,9 @@ type StoragePoolTypesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *StoragePoolTypesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s StoragePoolTypesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolTypesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolsScopedList struct { @@ -54376,9 +54473,9 @@ type StoragePoolsScopedList struct { NullFields []string `json:"-"` } -func (s *StoragePoolsScopedList) MarshalJSON() ([]byte, error) { +func (s StoragePoolsScopedList) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StoragePoolsScopedListWarning: [Output Only] Informational warning which @@ -54462,9 +54559,9 @@ type StoragePoolsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *StoragePoolsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s StoragePoolsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolsScopedListWarningData struct { @@ -54491,9 +54588,9 @@ type StoragePoolsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *StoragePoolsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s StoragePoolsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StructuredEntries struct { @@ -54513,9 +54610,9 @@ type StructuredEntries struct { NullFields []string `json:"-"` } -func (s *StructuredEntries) MarshalJSON() ([]byte, error) { +func (s StructuredEntries) MarshalJSON() ([]byte, error) { type NoMethod StructuredEntries - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Subnetwork: Represents a Subnetwork resource. A subnetwork (also known as a @@ -54758,9 +54855,9 @@ type Subnetwork struct { NullFields []string `json:"-"` } -func (s *Subnetwork) MarshalJSON() ([]byte, error) { +func (s Subnetwork) MarshalJSON() ([]byte, error) { type NoMethod Subnetwork - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *Subnetwork) UnmarshalJSON(data []byte) error { @@ -54813,9 +54910,9 @@ type SubnetworkAggregatedList struct { NullFields []string `json:"-"` } -func (s *SubnetworkAggregatedList) MarshalJSON() ([]byte, error) { +func (s SubnetworkAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod SubnetworkAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SubnetworkAggregatedListWarning: [Output Only] Informational warning @@ -54899,9 +54996,9 @@ type SubnetworkAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *SubnetworkAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s SubnetworkAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod SubnetworkAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SubnetworkAggregatedListWarningData struct { @@ -54928,9 +55025,9 @@ type SubnetworkAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *SubnetworkAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s SubnetworkAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SubnetworkAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SubnetworkList: Contains a list of Subnetwork resources. @@ -54968,9 +55065,9 @@ type SubnetworkList struct { NullFields []string `json:"-"` } -func (s *SubnetworkList) MarshalJSON() ([]byte, error) { +func (s SubnetworkList) MarshalJSON() ([]byte, error) { type NoMethod SubnetworkList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SubnetworkListWarning: [Output Only] Informational warning message. @@ -55053,9 +55150,9 @@ type SubnetworkListWarning struct { NullFields []string `json:"-"` } -func (s *SubnetworkListWarning) MarshalJSON() ([]byte, error) { +func (s SubnetworkListWarning) MarshalJSON() ([]byte, error) { type NoMethod SubnetworkListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SubnetworkListWarningData struct { @@ -55082,9 +55179,9 @@ type SubnetworkListWarningData struct { NullFields []string `json:"-"` } -func (s *SubnetworkListWarningData) MarshalJSON() ([]byte, error) { +func (s SubnetworkListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SubnetworkListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SubnetworkLogConfig: The available logging options for this subnetwork. @@ -55145,9 +55242,9 @@ type SubnetworkLogConfig struct { NullFields []string `json:"-"` } -func (s *SubnetworkLogConfig) MarshalJSON() ([]byte, error) { +func (s SubnetworkLogConfig) MarshalJSON() ([]byte, error) { type NoMethod SubnetworkLogConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *SubnetworkLogConfig) UnmarshalJSON(data []byte) error { @@ -55192,9 +55289,9 @@ type SubnetworkSecondaryRange struct { NullFields []string `json:"-"` } -func (s *SubnetworkSecondaryRange) MarshalJSON() ([]byte, error) { +func (s SubnetworkSecondaryRange) MarshalJSON() ([]byte, error) { type NoMethod SubnetworkSecondaryRange - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SubnetworksExpandIpCidrRangeRequest struct { @@ -55216,9 +55313,9 @@ type SubnetworksExpandIpCidrRangeRequest struct { NullFields []string `json:"-"` } -func (s *SubnetworksExpandIpCidrRangeRequest) MarshalJSON() ([]byte, error) { +func (s SubnetworksExpandIpCidrRangeRequest) MarshalJSON() ([]byte, error) { type NoMethod SubnetworksExpandIpCidrRangeRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SubnetworksScopedList struct { @@ -55240,9 +55337,9 @@ type SubnetworksScopedList struct { NullFields []string `json:"-"` } -func (s *SubnetworksScopedList) MarshalJSON() ([]byte, error) { +func (s SubnetworksScopedList) MarshalJSON() ([]byte, error) { type NoMethod SubnetworksScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SubnetworksScopedListWarning: An informational warning that appears when the @@ -55326,9 +55423,9 @@ type SubnetworksScopedListWarning struct { NullFields []string `json:"-"` } -func (s *SubnetworksScopedListWarning) MarshalJSON() ([]byte, error) { +func (s SubnetworksScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod SubnetworksScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SubnetworksScopedListWarningData struct { @@ -55355,9 +55452,9 @@ type SubnetworksScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *SubnetworksScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s SubnetworksScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SubnetworksScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SubnetworksScopedWarning struct { @@ -55378,9 +55475,9 @@ type SubnetworksScopedWarning struct { NullFields []string `json:"-"` } -func (s *SubnetworksScopedWarning) MarshalJSON() ([]byte, error) { +func (s SubnetworksScopedWarning) MarshalJSON() ([]byte, error) { type NoMethod SubnetworksScopedWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SubnetworksScopedWarningWarning: An informational warning about unreachable @@ -55464,9 +55561,9 @@ type SubnetworksScopedWarningWarning struct { NullFields []string `json:"-"` } -func (s *SubnetworksScopedWarningWarning) MarshalJSON() ([]byte, error) { +func (s SubnetworksScopedWarningWarning) MarshalJSON() ([]byte, error) { type NoMethod SubnetworksScopedWarningWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SubnetworksScopedWarningWarningData struct { @@ -55493,9 +55590,9 @@ type SubnetworksScopedWarningWarningData struct { NullFields []string `json:"-"` } -func (s *SubnetworksScopedWarningWarningData) MarshalJSON() ([]byte, error) { +func (s SubnetworksScopedWarningWarningData) MarshalJSON() ([]byte, error) { type NoMethod SubnetworksScopedWarningWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SubnetworksSetPrivateIpGoogleAccessRequest struct { @@ -55513,9 +55610,9 @@ type SubnetworksSetPrivateIpGoogleAccessRequest struct { NullFields []string `json:"-"` } -func (s *SubnetworksSetPrivateIpGoogleAccessRequest) MarshalJSON() ([]byte, error) { +func (s SubnetworksSetPrivateIpGoogleAccessRequest) MarshalJSON() ([]byte, error) { type NoMethod SubnetworksSetPrivateIpGoogleAccessRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Subsetting: Subsetting configuration for this BackendService. Currently this @@ -55560,9 +55657,9 @@ type Subsetting struct { NullFields []string `json:"-"` } -func (s *Subsetting) MarshalJSON() ([]byte, error) { +func (s Subsetting) MarshalJSON() ([]byte, error) { type NoMethod Subsetting - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TCPHealthCheck struct { @@ -55630,9 +55727,9 @@ type TCPHealthCheck struct { NullFields []string `json:"-"` } -func (s *TCPHealthCheck) MarshalJSON() ([]byte, error) { +func (s TCPHealthCheck) MarshalJSON() ([]byte, error) { type NoMethod TCPHealthCheck - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Tags: A set of instance tags. @@ -55660,9 +55757,9 @@ type Tags struct { NullFields []string `json:"-"` } -func (s *Tags) MarshalJSON() ([]byte, error) { +func (s Tags) MarshalJSON() ([]byte, error) { type NoMethod Tags - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetGrpcProxy: Represents a Target gRPC Proxy resource. A target gRPC @@ -55732,9 +55829,9 @@ type TargetGrpcProxy struct { NullFields []string `json:"-"` } -func (s *TargetGrpcProxy) MarshalJSON() ([]byte, error) { +func (s TargetGrpcProxy) MarshalJSON() ([]byte, error) { type NoMethod TargetGrpcProxy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetGrpcProxyList struct { @@ -55771,9 +55868,9 @@ type TargetGrpcProxyList struct { NullFields []string `json:"-"` } -func (s *TargetGrpcProxyList) MarshalJSON() ([]byte, error) { +func (s TargetGrpcProxyList) MarshalJSON() ([]byte, error) { type NoMethod TargetGrpcProxyList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetGrpcProxyListWarning: [Output Only] Informational warning message. @@ -55856,9 +55953,9 @@ type TargetGrpcProxyListWarning struct { NullFields []string `json:"-"` } -func (s *TargetGrpcProxyListWarning) MarshalJSON() ([]byte, error) { +func (s TargetGrpcProxyListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetGrpcProxyListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetGrpcProxyListWarningData struct { @@ -55885,9 +55982,9 @@ type TargetGrpcProxyListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetGrpcProxyListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetGrpcProxyListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetGrpcProxyListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpProxiesScopedList struct { @@ -55909,9 +56006,9 @@ type TargetHttpProxiesScopedList struct { NullFields []string `json:"-"` } -func (s *TargetHttpProxiesScopedList) MarshalJSON() ([]byte, error) { +func (s TargetHttpProxiesScopedList) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpProxiesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetHttpProxiesScopedListWarning: Informational warning which replaces the @@ -55995,9 +56092,9 @@ type TargetHttpProxiesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetHttpProxiesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetHttpProxiesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpProxiesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpProxiesScopedListWarningData struct { @@ -56024,9 +56121,9 @@ type TargetHttpProxiesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetHttpProxiesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetHttpProxiesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpProxiesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetHttpProxy: Represents a Target HTTP Proxy resource. Google Compute @@ -56124,9 +56221,9 @@ type TargetHttpProxy struct { NullFields []string `json:"-"` } -func (s *TargetHttpProxy) MarshalJSON() ([]byte, error) { +func (s TargetHttpProxy) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpProxy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpProxyAggregatedList struct { @@ -56165,9 +56262,9 @@ type TargetHttpProxyAggregatedList struct { NullFields []string `json:"-"` } -func (s *TargetHttpProxyAggregatedList) MarshalJSON() ([]byte, error) { +func (s TargetHttpProxyAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpProxyAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetHttpProxyAggregatedListWarning: [Output Only] Informational warning @@ -56251,9 +56348,9 @@ type TargetHttpProxyAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetHttpProxyAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetHttpProxyAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpProxyAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpProxyAggregatedListWarningData struct { @@ -56280,9 +56377,9 @@ type TargetHttpProxyAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetHttpProxyAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetHttpProxyAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpProxyAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetHttpProxyList: A list of TargetHttpProxy resources. @@ -56320,9 +56417,9 @@ type TargetHttpProxyList struct { NullFields []string `json:"-"` } -func (s *TargetHttpProxyList) MarshalJSON() ([]byte, error) { +func (s TargetHttpProxyList) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpProxyList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetHttpProxyListWarning: [Output Only] Informational warning message. @@ -56405,9 +56502,9 @@ type TargetHttpProxyListWarning struct { NullFields []string `json:"-"` } -func (s *TargetHttpProxyListWarning) MarshalJSON() ([]byte, error) { +func (s TargetHttpProxyListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpProxyListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpProxyListWarningData struct { @@ -56434,9 +56531,9 @@ type TargetHttpProxyListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetHttpProxyListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetHttpProxyListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpProxyListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpsProxiesScopedList struct { @@ -56458,9 +56555,9 @@ type TargetHttpsProxiesScopedList struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxiesScopedList) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxiesScopedList) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxiesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetHttpsProxiesScopedListWarning: Informational warning which replaces @@ -56544,9 +56641,9 @@ type TargetHttpsProxiesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxiesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxiesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxiesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpsProxiesScopedListWarningData struct { @@ -56573,9 +56670,9 @@ type TargetHttpsProxiesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxiesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxiesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxiesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpsProxiesSetCertificateMapRequest struct { @@ -56597,9 +56694,9 @@ type TargetHttpsProxiesSetCertificateMapRequest struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxiesSetCertificateMapRequest) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxiesSetCertificateMapRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxiesSetCertificateMapRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpsProxiesSetQuicOverrideRequest struct { @@ -56625,9 +56722,9 @@ type TargetHttpsProxiesSetQuicOverrideRequest struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxiesSetQuicOverrideRequest) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxiesSetQuicOverrideRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxiesSetQuicOverrideRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpsProxiesSetSslCertificatesRequest struct { @@ -56648,9 +56745,9 @@ type TargetHttpsProxiesSetSslCertificatesRequest struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxiesSetSslCertificatesRequest) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxiesSetSslCertificatesRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxiesSetSslCertificatesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetHttpsProxy: Represents a Target HTTPS Proxy resource. Google Compute @@ -56835,9 +56932,9 @@ type TargetHttpsProxy struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxy) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxy) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpsProxyAggregatedList struct { @@ -56876,9 +56973,9 @@ type TargetHttpsProxyAggregatedList struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxyAggregatedList) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxyAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxyAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetHttpsProxyAggregatedListWarning: [Output Only] Informational warning @@ -56962,9 +57059,9 @@ type TargetHttpsProxyAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxyAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxyAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxyAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpsProxyAggregatedListWarningData struct { @@ -56991,9 +57088,9 @@ type TargetHttpsProxyAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxyAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxyAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxyAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetHttpsProxyList: Contains a list of TargetHttpsProxy resources. @@ -57031,9 +57128,9 @@ type TargetHttpsProxyList struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxyList) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxyList) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxyList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetHttpsProxyListWarning: [Output Only] Informational warning message. @@ -57116,9 +57213,9 @@ type TargetHttpsProxyListWarning struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxyListWarning) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxyListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxyListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpsProxyListWarningData struct { @@ -57145,9 +57242,9 @@ type TargetHttpsProxyListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxyListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxyListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxyListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetInstance: Represents a Target Instance resource. You can use a target @@ -57221,9 +57318,9 @@ type TargetInstance struct { NullFields []string `json:"-"` } -func (s *TargetInstance) MarshalJSON() ([]byte, error) { +func (s TargetInstance) MarshalJSON() ([]byte, error) { type NoMethod TargetInstance - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetInstanceAggregatedList struct { @@ -57261,9 +57358,9 @@ type TargetInstanceAggregatedList struct { NullFields []string `json:"-"` } -func (s *TargetInstanceAggregatedList) MarshalJSON() ([]byte, error) { +func (s TargetInstanceAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod TargetInstanceAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetInstanceAggregatedListWarning: [Output Only] Informational warning @@ -57347,9 +57444,9 @@ type TargetInstanceAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetInstanceAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetInstanceAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetInstanceAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetInstanceAggregatedListWarningData struct { @@ -57376,9 +57473,9 @@ type TargetInstanceAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetInstanceAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetInstanceAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetInstanceAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetInstanceList: Contains a list of TargetInstance resources. @@ -57415,9 +57512,9 @@ type TargetInstanceList struct { NullFields []string `json:"-"` } -func (s *TargetInstanceList) MarshalJSON() ([]byte, error) { +func (s TargetInstanceList) MarshalJSON() ([]byte, error) { type NoMethod TargetInstanceList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetInstanceListWarning: [Output Only] Informational warning message. @@ -57500,9 +57597,9 @@ type TargetInstanceListWarning struct { NullFields []string `json:"-"` } -func (s *TargetInstanceListWarning) MarshalJSON() ([]byte, error) { +func (s TargetInstanceListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetInstanceListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetInstanceListWarningData struct { @@ -57529,9 +57626,9 @@ type TargetInstanceListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetInstanceListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetInstanceListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetInstanceListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetInstancesScopedList struct { @@ -57553,9 +57650,9 @@ type TargetInstancesScopedList struct { NullFields []string `json:"-"` } -func (s *TargetInstancesScopedList) MarshalJSON() ([]byte, error) { +func (s TargetInstancesScopedList) MarshalJSON() ([]byte, error) { type NoMethod TargetInstancesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetInstancesScopedListWarning: Informational warning which replaces the @@ -57639,9 +57736,9 @@ type TargetInstancesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetInstancesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetInstancesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetInstancesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetInstancesScopedListWarningData struct { @@ -57668,9 +57765,9 @@ type TargetInstancesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetInstancesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetInstancesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetInstancesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetPool: Represents a Target Pool resource. Target pools are used with @@ -57793,9 +57890,9 @@ type TargetPool struct { NullFields []string `json:"-"` } -func (s *TargetPool) MarshalJSON() ([]byte, error) { +func (s TargetPool) MarshalJSON() ([]byte, error) { type NoMethod TargetPool - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *TargetPool) UnmarshalJSON(data []byte) error { @@ -57848,9 +57945,9 @@ type TargetPoolAggregatedList struct { NullFields []string `json:"-"` } -func (s *TargetPoolAggregatedList) MarshalJSON() ([]byte, error) { +func (s TargetPoolAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetPoolAggregatedListWarning: [Output Only] Informational warning @@ -57934,9 +58031,9 @@ type TargetPoolAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetPoolAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetPoolAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetPoolAggregatedListWarningData struct { @@ -57963,9 +58060,9 @@ type TargetPoolAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetPoolAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetPoolAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetPoolInstanceHealth struct { @@ -57989,9 +58086,9 @@ type TargetPoolInstanceHealth struct { NullFields []string `json:"-"` } -func (s *TargetPoolInstanceHealth) MarshalJSON() ([]byte, error) { +func (s TargetPoolInstanceHealth) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolInstanceHealth - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetPoolList: Contains a list of TargetPool resources. @@ -58029,9 +58126,9 @@ type TargetPoolList struct { NullFields []string `json:"-"` } -func (s *TargetPoolList) MarshalJSON() ([]byte, error) { +func (s TargetPoolList) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetPoolListWarning: [Output Only] Informational warning message. @@ -58114,9 +58211,9 @@ type TargetPoolListWarning struct { NullFields []string `json:"-"` } -func (s *TargetPoolListWarning) MarshalJSON() ([]byte, error) { +func (s TargetPoolListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetPoolListWarningData struct { @@ -58143,9 +58240,9 @@ type TargetPoolListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetPoolListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetPoolListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetPoolsAddHealthCheckRequest struct { @@ -58164,9 +58261,9 @@ type TargetPoolsAddHealthCheckRequest struct { NullFields []string `json:"-"` } -func (s *TargetPoolsAddHealthCheckRequest) MarshalJSON() ([]byte, error) { +func (s TargetPoolsAddHealthCheckRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolsAddHealthCheckRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetPoolsAddInstanceRequest struct { @@ -58190,9 +58287,9 @@ type TargetPoolsAddInstanceRequest struct { NullFields []string `json:"-"` } -func (s *TargetPoolsAddInstanceRequest) MarshalJSON() ([]byte, error) { +func (s TargetPoolsAddInstanceRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolsAddInstanceRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetPoolsRemoveHealthCheckRequest struct { @@ -58216,9 +58313,9 @@ type TargetPoolsRemoveHealthCheckRequest struct { NullFields []string `json:"-"` } -func (s *TargetPoolsRemoveHealthCheckRequest) MarshalJSON() ([]byte, error) { +func (s TargetPoolsRemoveHealthCheckRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolsRemoveHealthCheckRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetPoolsRemoveInstanceRequest struct { @@ -58237,9 +58334,9 @@ type TargetPoolsRemoveInstanceRequest struct { NullFields []string `json:"-"` } -func (s *TargetPoolsRemoveInstanceRequest) MarshalJSON() ([]byte, error) { +func (s TargetPoolsRemoveInstanceRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolsRemoveInstanceRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetPoolsScopedList struct { @@ -58261,9 +58358,9 @@ type TargetPoolsScopedList struct { NullFields []string `json:"-"` } -func (s *TargetPoolsScopedList) MarshalJSON() ([]byte, error) { +func (s TargetPoolsScopedList) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetPoolsScopedListWarning: Informational warning which replaces the list @@ -58347,9 +58444,9 @@ type TargetPoolsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetPoolsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetPoolsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetPoolsScopedListWarningData struct { @@ -58376,9 +58473,9 @@ type TargetPoolsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetPoolsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetPoolsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetReference struct { @@ -58396,9 +58493,9 @@ type TargetReference struct { NullFields []string `json:"-"` } -func (s *TargetReference) MarshalJSON() ([]byte, error) { +func (s TargetReference) MarshalJSON() ([]byte, error) { type NoMethod TargetReference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetSslProxiesSetBackendServiceRequest struct { @@ -58417,9 +58514,9 @@ type TargetSslProxiesSetBackendServiceRequest struct { NullFields []string `json:"-"` } -func (s *TargetSslProxiesSetBackendServiceRequest) MarshalJSON() ([]byte, error) { +func (s TargetSslProxiesSetBackendServiceRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetSslProxiesSetBackendServiceRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetSslProxiesSetCertificateMapRequest struct { @@ -58441,9 +58538,9 @@ type TargetSslProxiesSetCertificateMapRequest struct { NullFields []string `json:"-"` } -func (s *TargetSslProxiesSetCertificateMapRequest) MarshalJSON() ([]byte, error) { +func (s TargetSslProxiesSetCertificateMapRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetSslProxiesSetCertificateMapRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetSslProxiesSetProxyHeaderRequest struct { @@ -58467,9 +58564,9 @@ type TargetSslProxiesSetProxyHeaderRequest struct { NullFields []string `json:"-"` } -func (s *TargetSslProxiesSetProxyHeaderRequest) MarshalJSON() ([]byte, error) { +func (s TargetSslProxiesSetProxyHeaderRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetSslProxiesSetProxyHeaderRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetSslProxiesSetSslCertificatesRequest struct { @@ -58490,9 +58587,9 @@ type TargetSslProxiesSetSslCertificatesRequest struct { NullFields []string `json:"-"` } -func (s *TargetSslProxiesSetSslCertificatesRequest) MarshalJSON() ([]byte, error) { +func (s TargetSslProxiesSetSslCertificatesRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetSslProxiesSetSslCertificatesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetSslProxy: Represents a Target SSL Proxy resource. A target SSL proxy @@ -58563,9 +58660,9 @@ type TargetSslProxy struct { NullFields []string `json:"-"` } -func (s *TargetSslProxy) MarshalJSON() ([]byte, error) { +func (s TargetSslProxy) MarshalJSON() ([]byte, error) { type NoMethod TargetSslProxy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetSslProxyList: Contains a list of TargetSslProxy resources. @@ -58602,9 +58699,9 @@ type TargetSslProxyList struct { NullFields []string `json:"-"` } -func (s *TargetSslProxyList) MarshalJSON() ([]byte, error) { +func (s TargetSslProxyList) MarshalJSON() ([]byte, error) { type NoMethod TargetSslProxyList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetSslProxyListWarning: [Output Only] Informational warning message. @@ -58687,9 +58784,9 @@ type TargetSslProxyListWarning struct { NullFields []string `json:"-"` } -func (s *TargetSslProxyListWarning) MarshalJSON() ([]byte, error) { +func (s TargetSslProxyListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetSslProxyListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetSslProxyListWarningData struct { @@ -58716,9 +58813,9 @@ type TargetSslProxyListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetSslProxyListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetSslProxyListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetSslProxyListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetTcpProxiesScopedList struct { @@ -58740,9 +58837,9 @@ type TargetTcpProxiesScopedList struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxiesScopedList) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxiesScopedList) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxiesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetTcpProxiesScopedListWarning: Informational warning which replaces the @@ -58826,9 +58923,9 @@ type TargetTcpProxiesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxiesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxiesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxiesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetTcpProxiesScopedListWarningData struct { @@ -58855,9 +58952,9 @@ type TargetTcpProxiesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxiesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxiesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxiesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetTcpProxiesSetBackendServiceRequest struct { @@ -58876,9 +58973,9 @@ type TargetTcpProxiesSetBackendServiceRequest struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxiesSetBackendServiceRequest) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxiesSetBackendServiceRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxiesSetBackendServiceRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetTcpProxiesSetProxyHeaderRequest struct { @@ -58902,9 +58999,9 @@ type TargetTcpProxiesSetProxyHeaderRequest struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxiesSetProxyHeaderRequest) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxiesSetProxyHeaderRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxiesSetProxyHeaderRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetTcpProxy: Represents a Target TCP Proxy resource. A target TCP proxy @@ -58971,9 +59068,9 @@ type TargetTcpProxy struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxy) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxy) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetTcpProxyAggregatedList struct { @@ -59012,9 +59109,9 @@ type TargetTcpProxyAggregatedList struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxyAggregatedList) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxyAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxyAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetTcpProxyAggregatedListWarning: [Output Only] Informational warning @@ -59098,9 +59195,9 @@ type TargetTcpProxyAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxyAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxyAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxyAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetTcpProxyAggregatedListWarningData struct { @@ -59127,9 +59224,9 @@ type TargetTcpProxyAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxyAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxyAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxyAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetTcpProxyList: Contains a list of TargetTcpProxy resources. @@ -59166,9 +59263,9 @@ type TargetTcpProxyList struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxyList) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxyList) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxyList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetTcpProxyListWarning: [Output Only] Informational warning message. @@ -59251,9 +59348,9 @@ type TargetTcpProxyListWarning struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxyListWarning) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxyListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxyListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetTcpProxyListWarningData struct { @@ -59280,9 +59377,9 @@ type TargetTcpProxyListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxyListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxyListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxyListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetVpnGateway: Represents a Target VPN Gateway resource. The target VPN @@ -59362,9 +59459,9 @@ type TargetVpnGateway struct { NullFields []string `json:"-"` } -func (s *TargetVpnGateway) MarshalJSON() ([]byte, error) { +func (s TargetVpnGateway) MarshalJSON() ([]byte, error) { type NoMethod TargetVpnGateway - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetVpnGatewayAggregatedList struct { @@ -59403,9 +59500,9 @@ type TargetVpnGatewayAggregatedList struct { NullFields []string `json:"-"` } -func (s *TargetVpnGatewayAggregatedList) MarshalJSON() ([]byte, error) { +func (s TargetVpnGatewayAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod TargetVpnGatewayAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetVpnGatewayAggregatedListWarning: [Output Only] Informational warning @@ -59489,9 +59586,9 @@ type TargetVpnGatewayAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetVpnGatewayAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetVpnGatewayAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetVpnGatewayAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetVpnGatewayAggregatedListWarningData struct { @@ -59518,9 +59615,9 @@ type TargetVpnGatewayAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetVpnGatewayAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetVpnGatewayAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetVpnGatewayAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetVpnGatewayList: Contains a list of TargetVpnGateway resources. @@ -59558,9 +59655,9 @@ type TargetVpnGatewayList struct { NullFields []string `json:"-"` } -func (s *TargetVpnGatewayList) MarshalJSON() ([]byte, error) { +func (s TargetVpnGatewayList) MarshalJSON() ([]byte, error) { type NoMethod TargetVpnGatewayList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetVpnGatewayListWarning: [Output Only] Informational warning message. @@ -59643,9 +59740,9 @@ type TargetVpnGatewayListWarning struct { NullFields []string `json:"-"` } -func (s *TargetVpnGatewayListWarning) MarshalJSON() ([]byte, error) { +func (s TargetVpnGatewayListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetVpnGatewayListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetVpnGatewayListWarningData struct { @@ -59672,9 +59769,9 @@ type TargetVpnGatewayListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetVpnGatewayListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetVpnGatewayListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetVpnGatewayListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetVpnGatewaysScopedList struct { @@ -59697,9 +59794,9 @@ type TargetVpnGatewaysScopedList struct { NullFields []string `json:"-"` } -func (s *TargetVpnGatewaysScopedList) MarshalJSON() ([]byte, error) { +func (s TargetVpnGatewaysScopedList) MarshalJSON() ([]byte, error) { type NoMethod TargetVpnGatewaysScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetVpnGatewaysScopedListWarning: [Output Only] Informational warning @@ -59783,9 +59880,9 @@ type TargetVpnGatewaysScopedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetVpnGatewaysScopedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetVpnGatewaysScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetVpnGatewaysScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetVpnGatewaysScopedListWarningData struct { @@ -59812,9 +59909,9 @@ type TargetVpnGatewaysScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetVpnGatewaysScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetVpnGatewaysScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetVpnGatewaysScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TestFailure struct { @@ -59854,9 +59951,9 @@ type TestFailure struct { NullFields []string `json:"-"` } -func (s *TestFailure) MarshalJSON() ([]byte, error) { +func (s TestFailure) MarshalJSON() ([]byte, error) { type NoMethod TestFailure - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TestPermissionsRequest struct { @@ -59876,9 +59973,9 @@ type TestPermissionsRequest struct { NullFields []string `json:"-"` } -func (s *TestPermissionsRequest) MarshalJSON() ([]byte, error) { +func (s TestPermissionsRequest) MarshalJSON() ([]byte, error) { type NoMethod TestPermissionsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TestPermissionsResponse struct { @@ -59901,9 +59998,9 @@ type TestPermissionsResponse struct { NullFields []string `json:"-"` } -func (s *TestPermissionsResponse) MarshalJSON() ([]byte, error) { +func (s TestPermissionsResponse) MarshalJSON() ([]byte, error) { type NoMethod TestPermissionsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TlsCertificateContext: [Deprecated] Defines the mechanism to obtain the @@ -59938,9 +60035,9 @@ type TlsCertificateContext struct { NullFields []string `json:"-"` } -func (s *TlsCertificateContext) MarshalJSON() ([]byte, error) { +func (s TlsCertificateContext) MarshalJSON() ([]byte, error) { type NoMethod TlsCertificateContext - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TlsCertificatePaths: [Deprecated] The paths to the mounted TLS Certificates @@ -59965,9 +60062,9 @@ type TlsCertificatePaths struct { NullFields []string `json:"-"` } -func (s *TlsCertificatePaths) MarshalJSON() ([]byte, error) { +func (s TlsCertificatePaths) MarshalJSON() ([]byte, error) { type NoMethod TlsCertificatePaths - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TlsContext: [Deprecated] The TLS settings for the client or server. The TLS @@ -59993,9 +60090,9 @@ type TlsContext struct { NullFields []string `json:"-"` } -func (s *TlsContext) MarshalJSON() ([]byte, error) { +func (s TlsContext) MarshalJSON() ([]byte, error) { type NoMethod TlsContext - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TlsValidationContext: [Deprecated] Defines the mechanism to obtain the @@ -60030,9 +60127,9 @@ type TlsValidationContext struct { NullFields []string `json:"-"` } -func (s *TlsValidationContext) MarshalJSON() ([]byte, error) { +func (s TlsValidationContext) MarshalJSON() ([]byte, error) { type NoMethod TlsValidationContext - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type UDPHealthCheck struct { @@ -60060,9 +60157,9 @@ type UDPHealthCheck struct { NullFields []string `json:"-"` } -func (s *UDPHealthCheck) MarshalJSON() ([]byte, error) { +func (s UDPHealthCheck) MarshalJSON() ([]byte, error) { type NoMethod UDPHealthCheck - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type Uint128 struct { @@ -60081,9 +60178,9 @@ type Uint128 struct { NullFields []string `json:"-"` } -func (s *Uint128) MarshalJSON() ([]byte, error) { +func (s Uint128) MarshalJSON() ([]byte, error) { type NoMethod Uint128 - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UpcomingMaintenance: Upcoming Maintenance notification information. @@ -60137,9 +60234,9 @@ type UpcomingMaintenance struct { NullFields []string `json:"-"` } -func (s *UpcomingMaintenance) MarshalJSON() ([]byte, error) { +func (s UpcomingMaintenance) MarshalJSON() ([]byte, error) { type NoMethod UpcomingMaintenance - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UpcomingMaintenanceTimeWindow: Represents a window of time using two @@ -60160,9 +60257,9 @@ type UpcomingMaintenanceTimeWindow struct { NullFields []string `json:"-"` } -func (s *UpcomingMaintenanceTimeWindow) MarshalJSON() ([]byte, error) { +func (s UpcomingMaintenanceTimeWindow) MarshalJSON() ([]byte, error) { type NoMethod UpcomingMaintenanceTimeWindow - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UrlMap: Represents a URL Map resource. Compute Engine has two URL Map @@ -60302,9 +60399,9 @@ type UrlMap struct { NullFields []string `json:"-"` } -func (s *UrlMap) MarshalJSON() ([]byte, error) { +func (s UrlMap) MarshalJSON() ([]byte, error) { type NoMethod UrlMap - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UrlMapList: Contains a list of UrlMap resources. @@ -60341,9 +60438,9 @@ type UrlMapList struct { NullFields []string `json:"-"` } -func (s *UrlMapList) MarshalJSON() ([]byte, error) { +func (s UrlMapList) MarshalJSON() ([]byte, error) { type NoMethod UrlMapList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UrlMapListWarning: [Output Only] Informational warning message. @@ -60426,9 +60523,9 @@ type UrlMapListWarning struct { NullFields []string `json:"-"` } -func (s *UrlMapListWarning) MarshalJSON() ([]byte, error) { +func (s UrlMapListWarning) MarshalJSON() ([]byte, error) { type NoMethod UrlMapListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type UrlMapListWarningData struct { @@ -60455,9 +60552,9 @@ type UrlMapListWarningData struct { NullFields []string `json:"-"` } -func (s *UrlMapListWarningData) MarshalJSON() ([]byte, error) { +func (s UrlMapListWarningData) MarshalJSON() ([]byte, error) { type NoMethod UrlMapListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type UrlMapReference struct { @@ -60475,9 +60572,9 @@ type UrlMapReference struct { NullFields []string `json:"-"` } -func (s *UrlMapReference) MarshalJSON() ([]byte, error) { +func (s UrlMapReference) MarshalJSON() ([]byte, error) { type NoMethod UrlMapReference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UrlMapTest: Message for the expected URL mappings. @@ -60535,9 +60632,9 @@ type UrlMapTest struct { NullFields []string `json:"-"` } -func (s *UrlMapTest) MarshalJSON() ([]byte, error) { +func (s UrlMapTest) MarshalJSON() ([]byte, error) { type NoMethod UrlMapTest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UrlMapTestHeader: HTTP headers used in UrlMapTests. @@ -60559,9 +60656,9 @@ type UrlMapTestHeader struct { NullFields []string `json:"-"` } -func (s *UrlMapTestHeader) MarshalJSON() ([]byte, error) { +func (s UrlMapTestHeader) MarshalJSON() ([]byte, error) { type NoMethod UrlMapTestHeader - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UrlMapValidationResult: Message representing the validation result for a @@ -60588,9 +60685,9 @@ type UrlMapValidationResult struct { NullFields []string `json:"-"` } -func (s *UrlMapValidationResult) MarshalJSON() ([]byte, error) { +func (s UrlMapValidationResult) MarshalJSON() ([]byte, error) { type NoMethod UrlMapValidationResult - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type UrlMapsAggregatedList struct { @@ -60628,9 +60725,9 @@ type UrlMapsAggregatedList struct { NullFields []string `json:"-"` } -func (s *UrlMapsAggregatedList) MarshalJSON() ([]byte, error) { +func (s UrlMapsAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod UrlMapsAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UrlMapsAggregatedListWarning: [Output Only] Informational warning message. @@ -60713,9 +60810,9 @@ type UrlMapsAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *UrlMapsAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s UrlMapsAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod UrlMapsAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type UrlMapsAggregatedListWarningData struct { @@ -60742,9 +60839,9 @@ type UrlMapsAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *UrlMapsAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s UrlMapsAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod UrlMapsAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type UrlMapsScopedList struct { @@ -60766,9 +60863,9 @@ type UrlMapsScopedList struct { NullFields []string `json:"-"` } -func (s *UrlMapsScopedList) MarshalJSON() ([]byte, error) { +func (s UrlMapsScopedList) MarshalJSON() ([]byte, error) { type NoMethod UrlMapsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UrlMapsScopedListWarning: Informational warning which replaces the list of @@ -60852,9 +60949,9 @@ type UrlMapsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *UrlMapsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s UrlMapsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod UrlMapsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type UrlMapsScopedListWarningData struct { @@ -60881,9 +60978,9 @@ type UrlMapsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *UrlMapsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s UrlMapsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod UrlMapsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type UrlMapsValidateRequest struct { @@ -60925,9 +61022,9 @@ type UrlMapsValidateRequest struct { NullFields []string `json:"-"` } -func (s *UrlMapsValidateRequest) MarshalJSON() ([]byte, error) { +func (s UrlMapsValidateRequest) MarshalJSON() ([]byte, error) { type NoMethod UrlMapsValidateRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type UrlMapsValidateResponse struct { @@ -60948,9 +61045,9 @@ type UrlMapsValidateResponse struct { NullFields []string `json:"-"` } -func (s *UrlMapsValidateResponse) MarshalJSON() ([]byte, error) { +func (s UrlMapsValidateResponse) MarshalJSON() ([]byte, error) { type NoMethod UrlMapsValidateResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UrlRewrite: The spec for modifying the path before sending the request to @@ -60991,9 +61088,9 @@ type UrlRewrite struct { NullFields []string `json:"-"` } -func (s *UrlRewrite) MarshalJSON() ([]byte, error) { +func (s UrlRewrite) MarshalJSON() ([]byte, error) { type NoMethod UrlRewrite - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UsableSubnetwork: Subnetwork which the current user has @@ -61087,9 +61184,9 @@ type UsableSubnetwork struct { NullFields []string `json:"-"` } -func (s *UsableSubnetwork) MarshalJSON() ([]byte, error) { +func (s UsableSubnetwork) MarshalJSON() ([]byte, error) { type NoMethod UsableSubnetwork - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UsableSubnetworkSecondaryRange: Secondary IP range of a usable subnetwork. @@ -61115,9 +61212,9 @@ type UsableSubnetworkSecondaryRange struct { NullFields []string `json:"-"` } -func (s *UsableSubnetworkSecondaryRange) MarshalJSON() ([]byte, error) { +func (s UsableSubnetworkSecondaryRange) MarshalJSON() ([]byte, error) { type NoMethod UsableSubnetworkSecondaryRange - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type UsableSubnetworksAggregatedList struct { @@ -61163,9 +61260,9 @@ type UsableSubnetworksAggregatedList struct { NullFields []string `json:"-"` } -func (s *UsableSubnetworksAggregatedList) MarshalJSON() ([]byte, error) { +func (s UsableSubnetworksAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod UsableSubnetworksAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UsableSubnetworksAggregatedListWarning: [Output Only] Informational warning @@ -61249,9 +61346,9 @@ type UsableSubnetworksAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *UsableSubnetworksAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s UsableSubnetworksAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod UsableSubnetworksAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type UsableSubnetworksAggregatedListWarningData struct { @@ -61278,9 +61375,9 @@ type UsableSubnetworksAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *UsableSubnetworksAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s UsableSubnetworksAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod UsableSubnetworksAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UsageExportLocation: The location in Cloud Storage and naming method of the @@ -61311,9 +61408,9 @@ type UsageExportLocation struct { NullFields []string `json:"-"` } -func (s *UsageExportLocation) MarshalJSON() ([]byte, error) { +func (s UsageExportLocation) MarshalJSON() ([]byte, error) { type NoMethod UsageExportLocation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VmEndpointNatMappings: Contain information of Nat mapping for a VM endpoint @@ -61335,9 +61432,9 @@ type VmEndpointNatMappings struct { NullFields []string `json:"-"` } -func (s *VmEndpointNatMappings) MarshalJSON() ([]byte, error) { +func (s VmEndpointNatMappings) MarshalJSON() ([]byte, error) { type NoMethod VmEndpointNatMappings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VmEndpointNatMappingsInterfaceNatMappings: Contain information of Nat @@ -61381,9 +61478,9 @@ type VmEndpointNatMappingsInterfaceNatMappings struct { NullFields []string `json:"-"` } -func (s *VmEndpointNatMappingsInterfaceNatMappings) MarshalJSON() ([]byte, error) { +func (s VmEndpointNatMappingsInterfaceNatMappings) MarshalJSON() ([]byte, error) { type NoMethod VmEndpointNatMappingsInterfaceNatMappings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings: Contains @@ -61422,9 +61519,9 @@ type VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings struct { NullFields []string `json:"-"` } -func (s *VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings) MarshalJSON() ([]byte, error) { +func (s VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings) MarshalJSON() ([]byte, error) { type NoMethod VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VmEndpointNatMappingsList: Contains a list of VmEndpointNatMappings. @@ -61463,9 +61560,9 @@ type VmEndpointNatMappingsList struct { NullFields []string `json:"-"` } -func (s *VmEndpointNatMappingsList) MarshalJSON() ([]byte, error) { +func (s VmEndpointNatMappingsList) MarshalJSON() ([]byte, error) { type NoMethod VmEndpointNatMappingsList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VmEndpointNatMappingsListWarning: [Output Only] Informational warning @@ -61549,9 +61646,9 @@ type VmEndpointNatMappingsListWarning struct { NullFields []string `json:"-"` } -func (s *VmEndpointNatMappingsListWarning) MarshalJSON() ([]byte, error) { +func (s VmEndpointNatMappingsListWarning) MarshalJSON() ([]byte, error) { type NoMethod VmEndpointNatMappingsListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VmEndpointNatMappingsListWarningData struct { @@ -61578,9 +61675,9 @@ type VmEndpointNatMappingsListWarningData struct { NullFields []string `json:"-"` } -func (s *VmEndpointNatMappingsListWarningData) MarshalJSON() ([]byte, error) { +func (s VmEndpointNatMappingsListWarningData) MarshalJSON() ([]byte, error) { type NoMethod VmEndpointNatMappingsListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnGateway: Represents a HA VPN gateway. HA VPN is a high-availability (HA) @@ -61637,8 +61734,9 @@ type VpnGateway struct { // SelfLink: [Output Only] Server-defined URL for the resource. SelfLink string `json:"selfLink,omitempty"` // StackType: The stack type for this VPN gateway to identify the IP protocols - // that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not - // specified, IPV4_ONLY will be used. + // that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6, IPV6_ONLY. If + // not specified, IPV4_ONLY is used if the gateway IP version is IPV4, or + // IPV4_IPV6 if the gateway IP version is IPV6. // // Possible values: // "IPV4_IPV6" - Enable VPN gateway with both IPv4 and IPv6 protocols. @@ -61663,9 +61761,9 @@ type VpnGateway struct { NullFields []string `json:"-"` } -func (s *VpnGateway) MarshalJSON() ([]byte, error) { +func (s VpnGateway) MarshalJSON() ([]byte, error) { type NoMethod VpnGateway - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnGatewayAggregatedList struct { @@ -61704,9 +61802,9 @@ type VpnGatewayAggregatedList struct { NullFields []string `json:"-"` } -func (s *VpnGatewayAggregatedList) MarshalJSON() ([]byte, error) { +func (s VpnGatewayAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewayAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnGatewayAggregatedListWarning: [Output Only] Informational warning @@ -61790,9 +61888,9 @@ type VpnGatewayAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *VpnGatewayAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s VpnGatewayAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewayAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnGatewayAggregatedListWarningData struct { @@ -61819,9 +61917,9 @@ type VpnGatewayAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *VpnGatewayAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s VpnGatewayAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewayAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnGatewayList: Contains a list of VpnGateway resources. @@ -61859,9 +61957,9 @@ type VpnGatewayList struct { NullFields []string `json:"-"` } -func (s *VpnGatewayList) MarshalJSON() ([]byte, error) { +func (s VpnGatewayList) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewayList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnGatewayListWarning: [Output Only] Informational warning message. @@ -61944,9 +62042,9 @@ type VpnGatewayListWarning struct { NullFields []string `json:"-"` } -func (s *VpnGatewayListWarning) MarshalJSON() ([]byte, error) { +func (s VpnGatewayListWarning) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewayListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnGatewayListWarningData struct { @@ -61973,9 +62071,9 @@ type VpnGatewayListWarningData struct { NullFields []string `json:"-"` } -func (s *VpnGatewayListWarningData) MarshalJSON() ([]byte, error) { +func (s VpnGatewayListWarningData) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewayListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnGatewayStatus struct { @@ -61994,9 +62092,9 @@ type VpnGatewayStatus struct { NullFields []string `json:"-"` } -func (s *VpnGatewayStatus) MarshalJSON() ([]byte, error) { +func (s VpnGatewayStatus) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewayStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnGatewayStatusHighAvailabilityRequirementState: Describes the high @@ -62037,9 +62135,9 @@ type VpnGatewayStatusHighAvailabilityRequirementState struct { NullFields []string `json:"-"` } -func (s *VpnGatewayStatusHighAvailabilityRequirementState) MarshalJSON() ([]byte, error) { +func (s VpnGatewayStatusHighAvailabilityRequirementState) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewayStatusHighAvailabilityRequirementState - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnGatewayStatusTunnel: Contains some information about a VPN tunnel. @@ -62066,9 +62164,9 @@ type VpnGatewayStatusTunnel struct { NullFields []string `json:"-"` } -func (s *VpnGatewayStatusTunnel) MarshalJSON() ([]byte, error) { +func (s VpnGatewayStatusTunnel) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewayStatusTunnel - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnGatewayStatusVpnConnection: A VPN connection contains all VPN tunnels @@ -62100,9 +62198,9 @@ type VpnGatewayStatusVpnConnection struct { NullFields []string `json:"-"` } -func (s *VpnGatewayStatusVpnConnection) MarshalJSON() ([]byte, error) { +func (s VpnGatewayStatusVpnConnection) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewayStatusVpnConnection - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnGatewayVpnGatewayInterface: A VPN gateway interface. @@ -62144,9 +62242,9 @@ type VpnGatewayVpnGatewayInterface struct { NullFields []string `json:"-"` } -func (s *VpnGatewayVpnGatewayInterface) MarshalJSON() ([]byte, error) { +func (s VpnGatewayVpnGatewayInterface) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewayVpnGatewayInterface - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnGatewaysGetStatusResponse struct { @@ -62167,9 +62265,9 @@ type VpnGatewaysGetStatusResponse struct { NullFields []string `json:"-"` } -func (s *VpnGatewaysGetStatusResponse) MarshalJSON() ([]byte, error) { +func (s VpnGatewaysGetStatusResponse) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewaysGetStatusResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnGatewaysScopedList struct { @@ -62191,9 +62289,9 @@ type VpnGatewaysScopedList struct { NullFields []string `json:"-"` } -func (s *VpnGatewaysScopedList) MarshalJSON() ([]byte, error) { +func (s VpnGatewaysScopedList) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewaysScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnGatewaysScopedListWarning: [Output Only] Informational warning which @@ -62277,9 +62375,9 @@ type VpnGatewaysScopedListWarning struct { NullFields []string `json:"-"` } -func (s *VpnGatewaysScopedListWarning) MarshalJSON() ([]byte, error) { +func (s VpnGatewaysScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewaysScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnGatewaysScopedListWarningData struct { @@ -62306,9 +62404,9 @@ type VpnGatewaysScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *VpnGatewaysScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s VpnGatewaysScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewaysScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnTunnel: Represents a Cloud VPN Tunnel resource. For more information @@ -62459,9 +62557,9 @@ type VpnTunnel struct { NullFields []string `json:"-"` } -func (s *VpnTunnel) MarshalJSON() ([]byte, error) { +func (s VpnTunnel) MarshalJSON() ([]byte, error) { type NoMethod VpnTunnel - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnTunnelAggregatedList struct { @@ -62500,9 +62598,9 @@ type VpnTunnelAggregatedList struct { NullFields []string `json:"-"` } -func (s *VpnTunnelAggregatedList) MarshalJSON() ([]byte, error) { +func (s VpnTunnelAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod VpnTunnelAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnTunnelAggregatedListWarning: [Output Only] Informational warning message. @@ -62585,9 +62683,9 @@ type VpnTunnelAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *VpnTunnelAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s VpnTunnelAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod VpnTunnelAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnTunnelAggregatedListWarningData struct { @@ -62614,9 +62712,9 @@ type VpnTunnelAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *VpnTunnelAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s VpnTunnelAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod VpnTunnelAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnTunnelList: Contains a list of VpnTunnel resources. @@ -62654,9 +62752,9 @@ type VpnTunnelList struct { NullFields []string `json:"-"` } -func (s *VpnTunnelList) MarshalJSON() ([]byte, error) { +func (s VpnTunnelList) MarshalJSON() ([]byte, error) { type NoMethod VpnTunnelList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnTunnelListWarning: [Output Only] Informational warning message. @@ -62739,9 +62837,9 @@ type VpnTunnelListWarning struct { NullFields []string `json:"-"` } -func (s *VpnTunnelListWarning) MarshalJSON() ([]byte, error) { +func (s VpnTunnelListWarning) MarshalJSON() ([]byte, error) { type NoMethod VpnTunnelListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnTunnelListWarningData struct { @@ -62768,9 +62866,9 @@ type VpnTunnelListWarningData struct { NullFields []string `json:"-"` } -func (s *VpnTunnelListWarningData) MarshalJSON() ([]byte, error) { +func (s VpnTunnelListWarningData) MarshalJSON() ([]byte, error) { type NoMethod VpnTunnelListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnTunnelsScopedList struct { @@ -62792,9 +62890,9 @@ type VpnTunnelsScopedList struct { NullFields []string `json:"-"` } -func (s *VpnTunnelsScopedList) MarshalJSON() ([]byte, error) { +func (s VpnTunnelsScopedList) MarshalJSON() ([]byte, error) { type NoMethod VpnTunnelsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnTunnelsScopedListWarning: Informational warning which replaces the list @@ -62878,9 +62976,9 @@ type VpnTunnelsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *VpnTunnelsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s VpnTunnelsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod VpnTunnelsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnTunnelsScopedListWarningData struct { @@ -62907,9 +63005,9 @@ type VpnTunnelsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *VpnTunnelsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s VpnTunnelsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod VpnTunnelsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type WafExpressionSet struct { @@ -62936,9 +63034,9 @@ type WafExpressionSet struct { NullFields []string `json:"-"` } -func (s *WafExpressionSet) MarshalJSON() ([]byte, error) { +func (s WafExpressionSet) MarshalJSON() ([]byte, error) { type NoMethod WafExpressionSet - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type WafExpressionSetExpression struct { @@ -62965,9 +63063,9 @@ type WafExpressionSetExpression struct { NullFields []string `json:"-"` } -func (s *WafExpressionSetExpression) MarshalJSON() ([]byte, error) { +func (s WafExpressionSetExpression) MarshalJSON() ([]byte, error) { type NoMethod WafExpressionSetExpression - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // WeightedBackendService: In contrast to a single BackendService in @@ -63011,9 +63109,9 @@ type WeightedBackendService struct { NullFields []string `json:"-"` } -func (s *WeightedBackendService) MarshalJSON() ([]byte, error) { +func (s WeightedBackendService) MarshalJSON() ([]byte, error) { type NoMethod WeightedBackendService - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type XpnHostList struct { @@ -63050,9 +63148,9 @@ type XpnHostList struct { NullFields []string `json:"-"` } -func (s *XpnHostList) MarshalJSON() ([]byte, error) { +func (s XpnHostList) MarshalJSON() ([]byte, error) { type NoMethod XpnHostList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // XpnHostListWarning: [Output Only] Informational warning message. @@ -63135,9 +63233,9 @@ type XpnHostListWarning struct { NullFields []string `json:"-"` } -func (s *XpnHostListWarning) MarshalJSON() ([]byte, error) { +func (s XpnHostListWarning) MarshalJSON() ([]byte, error) { type NoMethod XpnHostListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type XpnHostListWarningData struct { @@ -63164,9 +63262,9 @@ type XpnHostListWarningData struct { NullFields []string `json:"-"` } -func (s *XpnHostListWarningData) MarshalJSON() ([]byte, error) { +func (s XpnHostListWarningData) MarshalJSON() ([]byte, error) { type NoMethod XpnHostListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // XpnResourceId: Service resource (a.k.a service project) ID. @@ -63194,9 +63292,9 @@ type XpnResourceId struct { NullFields []string `json:"-"` } -func (s *XpnResourceId) MarshalJSON() ([]byte, error) { +func (s XpnResourceId) MarshalJSON() ([]byte, error) { type NoMethod XpnResourceId - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Zone: Represents a Zone resource. A zone is a deployment area. These @@ -63249,9 +63347,9 @@ type Zone struct { NullFields []string `json:"-"` } -func (s *Zone) MarshalJSON() ([]byte, error) { +func (s Zone) MarshalJSON() ([]byte, error) { type NoMethod Zone - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ZoneList: Contains a list of zone resources. @@ -63288,9 +63386,9 @@ type ZoneList struct { NullFields []string `json:"-"` } -func (s *ZoneList) MarshalJSON() ([]byte, error) { +func (s ZoneList) MarshalJSON() ([]byte, error) { type NoMethod ZoneList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ZoneListWarning: [Output Only] Informational warning message. @@ -63373,9 +63471,9 @@ type ZoneListWarning struct { NullFields []string `json:"-"` } -func (s *ZoneListWarning) MarshalJSON() ([]byte, error) { +func (s ZoneListWarning) MarshalJSON() ([]byte, error) { type NoMethod ZoneListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ZoneListWarningData struct { @@ -63402,9 +63500,9 @@ type ZoneListWarningData struct { NullFields []string `json:"-"` } -func (s *ZoneListWarningData) MarshalJSON() ([]byte, error) { +func (s ZoneListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ZoneListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ZoneSetLabelsRequest struct { @@ -63430,9 +63528,9 @@ type ZoneSetLabelsRequest struct { NullFields []string `json:"-"` } -func (s *ZoneSetLabelsRequest) MarshalJSON() ([]byte, error) { +func (s ZoneSetLabelsRequest) MarshalJSON() ([]byte, error) { type NoMethod ZoneSetLabelsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ZoneSetPolicyRequest struct { @@ -63460,7 +63558,7 @@ type ZoneSetPolicyRequest struct { NullFields []string `json:"-"` } -func (s *ZoneSetPolicyRequest) MarshalJSON() ([]byte, error) { +func (s ZoneSetPolicyRequest) MarshalJSON() ([]byte, error) { type NoMethod ZoneSetPolicyRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } diff --git a/vendor/google.golang.org/api/compute/v0.alpha/compute3-gen.go b/vendor/google.golang.org/api/compute/v0.alpha/compute3-gen.go index 9dc7a254be..4fd128015f 100644 --- a/vendor/google.golang.org/api/compute/v0.alpha/compute3-gen.go +++ b/vendor/google.golang.org/api/compute/v0.alpha/compute3-gen.go @@ -27326,7 +27326,13 @@ type RegionsGetCall struct { // quota information (the `quotas` field). To exclude one or more fields, set // your request's `fields` query parameter to only include the fields you need. // For example, to only include the `id` and `selfLink` fields, add the query -// parameter `?fields=id,selfLink` to your request. +// parameter `?fields=id,selfLink` to your request. This method fails if the +// quota information is unavailable for the region and if the organization +// policy constraint compute.requireBasicQuotaInResponse is enforced. This +// constraint, when enforced, disables the fail-open behaviour when quota +// information (the `items.quotas` field) is unavailable for the region. It is +// recommended to use the default setting for the constraint unless your +// application requires the fail-closed behaviour for this method. // // - project: Project ID for this request. // - region: Name of the region resource to return. diff --git a/vendor/google.golang.org/api/compute/v0.beta/compute-api.json b/vendor/google.golang.org/api/compute/v0.beta/compute-api.json index d79568119c..7895e57ae6 100644 --- a/vendor/google.golang.org/api/compute/v0.beta/compute-api.json +++ b/vendor/google.golang.org/api/compute/v0.beta/compute-api.json @@ -3669,6 +3669,40 @@ "https://www.googleapis.com/auth/compute" ] }, + "addPacketMirroringRule": { + "description": "Inserts a packet mirroring rule into a firewall policy.", + "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/addPacketMirroringRule", + "httpMethod": "POST", + "id": "compute.firewallPolicies.addPacketMirroringRule", + "parameterOrder": [ + "firewallPolicy" + ], + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to update.", + "location": "path", + "pattern": "(firewallPolicies/)?[0-9]{0,20}", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "locations/global/firewallPolicies/{firewallPolicy}/addPacketMirroringRule", + "request": { + "$ref": "FirewallPolicyRule" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, "addRule": { "description": "Inserts a rule into a firewall policy.", "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/addRule", @@ -3862,6 +3896,39 @@ "https://www.googleapis.com/auth/compute.readonly" ] }, + "getPacketMirroringRule": { + "description": "Gets a packet mirroring rule of the specified priority.", + "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/getPacketMirroringRule", + "httpMethod": "GET", + "id": "compute.firewallPolicies.getPacketMirroringRule", + "parameterOrder": [ + "firewallPolicy" + ], + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to which the queried rule belongs.", + "location": "path", + "pattern": "(firewallPolicies/)?[0-9]{0,20}", + "required": true, + "type": "string" + }, + "priority": { + "description": "The priority of the rule to get from the firewall policy.", + "format": "int32", + "location": "query", + "type": "integer" + } + }, + "path": "locations/global/firewallPolicies/{firewallPolicy}/getPacketMirroringRule", + "response": { + "$ref": "FirewallPolicyRule" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, "getRule": { "description": "Gets a rule of the specified priority.", "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/getRule", @@ -4066,6 +4133,46 @@ "https://www.googleapis.com/auth/compute" ] }, + "patchPacketMirroringRule": { + "description": "Patches a packet mirroring rule of the specified priority.", + "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/patchPacketMirroringRule", + "httpMethod": "POST", + "id": "compute.firewallPolicies.patchPacketMirroringRule", + "parameterOrder": [ + "firewallPolicy" + ], + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to update.", + "location": "path", + "pattern": "(firewallPolicies/)?[0-9]{0,20}", + "required": true, + "type": "string" + }, + "priority": { + "description": "The priority of the rule to patch.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "locations/global/firewallPolicies/{firewallPolicy}/patchPacketMirroringRule", + "request": { + "$ref": "FirewallPolicyRule" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, "patchRule": { "description": "Patches a rule of the specified priority.", "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/patchRule", @@ -4142,6 +4249,43 @@ "https://www.googleapis.com/auth/compute" ] }, + "removePacketMirroringRule": { + "description": "Deletes a packet mirroring rule of the specified priority.", + "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/removePacketMirroringRule", + "httpMethod": "POST", + "id": "compute.firewallPolicies.removePacketMirroringRule", + "parameterOrder": [ + "firewallPolicy" + ], + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to update.", + "location": "path", + "pattern": "(firewallPolicies/)?[0-9]{0,20}", + "required": true, + "type": "string" + }, + "priority": { + "description": "The priority of the rule to remove from the firewall policy.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "locations/global/firewallPolicies/{firewallPolicy}/removePacketMirroringRule", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, "removeRule": { "description": "Deletes a rule of the specified priority.", "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/removeRule", @@ -17184,6 +17328,60 @@ "https://www.googleapis.com/auth/compute" ] }, + "addPacketMirroringRule": { + "description": "Inserts a packet mirroring rule into a firewall policy.", + "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/addPacketMirroringRule", + "httpMethod": "POST", + "id": "compute.networkFirewallPolicies.addPacketMirroringRule", + "parameterOrder": [ + "project", + "firewallPolicy" + ], + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to update.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "maxPriority": { + "description": "When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority\u003e. This field is exclusive with rule.priority.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "minPriority": { + "description": "When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority\u003e. This field is exclusive with rule.priority.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/addPacketMirroringRule", + "request": { + "$ref": "FirewallPolicyRule" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, "addRule": { "description": "Inserts a rule into a firewall policy.", "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/addRule", @@ -17437,6 +17635,47 @@ "https://www.googleapis.com/auth/compute.readonly" ] }, + "getPacketMirroringRule": { + "description": "Gets a packet mirroring rule of the specified priority.", + "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/getPacketMirroringRule", + "httpMethod": "GET", + "id": "compute.networkFirewallPolicies.getPacketMirroringRule", + "parameterOrder": [ + "project", + "firewallPolicy" + ], + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to which the queried rule belongs.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "priority": { + "description": "The priority of the rule to get from the firewall policy.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/getPacketMirroringRule", + "response": { + "$ref": "FirewallPolicyRule" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, "getRule": { "description": "Gets a rule of the specified priority.", "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/getRule", @@ -17609,6 +17848,54 @@ "https://www.googleapis.com/auth/compute" ] }, + "patchPacketMirroringRule": { + "description": "Patches a packet mirroring rule of the specified priority.", + "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/patchPacketMirroringRule", + "httpMethod": "POST", + "id": "compute.networkFirewallPolicies.patchPacketMirroringRule", + "parameterOrder": [ + "project", + "firewallPolicy" + ], + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to update.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "priority": { + "description": "The priority of the rule to patch.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/patchPacketMirroringRule", + "request": { + "$ref": "FirewallPolicyRule" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, "patchRule": { "description": "Patches a rule of the specified priority.", "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/patchRule", @@ -17701,6 +17988,51 @@ "https://www.googleapis.com/auth/compute" ] }, + "removePacketMirroringRule": { + "description": "Deletes a packet mirroring rule of the specified priority.", + "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/removePacketMirroringRule", + "httpMethod": "POST", + "id": "compute.networkFirewallPolicies.removePacketMirroringRule", + "parameterOrder": [ + "project", + "firewallPolicy" + ], + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to update.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "priority": { + "description": "The priority of the rule to remove from the firewall policy.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/removePacketMirroringRule", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, "removeRule": { "description": "Deletes a rule of the specified priority.", "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/removeRule", @@ -31184,7 +31516,7 @@ "regions": { "methods": { "get": { - "description": "Returns the specified Region resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request.", + "description": "Returns the specified Region resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. This method fails if the quota information is unavailable for the region and if the organization policy constraint compute.requireBasicQuotaInResponse is enforced. This constraint, when enforced, disables the fail-open behaviour when quota information (the `items.quotas` field) is unavailable for the region. It is recommended to use the default setting for the constraint unless your application requires the fail-closed behaviour for this method.", "flatPath": "projects/{project}/regions/{region}", "httpMethod": "GET", "id": "compute.regions.get", @@ -41579,7 +41911,7 @@ } } }, - "revision": "20240618", + "revision": "20240702", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -44904,7 +45236,8 @@ "GENERATED_COOKIE", "HEADER_FIELD", "HTTP_COOKIE", - "NONE" + "NONE", + "STRONG_COOKIE_AFFINITY" ], "enumDescriptions": [ "2-tuple hash on packet's source and destination IP addresses. Connections from the same source IP address to the same destination IP address will be served by the same backend VM while that VM remains healthy.", @@ -44914,10 +45247,15 @@ "Hash based on a cookie generated by the L7 loadbalancer. Only valid for HTTP(S) load balancing.", "The hash is based on a user specified header field.", "The hash is based on a user provided cookie.", - "No session affinity. Connections from the same client IP may go to any instance in the pool." + "No session affinity. Connections from the same client IP may go to any instance in the pool.", + "Strong cookie-based affinity. Connections bearing the same cookie will be served by the same backend VM while that VM remains healthy, as long as the cookie has not expired." ], "type": "string" }, + "strongSessionAffinityCookie": { + "$ref": "BackendServiceHttpCookie", + "description": "Describes the HTTP cookie used for stateful session affinity. This field is applicable and required if the sessionAffinity is set to STRONG_COOKIE_AFFINITY." + }, "subsetting": { "$ref": "Subsetting" }, @@ -44927,6 +45265,7 @@ "type": "integer" }, "usedBy": { + "description": "[Output Only] List of resources referencing given backend service.", "items": { "$ref": "BackendServiceUsedBy" }, @@ -45293,6 +45632,25 @@ }, "type": "object" }, + "BackendServiceHttpCookie": { + "description": "The HTTP cookie used for stateful session affinity.", + "id": "BackendServiceHttpCookie", + "properties": { + "name": { + "description": "Name of the cookie.", + "type": "string" + }, + "path": { + "description": "Path to set for the cookie.", + "type": "string" + }, + "ttl": { + "$ref": "Duration", + "description": "Lifetime of the cookie." + } + }, + "type": "object" + }, "BackendServiceIAP": { "description": "Identity-Aware Proxy", "id": "BackendServiceIAP", @@ -45729,6 +46087,7 @@ "id": "BackendServiceUsedBy", "properties": { "reference": { + "description": "[Output Only] Server-defined URL for resources referencing given BackendService like UrlMaps, TargetTcpProxies, TargetSslProxies and ForwardingRule.", "type": "string" } }, @@ -46586,6 +46945,7 @@ "COMPUTE_OPTIMIZED_C3D", "COMPUTE_OPTIMIZED_H3", "GENERAL_PURPOSE", + "GENERAL_PURPOSE_C4", "GENERAL_PURPOSE_E2", "GENERAL_PURPOSE_N2", "GENERAL_PURPOSE_N2D", @@ -46616,6 +46976,7 @@ "", "", "", + "", "" ], "type": "string" @@ -49848,6 +50209,13 @@ "description": "Name of the resource. For Organization Firewall Policies it's a [Output Only] numeric ID allocated by Google Cloud which uniquely identifies the Organization Firewall Policy.", "type": "string" }, + "packetMirroringRules": { + "description": "A list of packet mirroring rules that belong to this policy.", + "items": { + "$ref": "FirewallPolicyRule" + }, + "type": "array" + }, "parent": { "description": "[Output Only] The parent of the firewall policy. This field is not applicable to network firewall policies.", "type": "string" @@ -55330,8 +55698,7 @@ "type": "array" }, "baseInstanceName": { - "description": "The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035.", - "pattern": "[a-z][-a-z0-9]{0,57}", + "description": "The base instance name is a prefix that you want to attach to the names of all VMs in a MIG. The maximum character length is 58 and the name must comply with RFC1035 format. When a VM is created in the group, the MIG appends a hyphen and a random four-character string to the base instance name. If you want the MIG to assign sequential numbers instead of a random string, then end the base instance name with a hyphen followed by one or more hash symbols. The hash symbols indicate the number of digits. For example, a base instance name of \"vm-###\" results in \"vm-001\" as a VM name. @pattern [a-z](([-a-z0-9]{0,57})|([-a-z0-9]{0,52}-#{1,10}(\\\\[[0-9]{1,10}\\\\])?))", "type": "string" }, "creationTimestamp": { @@ -58756,6 +59123,11 @@ "description": "[Output Only] The name of the firewall policy.", "type": "string" }, + "priority": { + "description": "[Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY.", + "format": "int32", + "type": "integer" + }, "rules": { "description": "The rules that apply to the network.", "items": { @@ -58773,9 +59145,13 @@ "HIERARCHY", "NETWORK", "NETWORK_REGIONAL", + "SYSTEM_GLOBAL", + "SYSTEM_REGIONAL", "UNSPECIFIED" ], "enumDescriptions": [ + "", + "", "", "", "", @@ -64659,12 +65035,6 @@ "format": "int32", "type": "integer" }, - "clientPort": { - "deprecated": true, - "description": "Represents the port number to which PSC consumer sends packets. Only valid for network endpoint groups created with CLIENT_PORT_PER_ENDPOINT mapping mode.", - "format": "int32", - "type": "integer" - }, "fqdn": { "description": "Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT.", "type": "string" @@ -64704,19 +65074,6 @@ "$ref": "NetworkEndpointGroupAppEngine", "description": "Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set." }, - "clientPortMappingMode": { - "deprecated": true, - "description": "Only valid when networkEndpointType is GCE_VM_IP_PORT and the NEG is regional.", - "enum": [ - "CLIENT_PORT_PER_ENDPOINT", - "PORT_MAPPING_DISABLED" - ], - "enumDescriptions": [ - "For each endpoint there is exactly one client port.", - "NEG should not be used for mapping client port to destination." - ], - "type": "string" - }, "cloudFunction": { "$ref": "NetworkEndpointGroupCloudFunction", "description": "Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set." @@ -73434,6 +73791,11 @@ "description": "[Output Only] The name of the firewall policy.", "type": "string" }, + "priority": { + "description": "[Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY.", + "format": "int32", + "type": "integer" + }, "rules": { "description": "The rules that apply to the network.", "items": { @@ -73447,9 +73809,13 @@ "HIERARCHY", "NETWORK", "NETWORK_REGIONAL", + "SYSTEM_GLOBAL", + "SYSTEM_REGIONAL", "UNSPECIFIED" ], "enumDescriptions": [ + "", + "", "", "", "", @@ -75020,6 +75386,11 @@ "ResourceStatusScheduling": { "id": "ResourceStatusScheduling", "properties": { + "availabilityDomain": { + "description": "Specifies the availability domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance.", + "format": "int32", + "type": "integer" + }, "terminationTimestamp": { "description": "Time in future when the instance will be terminated in RFC3339 text format.", "type": "string" @@ -77646,6 +78017,11 @@ "description": "Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). You can only set the automatic restart option for standard instances. Preemptible instances cannot be automatically restarted. By default, this is set to true so an instance is automatically restarted if it is terminated by Compute Engine.", "type": "boolean" }, + "availabilityDomain": { + "description": "Specifies the availability domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance.", + "format": "int32", + "type": "integer" + }, "hostErrorTimeoutSeconds": { "description": "Specify the time in seconds for host error detection, the value must be within the range of [90, 330] with the increment of 30, if unset, the default behavior of host error recovery will be used.", "format": "int32", @@ -86364,7 +86740,8 @@ "GENERATED_COOKIE", "HEADER_FIELD", "HTTP_COOKIE", - "NONE" + "NONE", + "STRONG_COOKIE_AFFINITY" ], "enumDescriptions": [ "2-tuple hash on packet's source and destination IP addresses. Connections from the same source IP address to the same destination IP address will be served by the same backend VM while that VM remains healthy.", @@ -86374,7 +86751,8 @@ "Hash based on a cookie generated by the L7 loadbalancer. Only valid for HTTP(S) load balancing.", "The hash is based on a user specified header field.", "The hash is based on a user provided cookie.", - "No session affinity. Connections from the same client IP may go to any instance in the pool." + "No session affinity. Connections from the same client IP may go to any instance in the pool.", + "Strong cookie-based affinity. Connections bearing the same cookie will be served by the same backend VM while that VM remains healthy, as long as the cookie has not expired." ], "type": "string" } @@ -89651,7 +90029,7 @@ "type": "string" }, "stackType": { - "description": "The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used.", + "description": "The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6, IPV6_ONLY. If not specified, IPV4_ONLY is used if the gateway IP version is IPV4, or IPV4_IPV6 if the gateway IP version is IPV6.", "enum": [ "IPV4_IPV6", "IPV4_ONLY", diff --git a/vendor/google.golang.org/api/compute/v0.beta/compute-gen.go b/vendor/google.golang.org/api/compute/v0.beta/compute-gen.go index 06e8948889..23a0abfaf9 100644 --- a/vendor/google.golang.org/api/compute/v0.beta/compute-gen.go +++ b/vendor/google.golang.org/api/compute/v0.beta/compute-gen.go @@ -1434,9 +1434,9 @@ type AWSV4Signature struct { NullFields []string `json:"-"` } -func (s *AWSV4Signature) MarshalJSON() ([]byte, error) { +func (s AWSV4Signature) MarshalJSON() ([]byte, error) { type NoMethod AWSV4Signature - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AcceleratorConfig: A specification of the type and number of accelerator @@ -1464,9 +1464,9 @@ type AcceleratorConfig struct { NullFields []string `json:"-"` } -func (s *AcceleratorConfig) MarshalJSON() ([]byte, error) { +func (s AcceleratorConfig) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AcceleratorType: Represents an Accelerator Type resource. Google Cloud @@ -1515,9 +1515,9 @@ type AcceleratorType struct { NullFields []string `json:"-"` } -func (s *AcceleratorType) MarshalJSON() ([]byte, error) { +func (s AcceleratorType) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorType - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AcceleratorTypeAggregatedList struct { @@ -1557,9 +1557,9 @@ type AcceleratorTypeAggregatedList struct { NullFields []string `json:"-"` } -func (s *AcceleratorTypeAggregatedList) MarshalJSON() ([]byte, error) { +func (s AcceleratorTypeAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorTypeAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AcceleratorTypeAggregatedListWarning: [Output Only] Informational warning @@ -1643,9 +1643,9 @@ type AcceleratorTypeAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *AcceleratorTypeAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s AcceleratorTypeAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorTypeAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AcceleratorTypeAggregatedListWarningData struct { @@ -1672,9 +1672,9 @@ type AcceleratorTypeAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *AcceleratorTypeAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s AcceleratorTypeAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorTypeAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AcceleratorTypeList: Contains a list of accelerator types. @@ -1712,9 +1712,9 @@ type AcceleratorTypeList struct { NullFields []string `json:"-"` } -func (s *AcceleratorTypeList) MarshalJSON() ([]byte, error) { +func (s AcceleratorTypeList) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorTypeList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AcceleratorTypeListWarning: [Output Only] Informational warning message. @@ -1797,9 +1797,9 @@ type AcceleratorTypeListWarning struct { NullFields []string `json:"-"` } -func (s *AcceleratorTypeListWarning) MarshalJSON() ([]byte, error) { +func (s AcceleratorTypeListWarning) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorTypeListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AcceleratorTypeListWarningData struct { @@ -1826,9 +1826,9 @@ type AcceleratorTypeListWarningData struct { NullFields []string `json:"-"` } -func (s *AcceleratorTypeListWarningData) MarshalJSON() ([]byte, error) { +func (s AcceleratorTypeListWarningData) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorTypeListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AcceleratorTypesScopedList struct { @@ -1851,9 +1851,9 @@ type AcceleratorTypesScopedList struct { NullFields []string `json:"-"` } -func (s *AcceleratorTypesScopedList) MarshalJSON() ([]byte, error) { +func (s AcceleratorTypesScopedList) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorTypesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AcceleratorTypesScopedListWarning: [Output Only] An informational warning @@ -1937,9 +1937,9 @@ type AcceleratorTypesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *AcceleratorTypesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s AcceleratorTypesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorTypesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AcceleratorTypesScopedListWarningData struct { @@ -1966,9 +1966,9 @@ type AcceleratorTypesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *AcceleratorTypesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s AcceleratorTypesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorTypesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AccessConfig: An access configuration attached to an instance's network @@ -2048,9 +2048,9 @@ type AccessConfig struct { NullFields []string `json:"-"` } -func (s *AccessConfig) MarshalJSON() ([]byte, error) { +func (s AccessConfig) MarshalJSON() ([]byte, error) { type NoMethod AccessConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Address: Represents an IP Address resource. Google Compute Engine has two IP @@ -2216,9 +2216,9 @@ type Address struct { NullFields []string `json:"-"` } -func (s *Address) MarshalJSON() ([]byte, error) { +func (s Address) MarshalJSON() ([]byte, error) { type NoMethod Address - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AddressAggregatedList struct { @@ -2257,9 +2257,9 @@ type AddressAggregatedList struct { NullFields []string `json:"-"` } -func (s *AddressAggregatedList) MarshalJSON() ([]byte, error) { +func (s AddressAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod AddressAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AddressAggregatedListWarning: [Output Only] Informational warning message. @@ -2342,9 +2342,9 @@ type AddressAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *AddressAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s AddressAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod AddressAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AddressAggregatedListWarningData struct { @@ -2371,9 +2371,9 @@ type AddressAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *AddressAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s AddressAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod AddressAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AddressList: Contains a list of addresses. @@ -2411,9 +2411,9 @@ type AddressList struct { NullFields []string `json:"-"` } -func (s *AddressList) MarshalJSON() ([]byte, error) { +func (s AddressList) MarshalJSON() ([]byte, error) { type NoMethod AddressList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AddressListWarning: [Output Only] Informational warning message. @@ -2496,9 +2496,9 @@ type AddressListWarning struct { NullFields []string `json:"-"` } -func (s *AddressListWarning) MarshalJSON() ([]byte, error) { +func (s AddressListWarning) MarshalJSON() ([]byte, error) { type NoMethod AddressListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AddressListWarningData struct { @@ -2525,9 +2525,9 @@ type AddressListWarningData struct { NullFields []string `json:"-"` } -func (s *AddressListWarningData) MarshalJSON() ([]byte, error) { +func (s AddressListWarningData) MarshalJSON() ([]byte, error) { type NoMethod AddressListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AddressesScopedList struct { @@ -2549,9 +2549,9 @@ type AddressesScopedList struct { NullFields []string `json:"-"` } -func (s *AddressesScopedList) MarshalJSON() ([]byte, error) { +func (s AddressesScopedList) MarshalJSON() ([]byte, error) { type NoMethod AddressesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AddressesScopedListWarning: [Output Only] Informational warning which @@ -2635,9 +2635,9 @@ type AddressesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *AddressesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s AddressesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod AddressesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AddressesScopedListWarningData struct { @@ -2664,9 +2664,9 @@ type AddressesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *AddressesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s AddressesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod AddressesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AdvancedMachineFeatures: Specifies options for controlling advanced machine @@ -2713,9 +2713,9 @@ type AdvancedMachineFeatures struct { NullFields []string `json:"-"` } -func (s *AdvancedMachineFeatures) MarshalJSON() ([]byte, error) { +func (s AdvancedMachineFeatures) MarshalJSON() ([]byte, error) { type NoMethod AdvancedMachineFeatures - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AliasIpRange: An alias IP range attached to an instance's network interface. @@ -2743,9 +2743,9 @@ type AliasIpRange struct { NullFields []string `json:"-"` } -func (s *AliasIpRange) MarshalJSON() ([]byte, error) { +func (s AliasIpRange) MarshalJSON() ([]byte, error) { type NoMethod AliasIpRange - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AllocationAggregateReservation: This reservation type is specified by total @@ -2788,9 +2788,9 @@ type AllocationAggregateReservation struct { NullFields []string `json:"-"` } -func (s *AllocationAggregateReservation) MarshalJSON() ([]byte, error) { +func (s AllocationAggregateReservation) MarshalJSON() ([]byte, error) { type NoMethod AllocationAggregateReservation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AllocationAggregateReservationReservedResourceInfo struct { @@ -2809,9 +2809,9 @@ type AllocationAggregateReservationReservedResourceInfo struct { NullFields []string `json:"-"` } -func (s *AllocationAggregateReservationReservedResourceInfo) MarshalJSON() ([]byte, error) { +func (s AllocationAggregateReservationReservedResourceInfo) MarshalJSON() ([]byte, error) { type NoMethod AllocationAggregateReservationReservedResourceInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AllocationAggregateReservationReservedResourceInfoAccelerator struct { @@ -2833,9 +2833,9 @@ type AllocationAggregateReservationReservedResourceInfoAccelerator struct { NullFields []string `json:"-"` } -func (s *AllocationAggregateReservationReservedResourceInfoAccelerator) MarshalJSON() ([]byte, error) { +func (s AllocationAggregateReservationReservedResourceInfoAccelerator) MarshalJSON() ([]byte, error) { type NoMethod AllocationAggregateReservationReservedResourceInfoAccelerator - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AllocationResourceStatus: [Output Only] Contains output only fields. @@ -2855,9 +2855,9 @@ type AllocationResourceStatus struct { NullFields []string `json:"-"` } -func (s *AllocationResourceStatus) MarshalJSON() ([]byte, error) { +func (s AllocationResourceStatus) MarshalJSON() ([]byte, error) { type NoMethod AllocationResourceStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AllocationResourceStatusSpecificSKUAllocation: Contains Properties set for @@ -2879,9 +2879,9 @@ type AllocationResourceStatusSpecificSKUAllocation struct { NullFields []string `json:"-"` } -func (s *AllocationResourceStatusSpecificSKUAllocation) MarshalJSON() ([]byte, error) { +func (s AllocationResourceStatusSpecificSKUAllocation) MarshalJSON() ([]byte, error) { type NoMethod AllocationResourceStatusSpecificSKUAllocation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk struct { @@ -2908,9 +2908,9 @@ type AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk stru NullFields []string `json:"-"` } -func (s *AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk) MarshalJSON() ([]byte, error) { +func (s AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk) MarshalJSON() ([]byte, error) { type NoMethod AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AllocationSpecificSKUAllocationReservedInstanceProperties: Properties of the @@ -2968,9 +2968,9 @@ type AllocationSpecificSKUAllocationReservedInstanceProperties struct { NullFields []string `json:"-"` } -func (s *AllocationSpecificSKUAllocationReservedInstanceProperties) MarshalJSON() ([]byte, error) { +func (s AllocationSpecificSKUAllocationReservedInstanceProperties) MarshalJSON() ([]byte, error) { type NoMethod AllocationSpecificSKUAllocationReservedInstanceProperties - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AllocationSpecificSKUReservation: This reservation type allows to pre @@ -3007,9 +3007,9 @@ type AllocationSpecificSKUReservation struct { NullFields []string `json:"-"` } -func (s *AllocationSpecificSKUReservation) MarshalJSON() ([]byte, error) { +func (s AllocationSpecificSKUReservation) MarshalJSON() ([]byte, error) { type NoMethod AllocationSpecificSKUReservation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AttachedDisk: An instance-attached disk resource. @@ -3148,9 +3148,9 @@ type AttachedDisk struct { NullFields []string `json:"-"` } -func (s *AttachedDisk) MarshalJSON() ([]byte, error) { +func (s AttachedDisk) MarshalJSON() ([]byte, error) { type NoMethod AttachedDisk - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AttachedDiskInitializeParams: [Input Only] Specifies the parameters for a @@ -3304,9 +3304,9 @@ type AttachedDiskInitializeParams struct { NullFields []string `json:"-"` } -func (s *AttachedDiskInitializeParams) MarshalJSON() ([]byte, error) { +func (s AttachedDiskInitializeParams) MarshalJSON() ([]byte, error) { type NoMethod AttachedDiskInitializeParams - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AuditConfig: Specifies the audit configuration for a service. The @@ -3347,9 +3347,9 @@ type AuditConfig struct { NullFields []string `json:"-"` } -func (s *AuditConfig) MarshalJSON() ([]byte, error) { +func (s AuditConfig) MarshalJSON() ([]byte, error) { type NoMethod AuditConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AuditLogConfig: Provides the configuration for logging a type of @@ -3384,9 +3384,9 @@ type AuditLogConfig struct { NullFields []string `json:"-"` } -func (s *AuditLogConfig) MarshalJSON() ([]byte, error) { +func (s AuditLogConfig) MarshalJSON() ([]byte, error) { type NoMethod AuditLogConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Autoscaler: Represents an Autoscaler resource. Google Compute Engine has two @@ -3478,9 +3478,9 @@ type Autoscaler struct { NullFields []string `json:"-"` } -func (s *Autoscaler) MarshalJSON() ([]byte, error) { +func (s Autoscaler) MarshalJSON() ([]byte, error) { type NoMethod Autoscaler - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AutoscalerAggregatedList struct { @@ -3520,9 +3520,9 @@ type AutoscalerAggregatedList struct { NullFields []string `json:"-"` } -func (s *AutoscalerAggregatedList) MarshalJSON() ([]byte, error) { +func (s AutoscalerAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod AutoscalerAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AutoscalerAggregatedListWarning: [Output Only] Informational warning @@ -3606,9 +3606,9 @@ type AutoscalerAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *AutoscalerAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s AutoscalerAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod AutoscalerAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AutoscalerAggregatedListWarningData struct { @@ -3635,9 +3635,9 @@ type AutoscalerAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *AutoscalerAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s AutoscalerAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod AutoscalerAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AutoscalerList: Contains a list of Autoscaler resources. @@ -3675,9 +3675,9 @@ type AutoscalerList struct { NullFields []string `json:"-"` } -func (s *AutoscalerList) MarshalJSON() ([]byte, error) { +func (s AutoscalerList) MarshalJSON() ([]byte, error) { type NoMethod AutoscalerList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AutoscalerListWarning: [Output Only] Informational warning message. @@ -3760,9 +3760,9 @@ type AutoscalerListWarning struct { NullFields []string `json:"-"` } -func (s *AutoscalerListWarning) MarshalJSON() ([]byte, error) { +func (s AutoscalerListWarning) MarshalJSON() ([]byte, error) { type NoMethod AutoscalerListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AutoscalerListWarningData struct { @@ -3789,9 +3789,9 @@ type AutoscalerListWarningData struct { NullFields []string `json:"-"` } -func (s *AutoscalerListWarningData) MarshalJSON() ([]byte, error) { +func (s AutoscalerListWarningData) MarshalJSON() ([]byte, error) { type NoMethod AutoscalerListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AutoscalerStatusDetails struct { @@ -3890,9 +3890,9 @@ type AutoscalerStatusDetails struct { NullFields []string `json:"-"` } -func (s *AutoscalerStatusDetails) MarshalJSON() ([]byte, error) { +func (s AutoscalerStatusDetails) MarshalJSON() ([]byte, error) { type NoMethod AutoscalerStatusDetails - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AutoscalersScopedList struct { @@ -3914,9 +3914,9 @@ type AutoscalersScopedList struct { NullFields []string `json:"-"` } -func (s *AutoscalersScopedList) MarshalJSON() ([]byte, error) { +func (s AutoscalersScopedList) MarshalJSON() ([]byte, error) { type NoMethod AutoscalersScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AutoscalersScopedListWarning: [Output Only] Informational warning which @@ -4000,9 +4000,9 @@ type AutoscalersScopedListWarning struct { NullFields []string `json:"-"` } -func (s *AutoscalersScopedListWarning) MarshalJSON() ([]byte, error) { +func (s AutoscalersScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod AutoscalersScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AutoscalersScopedListWarningData struct { @@ -4029,9 +4029,9 @@ type AutoscalersScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *AutoscalersScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s AutoscalersScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod AutoscalersScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AutoscalingPolicy: Cloud Autoscaler policy. @@ -4102,9 +4102,9 @@ type AutoscalingPolicy struct { NullFields []string `json:"-"` } -func (s *AutoscalingPolicy) MarshalJSON() ([]byte, error) { +func (s AutoscalingPolicy) MarshalJSON() ([]byte, error) { type NoMethod AutoscalingPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AutoscalingPolicyCpuUtilization: CPU utilization policy. @@ -4146,9 +4146,9 @@ type AutoscalingPolicyCpuUtilization struct { NullFields []string `json:"-"` } -func (s *AutoscalingPolicyCpuUtilization) MarshalJSON() ([]byte, error) { +func (s AutoscalingPolicyCpuUtilization) MarshalJSON() ([]byte, error) { type NoMethod AutoscalingPolicyCpuUtilization - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *AutoscalingPolicyCpuUtilization) UnmarshalJSON(data []byte) error { @@ -4240,9 +4240,9 @@ type AutoscalingPolicyCustomMetricUtilization struct { NullFields []string `json:"-"` } -func (s *AutoscalingPolicyCustomMetricUtilization) MarshalJSON() ([]byte, error) { +func (s AutoscalingPolicyCustomMetricUtilization) MarshalJSON() ([]byte, error) { type NoMethod AutoscalingPolicyCustomMetricUtilization - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *AutoscalingPolicyCustomMetricUtilization) UnmarshalJSON(data []byte) error { @@ -4281,9 +4281,9 @@ type AutoscalingPolicyLoadBalancingUtilization struct { NullFields []string `json:"-"` } -func (s *AutoscalingPolicyLoadBalancingUtilization) MarshalJSON() ([]byte, error) { +func (s AutoscalingPolicyLoadBalancingUtilization) MarshalJSON() ([]byte, error) { type NoMethod AutoscalingPolicyLoadBalancingUtilization - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *AutoscalingPolicyLoadBalancingUtilization) UnmarshalJSON(data []byte) error { @@ -4325,9 +4325,9 @@ type AutoscalingPolicyScaleDownControl struct { NullFields []string `json:"-"` } -func (s *AutoscalingPolicyScaleDownControl) MarshalJSON() ([]byte, error) { +func (s AutoscalingPolicyScaleDownControl) MarshalJSON() ([]byte, error) { type NoMethod AutoscalingPolicyScaleDownControl - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AutoscalingPolicyScaleInControl: Configuration that allows for slower scale @@ -4355,9 +4355,9 @@ type AutoscalingPolicyScaleInControl struct { NullFields []string `json:"-"` } -func (s *AutoscalingPolicyScaleInControl) MarshalJSON() ([]byte, error) { +func (s AutoscalingPolicyScaleInControl) MarshalJSON() ([]byte, error) { type NoMethod AutoscalingPolicyScaleInControl - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AutoscalingPolicyScalingSchedule: Scaling based on user-defined schedule. @@ -4407,9 +4407,9 @@ type AutoscalingPolicyScalingSchedule struct { NullFields []string `json:"-"` } -func (s *AutoscalingPolicyScalingSchedule) MarshalJSON() ([]byte, error) { +func (s AutoscalingPolicyScalingSchedule) MarshalJSON() ([]byte, error) { type NoMethod AutoscalingPolicyScalingSchedule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Backend: Message containing information of one individual backend. @@ -4512,9 +4512,9 @@ type Backend struct { NullFields []string `json:"-"` } -func (s *Backend) MarshalJSON() ([]byte, error) { +func (s Backend) MarshalJSON() ([]byte, error) { type NoMethod Backend - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *Backend) UnmarshalJSON(data []byte) error { @@ -4597,9 +4597,9 @@ type BackendBucket struct { NullFields []string `json:"-"` } -func (s *BackendBucket) MarshalJSON() ([]byte, error) { +func (s BackendBucket) MarshalJSON() ([]byte, error) { type NoMethod BackendBucket - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendBucketCdnPolicy: Message containing Cloud CDN configuration for a @@ -4728,9 +4728,9 @@ type BackendBucketCdnPolicy struct { NullFields []string `json:"-"` } -func (s *BackendBucketCdnPolicy) MarshalJSON() ([]byte, error) { +func (s BackendBucketCdnPolicy) MarshalJSON() ([]byte, error) { type NoMethod BackendBucketCdnPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendBucketCdnPolicyBypassCacheOnRequestHeader: Bypass the cache when the @@ -4754,9 +4754,9 @@ type BackendBucketCdnPolicyBypassCacheOnRequestHeader struct { NullFields []string `json:"-"` } -func (s *BackendBucketCdnPolicyBypassCacheOnRequestHeader) MarshalJSON() ([]byte, error) { +func (s BackendBucketCdnPolicyBypassCacheOnRequestHeader) MarshalJSON() ([]byte, error) { type NoMethod BackendBucketCdnPolicyBypassCacheOnRequestHeader - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendBucketCdnPolicyCacheKeyPolicy: Message containing what to include in @@ -4782,9 +4782,9 @@ type BackendBucketCdnPolicyCacheKeyPolicy struct { NullFields []string `json:"-"` } -func (s *BackendBucketCdnPolicyCacheKeyPolicy) MarshalJSON() ([]byte, error) { +func (s BackendBucketCdnPolicyCacheKeyPolicy) MarshalJSON() ([]byte, error) { type NoMethod BackendBucketCdnPolicyCacheKeyPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendBucketCdnPolicyNegativeCachingPolicy: Specify CDN TTLs for response @@ -4812,9 +4812,9 @@ type BackendBucketCdnPolicyNegativeCachingPolicy struct { NullFields []string `json:"-"` } -func (s *BackendBucketCdnPolicyNegativeCachingPolicy) MarshalJSON() ([]byte, error) { +func (s BackendBucketCdnPolicyNegativeCachingPolicy) MarshalJSON() ([]byte, error) { type NoMethod BackendBucketCdnPolicyNegativeCachingPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendBucketList: Contains a list of BackendBucket resources. @@ -4851,9 +4851,9 @@ type BackendBucketList struct { NullFields []string `json:"-"` } -func (s *BackendBucketList) MarshalJSON() ([]byte, error) { +func (s BackendBucketList) MarshalJSON() ([]byte, error) { type NoMethod BackendBucketList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendBucketListWarning: [Output Only] Informational warning message. @@ -4936,9 +4936,9 @@ type BackendBucketListWarning struct { NullFields []string `json:"-"` } -func (s *BackendBucketListWarning) MarshalJSON() ([]byte, error) { +func (s BackendBucketListWarning) MarshalJSON() ([]byte, error) { type NoMethod BackendBucketListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BackendBucketListWarningData struct { @@ -4965,9 +4965,9 @@ type BackendBucketListWarningData struct { NullFields []string `json:"-"` } -func (s *BackendBucketListWarningData) MarshalJSON() ([]byte, error) { +func (s BackendBucketListWarningData) MarshalJSON() ([]byte, error) { type NoMethod BackendBucketListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendService: Represents a Backend Service resource. A backend service @@ -5331,8 +5331,15 @@ type BackendService struct { // "HTTP_COOKIE" - The hash is based on a user provided cookie. // "NONE" - No session affinity. Connections from the same client IP may go // to any instance in the pool. - SessionAffinity string `json:"sessionAffinity,omitempty"` - Subsetting *Subsetting `json:"subsetting,omitempty"` + // "STRONG_COOKIE_AFFINITY" - Strong cookie-based affinity. Connections + // bearing the same cookie will be served by the same backend VM while that VM + // remains healthy, as long as the cookie has not expired. + SessionAffinity string `json:"sessionAffinity,omitempty"` + // StrongSessionAffinityCookie: Describes the HTTP cookie used for stateful + // session affinity. This field is applicable and required if the + // sessionAffinity is set to STRONG_COOKIE_AFFINITY. + StrongSessionAffinityCookie *BackendServiceHttpCookie `json:"strongSessionAffinityCookie,omitempty"` + Subsetting *Subsetting `json:"subsetting,omitempty"` // TimeoutSec: The backend service timeout has a different meaning depending on // the type of load balancer. For more information see, Backend service // settings. The default is 30 seconds. The full range of timeout values @@ -5341,8 +5348,9 @@ type BackendService struct { // this backend service. Not supported when the backend service is referenced // by a URL map that is bound to target gRPC proxy that has // validateForProxyless field set to true. Instead, use maxStreamDuration. - TimeoutSec int64 `json:"timeoutSec,omitempty"` - UsedBy []*BackendServiceUsedBy `json:"usedBy,omitempty"` + TimeoutSec int64 `json:"timeoutSec,omitempty"` + // UsedBy: [Output Only] List of resources referencing given backend service. + UsedBy []*BackendServiceUsedBy `json:"usedBy,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` @@ -5359,9 +5367,9 @@ type BackendService struct { NullFields []string `json:"-"` } -func (s *BackendService) MarshalJSON() ([]byte, error) { +func (s BackendService) MarshalJSON() ([]byte, error) { type NoMethod BackendService - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceAggregatedList: Contains a list of BackendServicesScopedList. @@ -5400,9 +5408,9 @@ type BackendServiceAggregatedList struct { NullFields []string `json:"-"` } -func (s *BackendServiceAggregatedList) MarshalJSON() ([]byte, error) { +func (s BackendServiceAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceAggregatedListWarning: [Output Only] Informational warning @@ -5486,9 +5494,9 @@ type BackendServiceAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *BackendServiceAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s BackendServiceAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BackendServiceAggregatedListWarningData struct { @@ -5515,9 +5523,9 @@ type BackendServiceAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *BackendServiceAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s BackendServiceAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceCdnPolicy: Message containing Cloud CDN configuration for a @@ -5646,9 +5654,9 @@ type BackendServiceCdnPolicy struct { NullFields []string `json:"-"` } -func (s *BackendServiceCdnPolicy) MarshalJSON() ([]byte, error) { +func (s BackendServiceCdnPolicy) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceCdnPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceCdnPolicyBypassCacheOnRequestHeader: Bypass the cache when the @@ -5672,9 +5680,9 @@ type BackendServiceCdnPolicyBypassCacheOnRequestHeader struct { NullFields []string `json:"-"` } -func (s *BackendServiceCdnPolicyBypassCacheOnRequestHeader) MarshalJSON() ([]byte, error) { +func (s BackendServiceCdnPolicyBypassCacheOnRequestHeader) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceCdnPolicyBypassCacheOnRequestHeader - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceCdnPolicyNegativeCachingPolicy: Specify CDN TTLs for response @@ -5702,9 +5710,9 @@ type BackendServiceCdnPolicyNegativeCachingPolicy struct { NullFields []string `json:"-"` } -func (s *BackendServiceCdnPolicyNegativeCachingPolicy) MarshalJSON() ([]byte, error) { +func (s BackendServiceCdnPolicyNegativeCachingPolicy) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceCdnPolicyNegativeCachingPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceConnectionTrackingPolicy: Connection Tracking configuration @@ -5774,9 +5782,9 @@ type BackendServiceConnectionTrackingPolicy struct { NullFields []string `json:"-"` } -func (s *BackendServiceConnectionTrackingPolicy) MarshalJSON() ([]byte, error) { +func (s BackendServiceConnectionTrackingPolicy) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceConnectionTrackingPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceFailoverPolicy: For load balancers that have configurable @@ -5830,9 +5838,9 @@ type BackendServiceFailoverPolicy struct { NullFields []string `json:"-"` } -func (s *BackendServiceFailoverPolicy) MarshalJSON() ([]byte, error) { +func (s BackendServiceFailoverPolicy) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceFailoverPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *BackendServiceFailoverPolicy) UnmarshalJSON(data []byte) error { @@ -5875,9 +5883,36 @@ type BackendServiceGroupHealth struct { NullFields []string `json:"-"` } -func (s *BackendServiceGroupHealth) MarshalJSON() ([]byte, error) { +func (s BackendServiceGroupHealth) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceGroupHealth - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// BackendServiceHttpCookie: The HTTP cookie used for stateful session +// affinity. +type BackendServiceHttpCookie struct { + // Name: Name of the cookie. + Name string `json:"name,omitempty"` + // Path: Path to set for the cookie. + Path string `json:"path,omitempty"` + // Ttl: Lifetime of the cookie. + Ttl *Duration `json:"ttl,omitempty"` + // ForceSendFields is a list of field names (e.g. "Name") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Name") to include in API requests + // with the JSON null value. By default, fields with empty values are omitted + // from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s BackendServiceHttpCookie) MarshalJSON() ([]byte, error) { + type NoMethod BackendServiceHttpCookie + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceIAP: Identity-Aware Proxy @@ -5908,9 +5943,9 @@ type BackendServiceIAP struct { NullFields []string `json:"-"` } -func (s *BackendServiceIAP) MarshalJSON() ([]byte, error) { +func (s BackendServiceIAP) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceIAP - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceList: Contains a list of BackendService resources. @@ -5948,9 +5983,9 @@ type BackendServiceList struct { NullFields []string `json:"-"` } -func (s *BackendServiceList) MarshalJSON() ([]byte, error) { +func (s BackendServiceList) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceListWarning: [Output Only] Informational warning message. @@ -6033,9 +6068,9 @@ type BackendServiceListWarning struct { NullFields []string `json:"-"` } -func (s *BackendServiceListWarning) MarshalJSON() ([]byte, error) { +func (s BackendServiceListWarning) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BackendServiceListWarningData struct { @@ -6062,9 +6097,9 @@ type BackendServiceListWarningData struct { NullFields []string `json:"-"` } -func (s *BackendServiceListWarningData) MarshalJSON() ([]byte, error) { +func (s BackendServiceListWarningData) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceListUsable: Contains a list of usable BackendService @@ -6103,9 +6138,9 @@ type BackendServiceListUsable struct { NullFields []string `json:"-"` } -func (s *BackendServiceListUsable) MarshalJSON() ([]byte, error) { +func (s BackendServiceListUsable) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceListUsable - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceListUsableWarning: [Output Only] Informational warning @@ -6189,9 +6224,9 @@ type BackendServiceListUsableWarning struct { NullFields []string `json:"-"` } -func (s *BackendServiceListUsableWarning) MarshalJSON() ([]byte, error) { +func (s BackendServiceListUsableWarning) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceListUsableWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BackendServiceListUsableWarningData struct { @@ -6218,9 +6253,9 @@ type BackendServiceListUsableWarningData struct { NullFields []string `json:"-"` } -func (s *BackendServiceListUsableWarningData) MarshalJSON() ([]byte, error) { +func (s BackendServiceListUsableWarningData) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceListUsableWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceLocalityLoadBalancingPolicyConfig: Container for either a @@ -6242,9 +6277,9 @@ type BackendServiceLocalityLoadBalancingPolicyConfig struct { NullFields []string `json:"-"` } -func (s *BackendServiceLocalityLoadBalancingPolicyConfig) MarshalJSON() ([]byte, error) { +func (s BackendServiceLocalityLoadBalancingPolicyConfig) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceLocalityLoadBalancingPolicyConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy: The @@ -6275,9 +6310,9 @@ type BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy struct { NullFields []string `json:"-"` } -func (s *BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy) MarshalJSON() ([]byte, error) { +func (s BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceLocalityLoadBalancingPolicyConfigPolicy: The configuration for @@ -6332,9 +6367,9 @@ type BackendServiceLocalityLoadBalancingPolicyConfigPolicy struct { NullFields []string `json:"-"` } -func (s *BackendServiceLocalityLoadBalancingPolicyConfigPolicy) MarshalJSON() ([]byte, error) { +func (s BackendServiceLocalityLoadBalancingPolicyConfigPolicy) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceLocalityLoadBalancingPolicyConfigPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceLogConfig: The available logging options for the load balancer @@ -6378,9 +6413,9 @@ type BackendServiceLogConfig struct { NullFields []string `json:"-"` } -func (s *BackendServiceLogConfig) MarshalJSON() ([]byte, error) { +func (s BackendServiceLogConfig) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceLogConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *BackendServiceLogConfig) UnmarshalJSON(data []byte) error { @@ -6412,12 +6447,15 @@ type BackendServiceReference struct { NullFields []string `json:"-"` } -func (s *BackendServiceReference) MarshalJSON() ([]byte, error) { +func (s BackendServiceReference) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceReference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BackendServiceUsedBy struct { + // Reference: [Output Only] Server-defined URL for resources referencing given + // BackendService like UrlMaps, TargetTcpProxies, TargetSslProxies and + // ForwardingRule. Reference string `json:"reference,omitempty"` // ForceSendFields is a list of field names (e.g. "Reference") to // unconditionally include in API requests. By default, fields with empty or @@ -6432,9 +6470,9 @@ type BackendServiceUsedBy struct { NullFields []string `json:"-"` } -func (s *BackendServiceUsedBy) MarshalJSON() ([]byte, error) { +func (s BackendServiceUsedBy) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceUsedBy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BackendServicesScopedList struct { @@ -6456,9 +6494,9 @@ type BackendServicesScopedList struct { NullFields []string `json:"-"` } -func (s *BackendServicesScopedList) MarshalJSON() ([]byte, error) { +func (s BackendServicesScopedList) MarshalJSON() ([]byte, error) { type NoMethod BackendServicesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServicesScopedListWarning: Informational warning which replaces the @@ -6542,9 +6580,9 @@ type BackendServicesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *BackendServicesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s BackendServicesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod BackendServicesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BackendServicesScopedListWarningData struct { @@ -6571,9 +6609,9 @@ type BackendServicesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *BackendServicesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s BackendServicesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod BackendServicesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BfdPacket struct { @@ -6659,9 +6697,9 @@ type BfdPacket struct { NullFields []string `json:"-"` } -func (s *BfdPacket) MarshalJSON() ([]byte, error) { +func (s BfdPacket) MarshalJSON() ([]byte, error) { type NoMethod BfdPacket - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BfdStatus: Next free: 15 @@ -6735,9 +6773,9 @@ type BfdStatus struct { NullFields []string `json:"-"` } -func (s *BfdStatus) MarshalJSON() ([]byte, error) { +func (s BfdStatus) MarshalJSON() ([]byte, error) { type NoMethod BfdStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BfdStatusPacketCounts struct { @@ -6766,9 +6804,9 @@ type BfdStatusPacketCounts struct { NullFields []string `json:"-"` } -func (s *BfdStatusPacketCounts) MarshalJSON() ([]byte, error) { +func (s BfdStatusPacketCounts) MarshalJSON() ([]byte, error) { type NoMethod BfdStatusPacketCounts - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BgpRoute struct { @@ -6801,9 +6839,9 @@ type BgpRoute struct { NullFields []string `json:"-"` } -func (s *BgpRoute) MarshalJSON() ([]byte, error) { +func (s BgpRoute) MarshalJSON() ([]byte, error) { type NoMethod BgpRoute - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BgpRouteAsPath struct { @@ -6829,9 +6867,9 @@ type BgpRouteAsPath struct { NullFields []string `json:"-"` } -func (s *BgpRouteAsPath) MarshalJSON() ([]byte, error) { +func (s BgpRouteAsPath) MarshalJSON() ([]byte, error) { type NoMethod BgpRouteAsPath - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BgpRouteNetworkLayerReachabilityInformation: Network Layer Reachability @@ -6855,9 +6893,9 @@ type BgpRouteNetworkLayerReachabilityInformation struct { NullFields []string `json:"-"` } -func (s *BgpRouteNetworkLayerReachabilityInformation) MarshalJSON() ([]byte, error) { +func (s BgpRouteNetworkLayerReachabilityInformation) MarshalJSON() ([]byte, error) { type NoMethod BgpRouteNetworkLayerReachabilityInformation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Binding: Associates `members`, or principals, with a `role`. @@ -6956,9 +6994,9 @@ type Binding struct { NullFields []string `json:"-"` } -func (s *Binding) MarshalJSON() ([]byte, error) { +func (s Binding) MarshalJSON() ([]byte, error) { type NoMethod Binding - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BulkInsertDiskResource: A transient resource used in @@ -6985,9 +7023,9 @@ type BulkInsertDiskResource struct { NullFields []string `json:"-"` } -func (s *BulkInsertDiskResource) MarshalJSON() ([]byte, error) { +func (s BulkInsertDiskResource) MarshalJSON() ([]byte, error) { type NoMethod BulkInsertDiskResource - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BulkInsertInstanceResource: A transient resource used in @@ -7047,9 +7085,9 @@ type BulkInsertInstanceResource struct { NullFields []string `json:"-"` } -func (s *BulkInsertInstanceResource) MarshalJSON() ([]byte, error) { +func (s BulkInsertInstanceResource) MarshalJSON() ([]byte, error) { type NoMethod BulkInsertInstanceResource - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BulkInsertInstanceResourcePerInstanceProperties: Per-instance properties to @@ -7073,9 +7111,9 @@ type BulkInsertInstanceResourcePerInstanceProperties struct { NullFields []string `json:"-"` } -func (s *BulkInsertInstanceResourcePerInstanceProperties) MarshalJSON() ([]byte, error) { +func (s BulkInsertInstanceResourcePerInstanceProperties) MarshalJSON() ([]byte, error) { type NoMethod BulkInsertInstanceResourcePerInstanceProperties - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BulkInsertOperationStatus struct { @@ -7110,9 +7148,9 @@ type BulkInsertOperationStatus struct { NullFields []string `json:"-"` } -func (s *BulkInsertOperationStatus) MarshalJSON() ([]byte, error) { +func (s BulkInsertOperationStatus) MarshalJSON() ([]byte, error) { type NoMethod BulkInsertOperationStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BundledLocalSsds struct { @@ -7134,9 +7172,9 @@ type BundledLocalSsds struct { NullFields []string `json:"-"` } -func (s *BundledLocalSsds) MarshalJSON() ([]byte, error) { +func (s BundledLocalSsds) MarshalJSON() ([]byte, error) { type NoMethod BundledLocalSsds - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type CacheInvalidationRule struct { @@ -7157,9 +7195,9 @@ type CacheInvalidationRule struct { NullFields []string `json:"-"` } -func (s *CacheInvalidationRule) MarshalJSON() ([]byte, error) { +func (s CacheInvalidationRule) MarshalJSON() ([]byte, error) { type NoMethod CacheInvalidationRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CacheKeyPolicy: Message containing what to include in the cache key for a @@ -7203,9 +7241,9 @@ type CacheKeyPolicy struct { NullFields []string `json:"-"` } -func (s *CacheKeyPolicy) MarshalJSON() ([]byte, error) { +func (s CacheKeyPolicy) MarshalJSON() ([]byte, error) { type NoMethod CacheKeyPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CircuitBreakers: Settings controlling the volume of requests, connections @@ -7251,9 +7289,9 @@ type CircuitBreakers struct { NullFields []string `json:"-"` } -func (s *CircuitBreakers) MarshalJSON() ([]byte, error) { +func (s CircuitBreakers) MarshalJSON() ([]byte, error) { type NoMethod CircuitBreakers - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Commitment: Represents a regional Commitment resource. Creating a commitment @@ -7366,6 +7404,7 @@ type Commitment struct { // "COMPUTE_OPTIMIZED_C3D" // "COMPUTE_OPTIMIZED_H3" // "GENERAL_PURPOSE" + // "GENERAL_PURPOSE_C4" // "GENERAL_PURPOSE_E2" // "GENERAL_PURPOSE_N2" // "GENERAL_PURPOSE_N2D" @@ -7393,9 +7432,9 @@ type Commitment struct { NullFields []string `json:"-"` } -func (s *Commitment) MarshalJSON() ([]byte, error) { +func (s Commitment) MarshalJSON() ([]byte, error) { type NoMethod Commitment - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type CommitmentAggregatedList struct { @@ -7434,9 +7473,9 @@ type CommitmentAggregatedList struct { NullFields []string `json:"-"` } -func (s *CommitmentAggregatedList) MarshalJSON() ([]byte, error) { +func (s CommitmentAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod CommitmentAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CommitmentAggregatedListWarning: [Output Only] Informational warning @@ -7520,9 +7559,9 @@ type CommitmentAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *CommitmentAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s CommitmentAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod CommitmentAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type CommitmentAggregatedListWarningData struct { @@ -7549,9 +7588,9 @@ type CommitmentAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *CommitmentAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s CommitmentAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod CommitmentAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CommitmentList: Contains a list of Commitment resources. @@ -7589,9 +7628,9 @@ type CommitmentList struct { NullFields []string `json:"-"` } -func (s *CommitmentList) MarshalJSON() ([]byte, error) { +func (s CommitmentList) MarshalJSON() ([]byte, error) { type NoMethod CommitmentList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CommitmentListWarning: [Output Only] Informational warning message. @@ -7674,9 +7713,9 @@ type CommitmentListWarning struct { NullFields []string `json:"-"` } -func (s *CommitmentListWarning) MarshalJSON() ([]byte, error) { +func (s CommitmentListWarning) MarshalJSON() ([]byte, error) { type NoMethod CommitmentListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type CommitmentListWarningData struct { @@ -7703,9 +7742,9 @@ type CommitmentListWarningData struct { NullFields []string `json:"-"` } -func (s *CommitmentListWarningData) MarshalJSON() ([]byte, error) { +func (s CommitmentListWarningData) MarshalJSON() ([]byte, error) { type NoMethod CommitmentListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type CommitmentsScopedList struct { @@ -7727,9 +7766,9 @@ type CommitmentsScopedList struct { NullFields []string `json:"-"` } -func (s *CommitmentsScopedList) MarshalJSON() ([]byte, error) { +func (s CommitmentsScopedList) MarshalJSON() ([]byte, error) { type NoMethod CommitmentsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CommitmentsScopedListWarning: [Output Only] Informational warning which @@ -7813,9 +7852,9 @@ type CommitmentsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *CommitmentsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s CommitmentsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod CommitmentsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type CommitmentsScopedListWarningData struct { @@ -7842,9 +7881,9 @@ type CommitmentsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *CommitmentsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s CommitmentsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod CommitmentsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Condition: This is deprecated and has no effect. Do not use. @@ -7897,9 +7936,9 @@ type Condition struct { NullFields []string `json:"-"` } -func (s *Condition) MarshalJSON() ([]byte, error) { +func (s Condition) MarshalJSON() ([]byte, error) { type NoMethod Condition - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ConfidentialInstanceConfig: A set of Confidential Instance options. @@ -7930,9 +7969,9 @@ type ConfidentialInstanceConfig struct { NullFields []string `json:"-"` } -func (s *ConfidentialInstanceConfig) MarshalJSON() ([]byte, error) { +func (s ConfidentialInstanceConfig) MarshalJSON() ([]byte, error) { type NoMethod ConfidentialInstanceConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ConnectionDraining: Message containing connection draining configuration. @@ -7954,9 +7993,9 @@ type ConnectionDraining struct { NullFields []string `json:"-"` } -func (s *ConnectionDraining) MarshalJSON() ([]byte, error) { +func (s ConnectionDraining) MarshalJSON() ([]byte, error) { type NoMethod ConnectionDraining - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ConsistentHashLoadBalancerSettings: This message defines settings for a @@ -7990,9 +8029,9 @@ type ConsistentHashLoadBalancerSettings struct { NullFields []string `json:"-"` } -func (s *ConsistentHashLoadBalancerSettings) MarshalJSON() ([]byte, error) { +func (s ConsistentHashLoadBalancerSettings) MarshalJSON() ([]byte, error) { type NoMethod ConsistentHashLoadBalancerSettings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ConsistentHashLoadBalancerSettingsHttpCookie: The information about the HTTP @@ -8018,9 +8057,9 @@ type ConsistentHashLoadBalancerSettingsHttpCookie struct { NullFields []string `json:"-"` } -func (s *ConsistentHashLoadBalancerSettingsHttpCookie) MarshalJSON() ([]byte, error) { +func (s ConsistentHashLoadBalancerSettingsHttpCookie) MarshalJSON() ([]byte, error) { type NoMethod ConsistentHashLoadBalancerSettingsHttpCookie - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CorsPolicy: The specification for allowing client-side cross-origin @@ -8069,9 +8108,9 @@ type CorsPolicy struct { NullFields []string `json:"-"` } -func (s *CorsPolicy) MarshalJSON() ([]byte, error) { +func (s CorsPolicy) MarshalJSON() ([]byte, error) { type NoMethod CorsPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CustomErrorResponsePolicy: Specifies the custom error response policy that @@ -8112,9 +8151,9 @@ type CustomErrorResponsePolicy struct { NullFields []string `json:"-"` } -func (s *CustomErrorResponsePolicy) MarshalJSON() ([]byte, error) { +func (s CustomErrorResponsePolicy) MarshalJSON() ([]byte, error) { type NoMethod CustomErrorResponsePolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CustomErrorResponsePolicyCustomErrorResponseRule: Specifies the mapping @@ -8154,9 +8193,9 @@ type CustomErrorResponsePolicyCustomErrorResponseRule struct { NullFields []string `json:"-"` } -func (s *CustomErrorResponsePolicyCustomErrorResponseRule) MarshalJSON() ([]byte, error) { +func (s CustomErrorResponsePolicyCustomErrorResponseRule) MarshalJSON() ([]byte, error) { type NoMethod CustomErrorResponsePolicyCustomErrorResponseRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type CustomerEncryptionKey struct { @@ -8207,9 +8246,9 @@ type CustomerEncryptionKey struct { NullFields []string `json:"-"` } -func (s *CustomerEncryptionKey) MarshalJSON() ([]byte, error) { +func (s CustomerEncryptionKey) MarshalJSON() ([]byte, error) { type NoMethod CustomerEncryptionKey - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type CustomerEncryptionKeyProtectedDisk struct { @@ -8233,9 +8272,9 @@ type CustomerEncryptionKeyProtectedDisk struct { NullFields []string `json:"-"` } -func (s *CustomerEncryptionKeyProtectedDisk) MarshalJSON() ([]byte, error) { +func (s CustomerEncryptionKeyProtectedDisk) MarshalJSON() ([]byte, error) { type NoMethod CustomerEncryptionKeyProtectedDisk - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DeprecationStatus: Deprecation status for a public resource. @@ -8293,9 +8332,9 @@ type DeprecationStatus struct { NullFields []string `json:"-"` } -func (s *DeprecationStatus) MarshalJSON() ([]byte, error) { +func (s DeprecationStatus) MarshalJSON() ([]byte, error) { type NoMethod DeprecationStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Disk: Represents a Persistent Disk resource. Google Compute Engine has two @@ -8625,9 +8664,9 @@ type Disk struct { NullFields []string `json:"-"` } -func (s *Disk) MarshalJSON() ([]byte, error) { +func (s Disk) MarshalJSON() ([]byte, error) { type NoMethod Disk - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskAggregatedList struct { @@ -8666,9 +8705,9 @@ type DiskAggregatedList struct { NullFields []string `json:"-"` } -func (s *DiskAggregatedList) MarshalJSON() ([]byte, error) { +func (s DiskAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod DiskAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DiskAggregatedListWarning: [Output Only] Informational warning message. @@ -8751,9 +8790,9 @@ type DiskAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *DiskAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s DiskAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod DiskAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskAggregatedListWarningData struct { @@ -8780,9 +8819,9 @@ type DiskAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *DiskAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s DiskAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod DiskAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskAsyncReplication struct { @@ -8818,9 +8857,9 @@ type DiskAsyncReplication struct { NullFields []string `json:"-"` } -func (s *DiskAsyncReplication) MarshalJSON() ([]byte, error) { +func (s DiskAsyncReplication) MarshalJSON() ([]byte, error) { type NoMethod DiskAsyncReplication - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskAsyncReplicationList struct { @@ -8838,9 +8877,9 @@ type DiskAsyncReplicationList struct { NullFields []string `json:"-"` } -func (s *DiskAsyncReplicationList) MarshalJSON() ([]byte, error) { +func (s DiskAsyncReplicationList) MarshalJSON() ([]byte, error) { type NoMethod DiskAsyncReplicationList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DiskInstantiationConfig: A specification of the desired way to instantiate a @@ -8903,9 +8942,9 @@ type DiskInstantiationConfig struct { NullFields []string `json:"-"` } -func (s *DiskInstantiationConfig) MarshalJSON() ([]byte, error) { +func (s DiskInstantiationConfig) MarshalJSON() ([]byte, error) { type NoMethod DiskInstantiationConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DiskList: A list of Disk resources. @@ -8943,9 +8982,9 @@ type DiskList struct { NullFields []string `json:"-"` } -func (s *DiskList) MarshalJSON() ([]byte, error) { +func (s DiskList) MarshalJSON() ([]byte, error) { type NoMethod DiskList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DiskListWarning: [Output Only] Informational warning message. @@ -9028,9 +9067,9 @@ type DiskListWarning struct { NullFields []string `json:"-"` } -func (s *DiskListWarning) MarshalJSON() ([]byte, error) { +func (s DiskListWarning) MarshalJSON() ([]byte, error) { type NoMethod DiskListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskListWarningData struct { @@ -9057,9 +9096,9 @@ type DiskListWarningData struct { NullFields []string `json:"-"` } -func (s *DiskListWarningData) MarshalJSON() ([]byte, error) { +func (s DiskListWarningData) MarshalJSON() ([]byte, error) { type NoMethod DiskListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskMoveRequest struct { @@ -9086,9 +9125,9 @@ type DiskMoveRequest struct { NullFields []string `json:"-"` } -func (s *DiskMoveRequest) MarshalJSON() ([]byte, error) { +func (s DiskMoveRequest) MarshalJSON() ([]byte, error) { type NoMethod DiskMoveRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DiskParams: Additional disk params. @@ -9111,9 +9150,9 @@ type DiskParams struct { NullFields []string `json:"-"` } -func (s *DiskParams) MarshalJSON() ([]byte, error) { +func (s DiskParams) MarshalJSON() ([]byte, error) { type NoMethod DiskParams - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskResourceStatus struct { @@ -9133,9 +9172,9 @@ type DiskResourceStatus struct { NullFields []string `json:"-"` } -func (s *DiskResourceStatus) MarshalJSON() ([]byte, error) { +func (s DiskResourceStatus) MarshalJSON() ([]byte, error) { type NoMethod DiskResourceStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskResourceStatusAsyncReplicationStatus struct { @@ -9161,9 +9200,9 @@ type DiskResourceStatusAsyncReplicationStatus struct { NullFields []string `json:"-"` } -func (s *DiskResourceStatusAsyncReplicationStatus) MarshalJSON() ([]byte, error) { +func (s DiskResourceStatusAsyncReplicationStatus) MarshalJSON() ([]byte, error) { type NoMethod DiskResourceStatusAsyncReplicationStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DiskType: Represents a Disk Type resource. Google Compute Engine has two @@ -9222,9 +9261,9 @@ type DiskType struct { NullFields []string `json:"-"` } -func (s *DiskType) MarshalJSON() ([]byte, error) { +func (s DiskType) MarshalJSON() ([]byte, error) { type NoMethod DiskType - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskTypeAggregatedList struct { @@ -9262,9 +9301,9 @@ type DiskTypeAggregatedList struct { NullFields []string `json:"-"` } -func (s *DiskTypeAggregatedList) MarshalJSON() ([]byte, error) { +func (s DiskTypeAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod DiskTypeAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DiskTypeAggregatedListWarning: [Output Only] Informational warning message. @@ -9347,9 +9386,9 @@ type DiskTypeAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *DiskTypeAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s DiskTypeAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod DiskTypeAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskTypeAggregatedListWarningData struct { @@ -9376,9 +9415,9 @@ type DiskTypeAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *DiskTypeAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s DiskTypeAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod DiskTypeAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DiskTypeList: Contains a list of disk types. @@ -9416,9 +9455,9 @@ type DiskTypeList struct { NullFields []string `json:"-"` } -func (s *DiskTypeList) MarshalJSON() ([]byte, error) { +func (s DiskTypeList) MarshalJSON() ([]byte, error) { type NoMethod DiskTypeList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DiskTypeListWarning: [Output Only] Informational warning message. @@ -9501,9 +9540,9 @@ type DiskTypeListWarning struct { NullFields []string `json:"-"` } -func (s *DiskTypeListWarning) MarshalJSON() ([]byte, error) { +func (s DiskTypeListWarning) MarshalJSON() ([]byte, error) { type NoMethod DiskTypeListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskTypeListWarningData struct { @@ -9530,9 +9569,9 @@ type DiskTypeListWarningData struct { NullFields []string `json:"-"` } -func (s *DiskTypeListWarningData) MarshalJSON() ([]byte, error) { +func (s DiskTypeListWarningData) MarshalJSON() ([]byte, error) { type NoMethod DiskTypeListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskTypesScopedList struct { @@ -9554,9 +9593,9 @@ type DiskTypesScopedList struct { NullFields []string `json:"-"` } -func (s *DiskTypesScopedList) MarshalJSON() ([]byte, error) { +func (s DiskTypesScopedList) MarshalJSON() ([]byte, error) { type NoMethod DiskTypesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DiskTypesScopedListWarning: [Output Only] Informational warning which @@ -9640,9 +9679,9 @@ type DiskTypesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *DiskTypesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s DiskTypesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod DiskTypesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskTypesScopedListWarningData struct { @@ -9669,9 +9708,9 @@ type DiskTypesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *DiskTypesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s DiskTypesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod DiskTypesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DisksAddResourcePoliciesRequest struct { @@ -9691,9 +9730,9 @@ type DisksAddResourcePoliciesRequest struct { NullFields []string `json:"-"` } -func (s *DisksAddResourcePoliciesRequest) MarshalJSON() ([]byte, error) { +func (s DisksAddResourcePoliciesRequest) MarshalJSON() ([]byte, error) { type NoMethod DisksAddResourcePoliciesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DisksRemoveResourcePoliciesRequest struct { @@ -9712,9 +9751,9 @@ type DisksRemoveResourcePoliciesRequest struct { NullFields []string `json:"-"` } -func (s *DisksRemoveResourcePoliciesRequest) MarshalJSON() ([]byte, error) { +func (s DisksRemoveResourcePoliciesRequest) MarshalJSON() ([]byte, error) { type NoMethod DisksRemoveResourcePoliciesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DisksResizeRequest struct { @@ -9733,9 +9772,9 @@ type DisksResizeRequest struct { NullFields []string `json:"-"` } -func (s *DisksResizeRequest) MarshalJSON() ([]byte, error) { +func (s DisksResizeRequest) MarshalJSON() ([]byte, error) { type NoMethod DisksResizeRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DisksScopedList struct { @@ -9757,9 +9796,9 @@ type DisksScopedList struct { NullFields []string `json:"-"` } -func (s *DisksScopedList) MarshalJSON() ([]byte, error) { +func (s DisksScopedList) MarshalJSON() ([]byte, error) { type NoMethod DisksScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DisksScopedListWarning: [Output Only] Informational warning which replaces @@ -9843,9 +9882,9 @@ type DisksScopedListWarning struct { NullFields []string `json:"-"` } -func (s *DisksScopedListWarning) MarshalJSON() ([]byte, error) { +func (s DisksScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod DisksScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DisksScopedListWarningData struct { @@ -9872,9 +9911,9 @@ type DisksScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *DisksScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s DisksScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod DisksScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DisksStartAsyncReplicationRequest struct { @@ -9901,9 +9940,9 @@ type DisksStartAsyncReplicationRequest struct { NullFields []string `json:"-"` } -func (s *DisksStartAsyncReplicationRequest) MarshalJSON() ([]byte, error) { +func (s DisksStartAsyncReplicationRequest) MarshalJSON() ([]byte, error) { type NoMethod DisksStartAsyncReplicationRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DisksStopGroupAsyncReplicationResource: A transient resource used in @@ -9931,9 +9970,9 @@ type DisksStopGroupAsyncReplicationResource struct { NullFields []string `json:"-"` } -func (s *DisksStopGroupAsyncReplicationResource) MarshalJSON() ([]byte, error) { +func (s DisksStopGroupAsyncReplicationResource) MarshalJSON() ([]byte, error) { type NoMethod DisksStopGroupAsyncReplicationResource - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DisplayDevice: A set of Display Device options @@ -9953,9 +9992,9 @@ type DisplayDevice struct { NullFields []string `json:"-"` } -func (s *DisplayDevice) MarshalJSON() ([]byte, error) { +func (s DisplayDevice) MarshalJSON() ([]byte, error) { type NoMethod DisplayDevice - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DistributionPolicy struct { @@ -9998,9 +10037,9 @@ type DistributionPolicy struct { NullFields []string `json:"-"` } -func (s *DistributionPolicy) MarshalJSON() ([]byte, error) { +func (s DistributionPolicy) MarshalJSON() ([]byte, error) { type NoMethod DistributionPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DistributionPolicyZoneConfiguration struct { @@ -10020,9 +10059,9 @@ type DistributionPolicyZoneConfiguration struct { NullFields []string `json:"-"` } -func (s *DistributionPolicyZoneConfiguration) MarshalJSON() ([]byte, error) { +func (s DistributionPolicyZoneConfiguration) MarshalJSON() ([]byte, error) { type NoMethod DistributionPolicyZoneConfiguration - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Duration: A Duration represents a fixed-length span of time represented as a @@ -10051,9 +10090,9 @@ type Duration struct { NullFields []string `json:"-"` } -func (s *Duration) MarshalJSON() ([]byte, error) { +func (s Duration) MarshalJSON() ([]byte, error) { type NoMethod Duration - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ErrorInfo: Describes the cause of the error with structured details. Example @@ -10099,9 +10138,9 @@ type ErrorInfo struct { NullFields []string `json:"-"` } -func (s *ErrorInfo) MarshalJSON() ([]byte, error) { +func (s ErrorInfo) MarshalJSON() ([]byte, error) { type NoMethod ErrorInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ExchangedPeeringRoute struct { @@ -10138,9 +10177,9 @@ type ExchangedPeeringRoute struct { NullFields []string `json:"-"` } -func (s *ExchangedPeeringRoute) MarshalJSON() ([]byte, error) { +func (s ExchangedPeeringRoute) MarshalJSON() ([]byte, error) { type NoMethod ExchangedPeeringRoute - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ExchangedPeeringRoutesList struct { @@ -10177,9 +10216,9 @@ type ExchangedPeeringRoutesList struct { NullFields []string `json:"-"` } -func (s *ExchangedPeeringRoutesList) MarshalJSON() ([]byte, error) { +func (s ExchangedPeeringRoutesList) MarshalJSON() ([]byte, error) { type NoMethod ExchangedPeeringRoutesList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ExchangedPeeringRoutesListWarning: [Output Only] Informational warning @@ -10263,9 +10302,9 @@ type ExchangedPeeringRoutesListWarning struct { NullFields []string `json:"-"` } -func (s *ExchangedPeeringRoutesListWarning) MarshalJSON() ([]byte, error) { +func (s ExchangedPeeringRoutesListWarning) MarshalJSON() ([]byte, error) { type NoMethod ExchangedPeeringRoutesListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ExchangedPeeringRoutesListWarningData struct { @@ -10292,9 +10331,9 @@ type ExchangedPeeringRoutesListWarningData struct { NullFields []string `json:"-"` } -func (s *ExchangedPeeringRoutesListWarningData) MarshalJSON() ([]byte, error) { +func (s ExchangedPeeringRoutesListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ExchangedPeeringRoutesListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Expr: Represents a textual expression in the Common Expression Language @@ -10340,9 +10379,9 @@ type Expr struct { NullFields []string `json:"-"` } -func (s *Expr) MarshalJSON() ([]byte, error) { +func (s Expr) MarshalJSON() ([]byte, error) { type NoMethod Expr - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ExternalVpnGateway: Represents an external VPN gateway. External VPN gateway @@ -10435,9 +10474,9 @@ type ExternalVpnGateway struct { NullFields []string `json:"-"` } -func (s *ExternalVpnGateway) MarshalJSON() ([]byte, error) { +func (s ExternalVpnGateway) MarshalJSON() ([]byte, error) { type NoMethod ExternalVpnGateway - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ExternalVpnGatewayInterface: The interface for the external VPN gateway. @@ -10472,9 +10511,9 @@ type ExternalVpnGatewayInterface struct { NullFields []string `json:"-"` } -func (s *ExternalVpnGatewayInterface) MarshalJSON() ([]byte, error) { +func (s ExternalVpnGatewayInterface) MarshalJSON() ([]byte, error) { type NoMethod ExternalVpnGatewayInterface - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ExternalVpnGatewayList: Response to the list request, and contains a list of @@ -10514,9 +10553,9 @@ type ExternalVpnGatewayList struct { NullFields []string `json:"-"` } -func (s *ExternalVpnGatewayList) MarshalJSON() ([]byte, error) { +func (s ExternalVpnGatewayList) MarshalJSON() ([]byte, error) { type NoMethod ExternalVpnGatewayList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ExternalVpnGatewayListWarning: [Output Only] Informational warning message. @@ -10599,9 +10638,9 @@ type ExternalVpnGatewayListWarning struct { NullFields []string `json:"-"` } -func (s *ExternalVpnGatewayListWarning) MarshalJSON() ([]byte, error) { +func (s ExternalVpnGatewayListWarning) MarshalJSON() ([]byte, error) { type NoMethod ExternalVpnGatewayListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ExternalVpnGatewayListWarningData struct { @@ -10628,9 +10667,9 @@ type ExternalVpnGatewayListWarningData struct { NullFields []string `json:"-"` } -func (s *ExternalVpnGatewayListWarningData) MarshalJSON() ([]byte, error) { +func (s ExternalVpnGatewayListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ExternalVpnGatewayListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FileContentBuffer struct { @@ -10656,9 +10695,9 @@ type FileContentBuffer struct { NullFields []string `json:"-"` } -func (s *FileContentBuffer) MarshalJSON() ([]byte, error) { +func (s FileContentBuffer) MarshalJSON() ([]byte, error) { type NoMethod FileContentBuffer - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Firewall: Represents a Firewall Rule resource. Firewall rules allow or deny @@ -10796,9 +10835,9 @@ type Firewall struct { NullFields []string `json:"-"` } -func (s *Firewall) MarshalJSON() ([]byte, error) { +func (s Firewall) MarshalJSON() ([]byte, error) { type NoMethod Firewall - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FirewallAllowed struct { @@ -10826,9 +10865,9 @@ type FirewallAllowed struct { NullFields []string `json:"-"` } -func (s *FirewallAllowed) MarshalJSON() ([]byte, error) { +func (s FirewallAllowed) MarshalJSON() ([]byte, error) { type NoMethod FirewallAllowed - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FirewallDenied struct { @@ -10856,9 +10895,9 @@ type FirewallDenied struct { NullFields []string `json:"-"` } -func (s *FirewallDenied) MarshalJSON() ([]byte, error) { +func (s FirewallDenied) MarshalJSON() ([]byte, error) { type NoMethod FirewallDenied - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FirewallList: Contains a list of firewalls. @@ -10896,9 +10935,9 @@ type FirewallList struct { NullFields []string `json:"-"` } -func (s *FirewallList) MarshalJSON() ([]byte, error) { +func (s FirewallList) MarshalJSON() ([]byte, error) { type NoMethod FirewallList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FirewallListWarning: [Output Only] Informational warning message. @@ -10981,9 +11020,9 @@ type FirewallListWarning struct { NullFields []string `json:"-"` } -func (s *FirewallListWarning) MarshalJSON() ([]byte, error) { +func (s FirewallListWarning) MarshalJSON() ([]byte, error) { type NoMethod FirewallListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FirewallListWarningData struct { @@ -11010,9 +11049,9 @@ type FirewallListWarningData struct { NullFields []string `json:"-"` } -func (s *FirewallListWarningData) MarshalJSON() ([]byte, error) { +func (s FirewallListWarningData) MarshalJSON() ([]byte, error) { type NoMethod FirewallListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FirewallLogConfig: The available logging options for a firewall rule. @@ -11041,9 +11080,9 @@ type FirewallLogConfig struct { NullFields []string `json:"-"` } -func (s *FirewallLogConfig) MarshalJSON() ([]byte, error) { +func (s FirewallLogConfig) MarshalJSON() ([]byte, error) { type NoMethod FirewallLogConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FirewallPoliciesListAssociationsResponse struct { @@ -11069,9 +11108,9 @@ type FirewallPoliciesListAssociationsResponse struct { NullFields []string `json:"-"` } -func (s *FirewallPoliciesListAssociationsResponse) MarshalJSON() ([]byte, error) { +func (s FirewallPoliciesListAssociationsResponse) MarshalJSON() ([]byte, error) { type NoMethod FirewallPoliciesListAssociationsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FirewallPolicy: Represents a Firewall Policy resource. @@ -11112,6 +11151,9 @@ type FirewallPolicy struct { // [Output Only] numeric ID allocated by Google Cloud which uniquely identifies // the Organization Firewall Policy. Name string `json:"name,omitempty"` + // PacketMirroringRules: A list of packet mirroring rules that belong to this + // policy. + PacketMirroringRules []*FirewallPolicyRule `json:"packetMirroringRules,omitempty"` // Parent: [Output Only] The parent of the firewall policy. This field is not // applicable to network firewall policies. Parent string `json:"parent,omitempty"` @@ -11159,9 +11201,9 @@ type FirewallPolicy struct { NullFields []string `json:"-"` } -func (s *FirewallPolicy) MarshalJSON() ([]byte, error) { +func (s FirewallPolicy) MarshalJSON() ([]byte, error) { type NoMethod FirewallPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FirewallPolicyAssociation struct { @@ -11193,9 +11235,9 @@ type FirewallPolicyAssociation struct { NullFields []string `json:"-"` } -func (s *FirewallPolicyAssociation) MarshalJSON() ([]byte, error) { +func (s FirewallPolicyAssociation) MarshalJSON() ([]byte, error) { type NoMethod FirewallPolicyAssociation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FirewallPolicyList struct { @@ -11230,9 +11272,9 @@ type FirewallPolicyList struct { NullFields []string `json:"-"` } -func (s *FirewallPolicyList) MarshalJSON() ([]byte, error) { +func (s FirewallPolicyList) MarshalJSON() ([]byte, error) { type NoMethod FirewallPolicyList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FirewallPolicyListWarning: [Output Only] Informational warning message. @@ -11315,9 +11357,9 @@ type FirewallPolicyListWarning struct { NullFields []string `json:"-"` } -func (s *FirewallPolicyListWarning) MarshalJSON() ([]byte, error) { +func (s FirewallPolicyListWarning) MarshalJSON() ([]byte, error) { type NoMethod FirewallPolicyListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FirewallPolicyListWarningData struct { @@ -11344,9 +11386,9 @@ type FirewallPolicyListWarningData struct { NullFields []string `json:"-"` } -func (s *FirewallPolicyListWarningData) MarshalJSON() ([]byte, error) { +func (s FirewallPolicyListWarningData) MarshalJSON() ([]byte, error) { type NoMethod FirewallPolicyListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FirewallPolicyRule: Represents a rule that describes one or more match @@ -11433,9 +11475,9 @@ type FirewallPolicyRule struct { NullFields []string `json:"-"` } -func (s *FirewallPolicyRule) MarshalJSON() ([]byte, error) { +func (s FirewallPolicyRule) MarshalJSON() ([]byte, error) { type NoMethod FirewallPolicyRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FirewallPolicyRuleMatcher: Represents a match condition that incoming @@ -11496,9 +11538,9 @@ type FirewallPolicyRuleMatcher struct { NullFields []string `json:"-"` } -func (s *FirewallPolicyRuleMatcher) MarshalJSON() ([]byte, error) { +func (s FirewallPolicyRuleMatcher) MarshalJSON() ([]byte, error) { type NoMethod FirewallPolicyRuleMatcher - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FirewallPolicyRuleMatcherLayer4Config struct { @@ -11526,9 +11568,9 @@ type FirewallPolicyRuleMatcherLayer4Config struct { NullFields []string `json:"-"` } -func (s *FirewallPolicyRuleMatcherLayer4Config) MarshalJSON() ([]byte, error) { +func (s FirewallPolicyRuleMatcherLayer4Config) MarshalJSON() ([]byte, error) { type NoMethod FirewallPolicyRuleMatcherLayer4Config - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FirewallPolicyRuleSecureTag struct { @@ -11555,9 +11597,9 @@ type FirewallPolicyRuleSecureTag struct { NullFields []string `json:"-"` } -func (s *FirewallPolicyRuleSecureTag) MarshalJSON() ([]byte, error) { +func (s FirewallPolicyRuleSecureTag) MarshalJSON() ([]byte, error) { type NoMethod FirewallPolicyRuleSecureTag - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FixedOrPercent: Encapsulates numeric value that can be either absolute or @@ -11589,9 +11631,9 @@ type FixedOrPercent struct { NullFields []string `json:"-"` } -func (s *FixedOrPercent) MarshalJSON() ([]byte, error) { +func (s FixedOrPercent) MarshalJSON() ([]byte, error) { type NoMethod FixedOrPercent - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ForwardingRule: Represents a Forwarding Rule resource. Forwarding rule @@ -11912,9 +11954,9 @@ type ForwardingRule struct { NullFields []string `json:"-"` } -func (s *ForwardingRule) MarshalJSON() ([]byte, error) { +func (s ForwardingRule) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ForwardingRuleAggregatedList struct { @@ -11953,9 +11995,9 @@ type ForwardingRuleAggregatedList struct { NullFields []string `json:"-"` } -func (s *ForwardingRuleAggregatedList) MarshalJSON() ([]byte, error) { +func (s ForwardingRuleAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRuleAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ForwardingRuleAggregatedListWarning: [Output Only] Informational warning @@ -12039,9 +12081,9 @@ type ForwardingRuleAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *ForwardingRuleAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s ForwardingRuleAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRuleAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ForwardingRuleAggregatedListWarningData struct { @@ -12068,9 +12110,9 @@ type ForwardingRuleAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *ForwardingRuleAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s ForwardingRuleAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRuleAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ForwardingRuleList: Contains a list of ForwardingRule resources. @@ -12107,9 +12149,9 @@ type ForwardingRuleList struct { NullFields []string `json:"-"` } -func (s *ForwardingRuleList) MarshalJSON() ([]byte, error) { +func (s ForwardingRuleList) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRuleList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ForwardingRuleListWarning: [Output Only] Informational warning message. @@ -12192,9 +12234,9 @@ type ForwardingRuleListWarning struct { NullFields []string `json:"-"` } -func (s *ForwardingRuleListWarning) MarshalJSON() ([]byte, error) { +func (s ForwardingRuleListWarning) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRuleListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ForwardingRuleListWarningData struct { @@ -12221,9 +12263,9 @@ type ForwardingRuleListWarningData struct { NullFields []string `json:"-"` } -func (s *ForwardingRuleListWarningData) MarshalJSON() ([]byte, error) { +func (s ForwardingRuleListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRuleListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ForwardingRuleReference struct { @@ -12241,9 +12283,9 @@ type ForwardingRuleReference struct { NullFields []string `json:"-"` } -func (s *ForwardingRuleReference) MarshalJSON() ([]byte, error) { +func (s ForwardingRuleReference) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRuleReference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ForwardingRuleServiceDirectoryRegistration: Describes the auto-registration @@ -12274,9 +12316,9 @@ type ForwardingRuleServiceDirectoryRegistration struct { NullFields []string `json:"-"` } -func (s *ForwardingRuleServiceDirectoryRegistration) MarshalJSON() ([]byte, error) { +func (s ForwardingRuleServiceDirectoryRegistration) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRuleServiceDirectoryRegistration - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ForwardingRulesScopedList struct { @@ -12298,9 +12340,9 @@ type ForwardingRulesScopedList struct { NullFields []string `json:"-"` } -func (s *ForwardingRulesScopedList) MarshalJSON() ([]byte, error) { +func (s ForwardingRulesScopedList) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRulesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ForwardingRulesScopedListWarning: Informational warning which replaces the @@ -12384,9 +12426,9 @@ type ForwardingRulesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *ForwardingRulesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s ForwardingRulesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRulesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ForwardingRulesScopedListWarningData struct { @@ -12413,9 +12455,9 @@ type ForwardingRulesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *ForwardingRulesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s ForwardingRulesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRulesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FutureReservation struct { @@ -12504,9 +12546,9 @@ type FutureReservation struct { NullFields []string `json:"-"` } -func (s *FutureReservation) MarshalJSON() ([]byte, error) { +func (s FutureReservation) MarshalJSON() ([]byte, error) { type NoMethod FutureReservation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FutureReservationSpecificSKUProperties struct { @@ -12531,9 +12573,9 @@ type FutureReservationSpecificSKUProperties struct { NullFields []string `json:"-"` } -func (s *FutureReservationSpecificSKUProperties) MarshalJSON() ([]byte, error) { +func (s FutureReservationSpecificSKUProperties) MarshalJSON() ([]byte, error) { type NoMethod FutureReservationSpecificSKUProperties - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FutureReservationStatus: [Output only] Represents status related to the @@ -12612,9 +12654,9 @@ type FutureReservationStatus struct { NullFields []string `json:"-"` } -func (s *FutureReservationStatus) MarshalJSON() ([]byte, error) { +func (s FutureReservationStatus) MarshalJSON() ([]byte, error) { type NoMethod FutureReservationStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FutureReservationStatusLastKnownGoodState: The state that the future @@ -12672,9 +12714,9 @@ type FutureReservationStatusLastKnownGoodState struct { NullFields []string `json:"-"` } -func (s *FutureReservationStatusLastKnownGoodState) MarshalJSON() ([]byte, error) { +func (s FutureReservationStatusLastKnownGoodState) MarshalJSON() ([]byte, error) { type NoMethod FutureReservationStatusLastKnownGoodState - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FutureReservationStatusLastKnownGoodStateFutureReservationSpecs: The @@ -12702,9 +12744,9 @@ type FutureReservationStatusLastKnownGoodStateFutureReservationSpecs struct { NullFields []string `json:"-"` } -func (s *FutureReservationStatusLastKnownGoodStateFutureReservationSpecs) MarshalJSON() ([]byte, error) { +func (s FutureReservationStatusLastKnownGoodStateFutureReservationSpecs) MarshalJSON() ([]byte, error) { type NoMethod FutureReservationStatusLastKnownGoodStateFutureReservationSpecs - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FutureReservationStatusSpecificSKUProperties: Properties to be set for the @@ -12726,9 +12768,9 @@ type FutureReservationStatusSpecificSKUProperties struct { NullFields []string `json:"-"` } -func (s *FutureReservationStatusSpecificSKUProperties) MarshalJSON() ([]byte, error) { +func (s FutureReservationStatusSpecificSKUProperties) MarshalJSON() ([]byte, error) { type NoMethod FutureReservationStatusSpecificSKUProperties - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FutureReservationTimeWindow struct { @@ -12750,9 +12792,9 @@ type FutureReservationTimeWindow struct { NullFields []string `json:"-"` } -func (s *FutureReservationTimeWindow) MarshalJSON() ([]byte, error) { +func (s FutureReservationTimeWindow) MarshalJSON() ([]byte, error) { type NoMethod FutureReservationTimeWindow - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FutureReservationsAggregatedListResponse: Contains a list of future @@ -12795,9 +12837,9 @@ type FutureReservationsAggregatedListResponse struct { NullFields []string `json:"-"` } -func (s *FutureReservationsAggregatedListResponse) MarshalJSON() ([]byte, error) { +func (s FutureReservationsAggregatedListResponse) MarshalJSON() ([]byte, error) { type NoMethod FutureReservationsAggregatedListResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FutureReservationsAggregatedListResponseWarning: [Output Only] Informational @@ -12881,9 +12923,9 @@ type FutureReservationsAggregatedListResponseWarning struct { NullFields []string `json:"-"` } -func (s *FutureReservationsAggregatedListResponseWarning) MarshalJSON() ([]byte, error) { +func (s FutureReservationsAggregatedListResponseWarning) MarshalJSON() ([]byte, error) { type NoMethod FutureReservationsAggregatedListResponseWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FutureReservationsAggregatedListResponseWarningData struct { @@ -12910,9 +12952,9 @@ type FutureReservationsAggregatedListResponseWarningData struct { NullFields []string `json:"-"` } -func (s *FutureReservationsAggregatedListResponseWarningData) MarshalJSON() ([]byte, error) { +func (s FutureReservationsAggregatedListResponseWarningData) MarshalJSON() ([]byte, error) { type NoMethod FutureReservationsAggregatedListResponseWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FutureReservationsListResponse struct { @@ -12953,9 +12995,9 @@ type FutureReservationsListResponse struct { NullFields []string `json:"-"` } -func (s *FutureReservationsListResponse) MarshalJSON() ([]byte, error) { +func (s FutureReservationsListResponse) MarshalJSON() ([]byte, error) { type NoMethod FutureReservationsListResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FutureReservationsListResponseWarning: [Output Only] Informational warning @@ -13039,9 +13081,9 @@ type FutureReservationsListResponseWarning struct { NullFields []string `json:"-"` } -func (s *FutureReservationsListResponseWarning) MarshalJSON() ([]byte, error) { +func (s FutureReservationsListResponseWarning) MarshalJSON() ([]byte, error) { type NoMethod FutureReservationsListResponseWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FutureReservationsListResponseWarningData struct { @@ -13068,9 +13110,9 @@ type FutureReservationsListResponseWarningData struct { NullFields []string `json:"-"` } -func (s *FutureReservationsListResponseWarningData) MarshalJSON() ([]byte, error) { +func (s FutureReservationsListResponseWarningData) MarshalJSON() ([]byte, error) { type NoMethod FutureReservationsListResponseWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FutureReservationsScopedList struct { @@ -13092,9 +13134,9 @@ type FutureReservationsScopedList struct { NullFields []string `json:"-"` } -func (s *FutureReservationsScopedList) MarshalJSON() ([]byte, error) { +func (s FutureReservationsScopedList) MarshalJSON() ([]byte, error) { type NoMethod FutureReservationsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FutureReservationsScopedListWarning: Informational warning which replaces @@ -13178,9 +13220,9 @@ type FutureReservationsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *FutureReservationsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s FutureReservationsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod FutureReservationsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FutureReservationsScopedListWarningData struct { @@ -13207,9 +13249,9 @@ type FutureReservationsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *FutureReservationsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s FutureReservationsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod FutureReservationsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type GRPCHealthCheck struct { @@ -13268,9 +13310,9 @@ type GRPCHealthCheck struct { NullFields []string `json:"-"` } -func (s *GRPCHealthCheck) MarshalJSON() ([]byte, error) { +func (s GRPCHealthCheck) MarshalJSON() ([]byte, error) { type NoMethod GRPCHealthCheck - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type GlobalAddressesMoveRequest struct { @@ -13297,9 +13339,9 @@ type GlobalAddressesMoveRequest struct { NullFields []string `json:"-"` } -func (s *GlobalAddressesMoveRequest) MarshalJSON() ([]byte, error) { +func (s GlobalAddressesMoveRequest) MarshalJSON() ([]byte, error) { type NoMethod GlobalAddressesMoveRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type GlobalNetworkEndpointGroupsAttachEndpointsRequest struct { @@ -13318,9 +13360,9 @@ type GlobalNetworkEndpointGroupsAttachEndpointsRequest struct { NullFields []string `json:"-"` } -func (s *GlobalNetworkEndpointGroupsAttachEndpointsRequest) MarshalJSON() ([]byte, error) { +func (s GlobalNetworkEndpointGroupsAttachEndpointsRequest) MarshalJSON() ([]byte, error) { type NoMethod GlobalNetworkEndpointGroupsAttachEndpointsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type GlobalNetworkEndpointGroupsDetachEndpointsRequest struct { @@ -13339,9 +13381,9 @@ type GlobalNetworkEndpointGroupsDetachEndpointsRequest struct { NullFields []string `json:"-"` } -func (s *GlobalNetworkEndpointGroupsDetachEndpointsRequest) MarshalJSON() ([]byte, error) { +func (s GlobalNetworkEndpointGroupsDetachEndpointsRequest) MarshalJSON() ([]byte, error) { type NoMethod GlobalNetworkEndpointGroupsDetachEndpointsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type GlobalOrganizationSetPolicyRequest struct { @@ -13369,9 +13411,9 @@ type GlobalOrganizationSetPolicyRequest struct { NullFields []string `json:"-"` } -func (s *GlobalOrganizationSetPolicyRequest) MarshalJSON() ([]byte, error) { +func (s GlobalOrganizationSetPolicyRequest) MarshalJSON() ([]byte, error) { type NoMethod GlobalOrganizationSetPolicyRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type GlobalSetLabelsRequest struct { @@ -13400,9 +13442,9 @@ type GlobalSetLabelsRequest struct { NullFields []string `json:"-"` } -func (s *GlobalSetLabelsRequest) MarshalJSON() ([]byte, error) { +func (s GlobalSetLabelsRequest) MarshalJSON() ([]byte, error) { type NoMethod GlobalSetLabelsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type GlobalSetPolicyRequest struct { @@ -13430,9 +13472,9 @@ type GlobalSetPolicyRequest struct { NullFields []string `json:"-"` } -func (s *GlobalSetPolicyRequest) MarshalJSON() ([]byte, error) { +func (s GlobalSetPolicyRequest) MarshalJSON() ([]byte, error) { type NoMethod GlobalSetPolicyRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GuestAttributes: A guest attributes entry. @@ -13467,9 +13509,9 @@ type GuestAttributes struct { NullFields []string `json:"-"` } -func (s *GuestAttributes) MarshalJSON() ([]byte, error) { +func (s GuestAttributes) MarshalJSON() ([]byte, error) { type NoMethod GuestAttributes - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GuestAttributesEntry: A guest attributes namespace/key/value entry. @@ -13493,9 +13535,9 @@ type GuestAttributesEntry struct { NullFields []string `json:"-"` } -func (s *GuestAttributesEntry) MarshalJSON() ([]byte, error) { +func (s GuestAttributesEntry) MarshalJSON() ([]byte, error) { type NoMethod GuestAttributesEntry - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GuestAttributesValue: Array of guest attribute namespace/key/value tuples. @@ -13514,9 +13556,9 @@ type GuestAttributesValue struct { NullFields []string `json:"-"` } -func (s *GuestAttributesValue) MarshalJSON() ([]byte, error) { +func (s GuestAttributesValue) MarshalJSON() ([]byte, error) { type NoMethod GuestAttributesValue - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GuestOsFeature: Guest OS features. @@ -13556,9 +13598,9 @@ type GuestOsFeature struct { NullFields []string `json:"-"` } -func (s *GuestOsFeature) MarshalJSON() ([]byte, error) { +func (s GuestOsFeature) MarshalJSON() ([]byte, error) { type NoMethod GuestOsFeature - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HTTP2HealthCheck struct { @@ -13632,9 +13674,9 @@ type HTTP2HealthCheck struct { NullFields []string `json:"-"` } -func (s *HTTP2HealthCheck) MarshalJSON() ([]byte, error) { +func (s HTTP2HealthCheck) MarshalJSON() ([]byte, error) { type NoMethod HTTP2HealthCheck - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HTTPHealthCheck struct { @@ -13709,9 +13751,9 @@ type HTTPHealthCheck struct { NullFields []string `json:"-"` } -func (s *HTTPHealthCheck) MarshalJSON() ([]byte, error) { +func (s HTTPHealthCheck) MarshalJSON() ([]byte, error) { type NoMethod HTTPHealthCheck - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HTTPSHealthCheck struct { @@ -13785,9 +13827,9 @@ type HTTPSHealthCheck struct { NullFields []string `json:"-"` } -func (s *HTTPSHealthCheck) MarshalJSON() ([]byte, error) { +func (s HTTPSHealthCheck) MarshalJSON() ([]byte, error) { type NoMethod HTTPSHealthCheck - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HealthCheck: Represents a health check resource. Google Compute Engine has @@ -13888,9 +13930,9 @@ type HealthCheck struct { NullFields []string `json:"-"` } -func (s *HealthCheck) MarshalJSON() ([]byte, error) { +func (s HealthCheck) MarshalJSON() ([]byte, error) { type NoMethod HealthCheck - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HealthCheckList: Contains a list of HealthCheck resources. @@ -13927,9 +13969,9 @@ type HealthCheckList struct { NullFields []string `json:"-"` } -func (s *HealthCheckList) MarshalJSON() ([]byte, error) { +func (s HealthCheckList) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HealthCheckListWarning: [Output Only] Informational warning message. @@ -14012,9 +14054,9 @@ type HealthCheckListWarning struct { NullFields []string `json:"-"` } -func (s *HealthCheckListWarning) MarshalJSON() ([]byte, error) { +func (s HealthCheckListWarning) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HealthCheckListWarningData struct { @@ -14041,9 +14083,9 @@ type HealthCheckListWarningData struct { NullFields []string `json:"-"` } -func (s *HealthCheckListWarningData) MarshalJSON() ([]byte, error) { +func (s HealthCheckListWarningData) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HealthCheckLogConfig: Configuration of logging on a health check. If logging @@ -14065,9 +14107,9 @@ type HealthCheckLogConfig struct { NullFields []string `json:"-"` } -func (s *HealthCheckLogConfig) MarshalJSON() ([]byte, error) { +func (s HealthCheckLogConfig) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckLogConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HealthCheckReference: A full or valid partial URL to a health check. For @@ -14090,9 +14132,9 @@ type HealthCheckReference struct { NullFields []string `json:"-"` } -func (s *HealthCheckReference) MarshalJSON() ([]byte, error) { +func (s HealthCheckReference) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckReference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HealthCheckService: Represents a Health-Check as a Service resource. @@ -14205,9 +14247,9 @@ type HealthCheckService struct { NullFields []string `json:"-"` } -func (s *HealthCheckService) MarshalJSON() ([]byte, error) { +func (s HealthCheckService) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckService - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HealthCheckServiceReference: A full or valid partial URL to a health check @@ -14231,9 +14273,9 @@ type HealthCheckServiceReference struct { NullFields []string `json:"-"` } -func (s *HealthCheckServiceReference) MarshalJSON() ([]byte, error) { +func (s HealthCheckServiceReference) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckServiceReference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HealthCheckServicesList struct { @@ -14270,9 +14312,9 @@ type HealthCheckServicesList struct { NullFields []string `json:"-"` } -func (s *HealthCheckServicesList) MarshalJSON() ([]byte, error) { +func (s HealthCheckServicesList) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckServicesList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HealthCheckServicesListWarning: [Output Only] Informational warning message. @@ -14355,9 +14397,9 @@ type HealthCheckServicesListWarning struct { NullFields []string `json:"-"` } -func (s *HealthCheckServicesListWarning) MarshalJSON() ([]byte, error) { +func (s HealthCheckServicesListWarning) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckServicesListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HealthCheckServicesListWarningData struct { @@ -14384,9 +14426,9 @@ type HealthCheckServicesListWarningData struct { NullFields []string `json:"-"` } -func (s *HealthCheckServicesListWarningData) MarshalJSON() ([]byte, error) { +func (s HealthCheckServicesListWarningData) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckServicesListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HealthChecksAggregatedList struct { @@ -14424,9 +14466,9 @@ type HealthChecksAggregatedList struct { NullFields []string `json:"-"` } -func (s *HealthChecksAggregatedList) MarshalJSON() ([]byte, error) { +func (s HealthChecksAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod HealthChecksAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HealthChecksAggregatedListWarning: [Output Only] Informational warning @@ -14510,9 +14552,9 @@ type HealthChecksAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *HealthChecksAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s HealthChecksAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod HealthChecksAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HealthChecksAggregatedListWarningData struct { @@ -14539,9 +14581,9 @@ type HealthChecksAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *HealthChecksAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s HealthChecksAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod HealthChecksAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HealthChecksScopedList struct { @@ -14563,9 +14605,9 @@ type HealthChecksScopedList struct { NullFields []string `json:"-"` } -func (s *HealthChecksScopedList) MarshalJSON() ([]byte, error) { +func (s HealthChecksScopedList) MarshalJSON() ([]byte, error) { type NoMethod HealthChecksScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HealthChecksScopedListWarning: Informational warning which replaces the list @@ -14649,9 +14691,9 @@ type HealthChecksScopedListWarning struct { NullFields []string `json:"-"` } -func (s *HealthChecksScopedListWarning) MarshalJSON() ([]byte, error) { +func (s HealthChecksScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod HealthChecksScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HealthChecksScopedListWarningData struct { @@ -14678,9 +14720,9 @@ type HealthChecksScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *HealthChecksScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s HealthChecksScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod HealthChecksScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HealthStatus struct { @@ -14745,9 +14787,9 @@ type HealthStatus struct { NullFields []string `json:"-"` } -func (s *HealthStatus) MarshalJSON() ([]byte, error) { +func (s HealthStatus) MarshalJSON() ([]byte, error) { type NoMethod HealthStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HealthStatusForNetworkEndpoint struct { @@ -14794,9 +14836,9 @@ type HealthStatusForNetworkEndpoint struct { NullFields []string `json:"-"` } -func (s *HealthStatusForNetworkEndpoint) MarshalJSON() ([]byte, error) { +func (s HealthStatusForNetworkEndpoint) MarshalJSON() ([]byte, error) { type NoMethod HealthStatusForNetworkEndpoint - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Help: Provides links to documentation or for performing an out of band @@ -14821,9 +14863,9 @@ type Help struct { NullFields []string `json:"-"` } -func (s *Help) MarshalJSON() ([]byte, error) { +func (s Help) MarshalJSON() ([]byte, error) { type NoMethod Help - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HelpLink: Describes a URL link. @@ -14845,9 +14887,9 @@ type HelpLink struct { NullFields []string `json:"-"` } -func (s *HelpLink) MarshalJSON() ([]byte, error) { +func (s HelpLink) MarshalJSON() ([]byte, error) { type NoMethod HelpLink - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HostRule: UrlMaps A host-matching rule for a URL. If matched, will use the @@ -14879,9 +14921,9 @@ type HostRule struct { NullFields []string `json:"-"` } -func (s *HostRule) MarshalJSON() ([]byte, error) { +func (s HostRule) MarshalJSON() ([]byte, error) { type NoMethod HostRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpFaultAbort: Specification for how requests are aborted as part of fault @@ -14910,9 +14952,9 @@ type HttpFaultAbort struct { NullFields []string `json:"-"` } -func (s *HttpFaultAbort) MarshalJSON() ([]byte, error) { +func (s HttpFaultAbort) MarshalJSON() ([]byte, error) { type NoMethod HttpFaultAbort - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *HttpFaultAbort) UnmarshalJSON(data []byte) error { @@ -14951,9 +14993,9 @@ type HttpFaultDelay struct { NullFields []string `json:"-"` } -func (s *HttpFaultDelay) MarshalJSON() ([]byte, error) { +func (s HttpFaultDelay) MarshalJSON() ([]byte, error) { type NoMethod HttpFaultDelay - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *HttpFaultDelay) UnmarshalJSON(data []byte) error { @@ -14996,9 +15038,9 @@ type HttpFaultInjection struct { NullFields []string `json:"-"` } -func (s *HttpFaultInjection) MarshalJSON() ([]byte, error) { +func (s HttpFaultInjection) MarshalJSON() ([]byte, error) { type NoMethod HttpFaultInjection - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpFilterConfig: HttpFilterConfiguration supplies additional contextual @@ -15030,9 +15072,9 @@ type HttpFilterConfig struct { NullFields []string `json:"-"` } -func (s *HttpFilterConfig) MarshalJSON() ([]byte, error) { +func (s HttpFilterConfig) MarshalJSON() ([]byte, error) { type NoMethod HttpFilterConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpHeaderAction: The request and response header transformations that take @@ -15064,9 +15106,9 @@ type HttpHeaderAction struct { NullFields []string `json:"-"` } -func (s *HttpHeaderAction) MarshalJSON() ([]byte, error) { +func (s HttpHeaderAction) MarshalJSON() ([]byte, error) { type NoMethod HttpHeaderAction - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpHeaderMatch: matchRule criteria for request header matches. @@ -15135,9 +15177,9 @@ type HttpHeaderMatch struct { NullFields []string `json:"-"` } -func (s *HttpHeaderMatch) MarshalJSON() ([]byte, error) { +func (s HttpHeaderMatch) MarshalJSON() ([]byte, error) { type NoMethod HttpHeaderMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpHeaderOption: Specification determining how headers are added to @@ -15164,9 +15206,9 @@ type HttpHeaderOption struct { NullFields []string `json:"-"` } -func (s *HttpHeaderOption) MarshalJSON() ([]byte, error) { +func (s HttpHeaderOption) MarshalJSON() ([]byte, error) { type NoMethod HttpHeaderOption - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpHealthCheck: Represents a legacy HTTP Health Check resource. Legacy HTTP @@ -15237,9 +15279,9 @@ type HttpHealthCheck struct { NullFields []string `json:"-"` } -func (s *HttpHealthCheck) MarshalJSON() ([]byte, error) { +func (s HttpHealthCheck) MarshalJSON() ([]byte, error) { type NoMethod HttpHealthCheck - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpHealthCheckList: Contains a list of HttpHealthCheck resources. @@ -15276,9 +15318,9 @@ type HttpHealthCheckList struct { NullFields []string `json:"-"` } -func (s *HttpHealthCheckList) MarshalJSON() ([]byte, error) { +func (s HttpHealthCheckList) MarshalJSON() ([]byte, error) { type NoMethod HttpHealthCheckList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpHealthCheckListWarning: [Output Only] Informational warning message. @@ -15361,9 +15403,9 @@ type HttpHealthCheckListWarning struct { NullFields []string `json:"-"` } -func (s *HttpHealthCheckListWarning) MarshalJSON() ([]byte, error) { +func (s HttpHealthCheckListWarning) MarshalJSON() ([]byte, error) { type NoMethod HttpHealthCheckListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HttpHealthCheckListWarningData struct { @@ -15390,9 +15432,9 @@ type HttpHealthCheckListWarningData struct { NullFields []string `json:"-"` } -func (s *HttpHealthCheckListWarningData) MarshalJSON() ([]byte, error) { +func (s HttpHealthCheckListWarningData) MarshalJSON() ([]byte, error) { type NoMethod HttpHealthCheckListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpQueryParameterMatch: HttpRouteRuleMatch criteria for a request's query @@ -15429,9 +15471,9 @@ type HttpQueryParameterMatch struct { NullFields []string `json:"-"` } -func (s *HttpQueryParameterMatch) MarshalJSON() ([]byte, error) { +func (s HttpQueryParameterMatch) MarshalJSON() ([]byte, error) { type NoMethod HttpQueryParameterMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRedirectAction: Specifies settings for an HTTP redirect. @@ -15492,9 +15534,9 @@ type HttpRedirectAction struct { NullFields []string `json:"-"` } -func (s *HttpRedirectAction) MarshalJSON() ([]byte, error) { +func (s HttpRedirectAction) MarshalJSON() ([]byte, error) { type NoMethod HttpRedirectAction - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRetryPolicy: The retry policy associates with HttpRouteRule @@ -15546,9 +15588,9 @@ type HttpRetryPolicy struct { NullFields []string `json:"-"` } -func (s *HttpRetryPolicy) MarshalJSON() ([]byte, error) { +func (s HttpRetryPolicy) MarshalJSON() ([]byte, error) { type NoMethod HttpRetryPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HttpRouteAction struct { @@ -15626,9 +15668,9 @@ type HttpRouteAction struct { NullFields []string `json:"-"` } -func (s *HttpRouteAction) MarshalJSON() ([]byte, error) { +func (s HttpRouteAction) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteAction - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteRule: The HttpRouteRule setting specifies how to match an HTTP @@ -15743,9 +15785,9 @@ type HttpRouteRule struct { NullFields []string `json:"-"` } -func (s *HttpRouteRule) MarshalJSON() ([]byte, error) { +func (s HttpRouteRule) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteRuleMatch: HttpRouteRuleMatch specifies a set of criteria for @@ -15819,9 +15861,9 @@ type HttpRouteRuleMatch struct { NullFields []string `json:"-"` } -func (s *HttpRouteRuleMatch) MarshalJSON() ([]byte, error) { +func (s HttpRouteRuleMatch) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteRuleMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpsHealthCheck: Represents a legacy HTTPS Health Check resource. Legacy @@ -15891,9 +15933,9 @@ type HttpsHealthCheck struct { NullFields []string `json:"-"` } -func (s *HttpsHealthCheck) MarshalJSON() ([]byte, error) { +func (s HttpsHealthCheck) MarshalJSON() ([]byte, error) { type NoMethod HttpsHealthCheck - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpsHealthCheckList: Contains a list of HttpsHealthCheck resources. @@ -15930,9 +15972,9 @@ type HttpsHealthCheckList struct { NullFields []string `json:"-"` } -func (s *HttpsHealthCheckList) MarshalJSON() ([]byte, error) { +func (s HttpsHealthCheckList) MarshalJSON() ([]byte, error) { type NoMethod HttpsHealthCheckList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpsHealthCheckListWarning: [Output Only] Informational warning message. @@ -16015,9 +16057,9 @@ type HttpsHealthCheckListWarning struct { NullFields []string `json:"-"` } -func (s *HttpsHealthCheckListWarning) MarshalJSON() ([]byte, error) { +func (s HttpsHealthCheckListWarning) MarshalJSON() ([]byte, error) { type NoMethod HttpsHealthCheckListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HttpsHealthCheckListWarningData struct { @@ -16044,9 +16086,9 @@ type HttpsHealthCheckListWarningData struct { NullFields []string `json:"-"` } -func (s *HttpsHealthCheckListWarningData) MarshalJSON() ([]byte, error) { +func (s HttpsHealthCheckListWarningData) MarshalJSON() ([]byte, error) { type NoMethod HttpsHealthCheckListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Image: Represents an Image resource. You can use images to create boot disks @@ -16252,9 +16294,9 @@ type Image struct { NullFields []string `json:"-"` } -func (s *Image) MarshalJSON() ([]byte, error) { +func (s Image) MarshalJSON() ([]byte, error) { type NoMethod Image - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ImageRawDisk: The parameters of the raw disk image. @@ -16291,9 +16333,9 @@ type ImageRawDisk struct { NullFields []string `json:"-"` } -func (s *ImageRawDisk) MarshalJSON() ([]byte, error) { +func (s ImageRawDisk) MarshalJSON() ([]byte, error) { type NoMethod ImageRawDisk - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ImageFamilyView struct { @@ -16316,9 +16358,9 @@ type ImageFamilyView struct { NullFields []string `json:"-"` } -func (s *ImageFamilyView) MarshalJSON() ([]byte, error) { +func (s ImageFamilyView) MarshalJSON() ([]byte, error) { type NoMethod ImageFamilyView - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ImageList: Contains a list of images. @@ -16355,9 +16397,9 @@ type ImageList struct { NullFields []string `json:"-"` } -func (s *ImageList) MarshalJSON() ([]byte, error) { +func (s ImageList) MarshalJSON() ([]byte, error) { type NoMethod ImageList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ImageListWarning: [Output Only] Informational warning message. @@ -16440,9 +16482,9 @@ type ImageListWarning struct { NullFields []string `json:"-"` } -func (s *ImageListWarning) MarshalJSON() ([]byte, error) { +func (s ImageListWarning) MarshalJSON() ([]byte, error) { type NoMethod ImageListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ImageListWarningData struct { @@ -16469,9 +16511,9 @@ type ImageListWarningData struct { NullFields []string `json:"-"` } -func (s *ImageListWarningData) MarshalJSON() ([]byte, error) { +func (s ImageListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ImageListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InitialStateConfig: Initial State for shielded instance, these are public @@ -16498,9 +16540,9 @@ type InitialStateConfig struct { NullFields []string `json:"-"` } -func (s *InitialStateConfig) MarshalJSON() ([]byte, error) { +func (s InitialStateConfig) MarshalJSON() ([]byte, error) { type NoMethod InitialStateConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Instance: Represents an Instance resource. An instance is a virtual machine @@ -16745,9 +16787,9 @@ type Instance struct { NullFields []string `json:"-"` } -func (s *Instance) MarshalJSON() ([]byte, error) { +func (s Instance) MarshalJSON() ([]byte, error) { type NoMethod Instance - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceAggregatedList struct { @@ -16786,9 +16828,9 @@ type InstanceAggregatedList struct { NullFields []string `json:"-"` } -func (s *InstanceAggregatedList) MarshalJSON() ([]byte, error) { +func (s InstanceAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod InstanceAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceAggregatedListWarning: [Output Only] Informational warning message. @@ -16871,9 +16913,9 @@ type InstanceAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *InstanceAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s InstanceAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceAggregatedListWarningData struct { @@ -16900,9 +16942,9 @@ type InstanceAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceConsumptionData struct { @@ -16923,9 +16965,9 @@ type InstanceConsumptionData struct { NullFields []string `json:"-"` } -func (s *InstanceConsumptionData) MarshalJSON() ([]byte, error) { +func (s InstanceConsumptionData) MarshalJSON() ([]byte, error) { type NoMethod InstanceConsumptionData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceConsumptionInfo struct { @@ -16953,9 +16995,9 @@ type InstanceConsumptionInfo struct { NullFields []string `json:"-"` } -func (s *InstanceConsumptionInfo) MarshalJSON() ([]byte, error) { +func (s InstanceConsumptionInfo) MarshalJSON() ([]byte, error) { type NoMethod InstanceConsumptionInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroup: Represents an Instance Group resource. Instance Groups can be @@ -17030,9 +17072,9 @@ type InstanceGroup struct { NullFields []string `json:"-"` } -func (s *InstanceGroup) MarshalJSON() ([]byte, error) { +func (s InstanceGroup) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroup - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupAggregatedList struct { @@ -17071,9 +17113,9 @@ type InstanceGroupAggregatedList struct { NullFields []string `json:"-"` } -func (s *InstanceGroupAggregatedList) MarshalJSON() ([]byte, error) { +func (s InstanceGroupAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupAggregatedListWarning: [Output Only] Informational warning @@ -17157,9 +17199,9 @@ type InstanceGroupAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *InstanceGroupAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s InstanceGroupAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupAggregatedListWarningData struct { @@ -17186,9 +17228,9 @@ type InstanceGroupAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceGroupAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceGroupAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupList: A list of InstanceGroup resources. @@ -17226,9 +17268,9 @@ type InstanceGroupList struct { NullFields []string `json:"-"` } -func (s *InstanceGroupList) MarshalJSON() ([]byte, error) { +func (s InstanceGroupList) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupListWarning: [Output Only] Informational warning message. @@ -17311,9 +17353,9 @@ type InstanceGroupListWarning struct { NullFields []string `json:"-"` } -func (s *InstanceGroupListWarning) MarshalJSON() ([]byte, error) { +func (s InstanceGroupListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupListWarningData struct { @@ -17340,9 +17382,9 @@ type InstanceGroupListWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceGroupListWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceGroupListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManager: Represents a Managed Instance Group resource. An @@ -17357,10 +17399,16 @@ type InstanceGroupManager struct { // AutoHealingPolicies: The autohealing policy for this managed instance group. // You can specify only one value. AutoHealingPolicies []*InstanceGroupManagerAutoHealingPolicy `json:"autoHealingPolicies,omitempty"` - // BaseInstanceName: The base instance name to use for instances in this group. - // The value must be 1-58 characters long. Instances are named by appending a - // hyphen and a random four-character string to the base instance name. The - // base instance name must comply with RFC1035. + // BaseInstanceName: The base instance name is a prefix that you want to attach + // to the names of all VMs in a MIG. The maximum character length is 58 and the + // name must comply with RFC1035 format. When a VM is created in the group, the + // MIG appends a hyphen and a random four-character string to the base instance + // name. If you want the MIG to assign sequential numbers instead of a random + // string, then end the base instance name with a hyphen followed by one or + // more hash symbols. The hash symbols indicate the number of digits. For + // example, a base instance name of "vm-###" results in "vm-001" as a VM name. + // @pattern a-z + // (([-a-z0-9]{0,57})|([-a-z0-9]{0,52}-#{1,10}(\\[[0-9]{1,10}\\])?)) BaseInstanceName string `json:"baseInstanceName,omitempty"` // CreationTimestamp: [Output Only] The creation timestamp for this managed // instance group in RFC3339 text format. @@ -17498,9 +17546,9 @@ type InstanceGroupManager struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManager) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManager) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManager - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerActionsSummary struct { @@ -17569,9 +17617,9 @@ type InstanceGroupManagerActionsSummary struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerActionsSummary) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerActionsSummary) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerActionsSummary - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerAggregatedList struct { @@ -17611,9 +17659,9 @@ type InstanceGroupManagerAggregatedList struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerAggregatedList) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagerAggregatedListWarning: [Output Only] Informational @@ -17697,9 +17745,9 @@ type InstanceGroupManagerAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerAggregatedListWarningData struct { @@ -17726,9 +17774,9 @@ type InstanceGroupManagerAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerAllInstancesConfig struct { @@ -17752,9 +17800,9 @@ type InstanceGroupManagerAllInstancesConfig struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerAllInstancesConfig) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerAllInstancesConfig) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerAllInstancesConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerAutoHealingPolicy struct { @@ -17782,9 +17830,9 @@ type InstanceGroupManagerAutoHealingPolicy struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerAutoHealingPolicy) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerAutoHealingPolicy) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerAutoHealingPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerInstanceFlexibilityPolicy struct { @@ -17810,9 +17858,9 @@ type InstanceGroupManagerInstanceFlexibilityPolicy struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerInstanceFlexibilityPolicy) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerInstanceFlexibilityPolicy) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerInstanceFlexibilityPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection struct { @@ -17836,9 +17884,9 @@ type InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix struct { @@ -17865,9 +17913,9 @@ type InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerInstanceLifecyclePolicy struct { @@ -17909,9 +17957,9 @@ type InstanceGroupManagerInstanceLifecyclePolicy struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerInstanceLifecyclePolicy) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerInstanceLifecyclePolicy) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerInstanceLifecyclePolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagerList: [Output Only] A list of managed instance groups. @@ -17949,9 +17997,9 @@ type InstanceGroupManagerList struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerList) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerList) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagerListWarning: [Output Only] Informational warning @@ -18035,9 +18083,9 @@ type InstanceGroupManagerListWarning struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerListWarning) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerListWarningData struct { @@ -18064,9 +18112,9 @@ type InstanceGroupManagerListWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerListWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagerParams: Input only additional params for instance group @@ -18090,9 +18138,9 @@ type InstanceGroupManagerParams struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerParams) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerParams) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerParams - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagerResizeRequest: InstanceGroupManagerResizeRequest @@ -18168,9 +18216,9 @@ type InstanceGroupManagerResizeRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerResizeRequestStatus struct { @@ -18202,9 +18250,9 @@ type InstanceGroupManagerResizeRequestStatus struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequestStatus) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequestStatus) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequestStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagerResizeRequestStatusError: [Output only] Fatal errors @@ -18229,9 +18277,9 @@ type InstanceGroupManagerResizeRequestStatusError struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequestStatusError) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequestStatusError) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequestStatusError - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerResizeRequestStatusErrorErrors struct { @@ -18260,9 +18308,9 @@ type InstanceGroupManagerResizeRequestStatusErrorErrors struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequestStatusErrorErrors) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequestStatusErrorErrors) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequestStatusErrorErrors - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerResizeRequestStatusErrorErrorsErrorDetails struct { @@ -18283,9 +18331,9 @@ type InstanceGroupManagerResizeRequestStatusErrorErrorsErrorDetails struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequestStatusErrorErrorsErrorDetails) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequestStatusErrorErrorsErrorDetails) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequestStatusErrorErrorsErrorDetails - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerResizeRequestStatusLastAttempt struct { @@ -18304,9 +18352,9 @@ type InstanceGroupManagerResizeRequestStatusLastAttempt struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequestStatusLastAttempt) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequestStatusLastAttempt) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequestStatusLastAttempt - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagerResizeRequestStatusLastAttemptError: Errors that @@ -18328,9 +18376,9 @@ type InstanceGroupManagerResizeRequestStatusLastAttemptError struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequestStatusLastAttemptError) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequestStatusLastAttemptError) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequestStatusLastAttemptError - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrors struct { @@ -18359,9 +18407,9 @@ type InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrors struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrors) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrors) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrors - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrorsErrorDetails struct { @@ -18382,9 +18430,9 @@ type InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrorsErrorDetails s NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrorsErrorDetails) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrorsErrorDetails) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrorsErrorDetails - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagerResizeRequestsListResponse: [Output Only] A list of @@ -18423,9 +18471,9 @@ type InstanceGroupManagerResizeRequestsListResponse struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequestsListResponse) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequestsListResponse) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequestsListResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagerResizeRequestsListResponseWarning: [Output Only] @@ -18509,9 +18557,9 @@ type InstanceGroupManagerResizeRequestsListResponseWarning struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequestsListResponseWarning) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequestsListResponseWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequestsListResponseWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerResizeRequestsListResponseWarningData struct { @@ -18538,9 +18586,9 @@ type InstanceGroupManagerResizeRequestsListResponseWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequestsListResponseWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequestsListResponseWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequestsListResponseWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerStandbyPolicy struct { @@ -18572,9 +18620,9 @@ type InstanceGroupManagerStandbyPolicy struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerStandbyPolicy) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerStandbyPolicy) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerStandbyPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerStatus struct { @@ -18610,9 +18658,9 @@ type InstanceGroupManagerStatus struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerStatus) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerStatus) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerStatusAllInstancesConfig struct { @@ -18635,9 +18683,9 @@ type InstanceGroupManagerStatusAllInstancesConfig struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerStatusAllInstancesConfig) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerStatusAllInstancesConfig) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerStatusAllInstancesConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerStatusStateful struct { @@ -18672,9 +18720,9 @@ type InstanceGroupManagerStatusStateful struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerStatusStateful) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerStatusStateful) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerStatusStateful - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerStatusStatefulPerInstanceConfigs struct { @@ -18695,9 +18743,9 @@ type InstanceGroupManagerStatusStatefulPerInstanceConfigs struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerStatusStatefulPerInstanceConfigs) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerStatusStatefulPerInstanceConfigs) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerStatusStatefulPerInstanceConfigs - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerStatusVersionTarget struct { @@ -18719,9 +18767,9 @@ type InstanceGroupManagerStatusVersionTarget struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerStatusVersionTarget) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerStatusVersionTarget) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerStatusVersionTarget - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerUpdatePolicy struct { @@ -18826,9 +18874,9 @@ type InstanceGroupManagerUpdatePolicy struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerUpdatePolicy) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerUpdatePolicy) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerUpdatePolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerVersion struct { @@ -18866,9 +18914,9 @@ type InstanceGroupManagerVersion struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerVersion) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerVersion) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerVersion - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersAbandonInstancesRequest struct { @@ -18888,9 +18936,9 @@ type InstanceGroupManagersAbandonInstancesRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersAbandonInstancesRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersAbandonInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersAbandonInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagersApplyUpdatesRequest: @@ -18947,9 +18995,9 @@ type InstanceGroupManagersApplyUpdatesRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersApplyUpdatesRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersApplyUpdatesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersApplyUpdatesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagersCreateInstancesRequest: @@ -18970,9 +19018,9 @@ type InstanceGroupManagersCreateInstancesRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersCreateInstancesRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersCreateInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersCreateInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersDeleteInstancesRequest struct { @@ -19002,9 +19050,9 @@ type InstanceGroupManagersDeleteInstancesRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersDeleteInstancesRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersDeleteInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersDeleteInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagersDeletePerInstanceConfigsReq: @@ -19026,9 +19074,9 @@ type InstanceGroupManagersDeletePerInstanceConfigsReq struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersDeletePerInstanceConfigsReq) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersDeletePerInstanceConfigsReq) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersDeletePerInstanceConfigsReq - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersListErrorsResponse struct { @@ -19056,9 +19104,9 @@ type InstanceGroupManagersListErrorsResponse struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersListErrorsResponse) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersListErrorsResponse) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersListErrorsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersListManagedInstancesResponse struct { @@ -19087,9 +19135,9 @@ type InstanceGroupManagersListManagedInstancesResponse struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersListManagedInstancesResponse) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersListManagedInstancesResponse) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersListManagedInstancesResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersListPerInstanceConfigsResp struct { @@ -19119,9 +19167,9 @@ type InstanceGroupManagersListPerInstanceConfigsResp struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersListPerInstanceConfigsResp) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersListPerInstanceConfigsResp) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersListPerInstanceConfigsResp - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagersListPerInstanceConfigsRespWarning: [Output Only] @@ -19205,9 +19253,9 @@ type InstanceGroupManagersListPerInstanceConfigsRespWarning struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersListPerInstanceConfigsRespWarning) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersListPerInstanceConfigsRespWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersListPerInstanceConfigsRespWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersListPerInstanceConfigsRespWarningData struct { @@ -19234,9 +19282,9 @@ type InstanceGroupManagersListPerInstanceConfigsRespWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersListPerInstanceConfigsRespWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersListPerInstanceConfigsRespWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersListPerInstanceConfigsRespWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagersPatchPerInstanceConfigsReq: @@ -19258,9 +19306,9 @@ type InstanceGroupManagersPatchPerInstanceConfigsReq struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersPatchPerInstanceConfigsReq) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersPatchPerInstanceConfigsReq) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersPatchPerInstanceConfigsReq - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersRecreateInstancesRequest struct { @@ -19280,9 +19328,9 @@ type InstanceGroupManagersRecreateInstancesRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersRecreateInstancesRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersRecreateInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersRecreateInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersResizeAdvancedRequest struct { @@ -19318,9 +19366,9 @@ type InstanceGroupManagersResizeAdvancedRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersResizeAdvancedRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersResizeAdvancedRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersResizeAdvancedRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersResumeInstancesRequest struct { @@ -19340,9 +19388,9 @@ type InstanceGroupManagersResumeInstancesRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersResumeInstancesRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersResumeInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersResumeInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersScopedList struct { @@ -19365,9 +19413,9 @@ type InstanceGroupManagersScopedList struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersScopedList) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersScopedList) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagersScopedListWarning: [Output Only] The warning that @@ -19451,9 +19499,9 @@ type InstanceGroupManagersScopedListWarning struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersScopedListWarning) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersScopedListWarningData struct { @@ -19480,9 +19528,9 @@ type InstanceGroupManagersScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersSetAutoHealingRequest struct { @@ -19500,9 +19548,9 @@ type InstanceGroupManagersSetAutoHealingRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersSetAutoHealingRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersSetAutoHealingRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersSetAutoHealingRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersSetInstanceTemplateRequest struct { @@ -19525,9 +19573,9 @@ type InstanceGroupManagersSetInstanceTemplateRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersSetInstanceTemplateRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersSetInstanceTemplateRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersSetInstanceTemplateRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersSetTargetPoolsRequest struct { @@ -19556,9 +19604,9 @@ type InstanceGroupManagersSetTargetPoolsRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersSetTargetPoolsRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersSetTargetPoolsRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersSetTargetPoolsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersStartInstancesRequest struct { @@ -19578,9 +19626,9 @@ type InstanceGroupManagersStartInstancesRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersStartInstancesRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersStartInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersStartInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersStopInstancesRequest struct { @@ -19603,9 +19651,9 @@ type InstanceGroupManagersStopInstancesRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersStopInstancesRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersStopInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersStopInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersSuspendInstancesRequest struct { @@ -19628,9 +19676,9 @@ type InstanceGroupManagersSuspendInstancesRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersSuspendInstancesRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersSuspendInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersSuspendInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagersUpdatePerInstanceConfigsReq: @@ -19652,9 +19700,9 @@ type InstanceGroupManagersUpdatePerInstanceConfigsReq struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersUpdatePerInstanceConfigsReq) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersUpdatePerInstanceConfigsReq) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersUpdatePerInstanceConfigsReq - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupsAddInstancesRequest struct { @@ -19673,9 +19721,9 @@ type InstanceGroupsAddInstancesRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupsAddInstancesRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupsAddInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupsAddInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupsListInstances struct { @@ -19713,9 +19761,9 @@ type InstanceGroupsListInstances struct { NullFields []string `json:"-"` } -func (s *InstanceGroupsListInstances) MarshalJSON() ([]byte, error) { +func (s InstanceGroupsListInstances) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupsListInstances - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupsListInstancesWarning: [Output Only] Informational warning @@ -19799,9 +19847,9 @@ type InstanceGroupsListInstancesWarning struct { NullFields []string `json:"-"` } -func (s *InstanceGroupsListInstancesWarning) MarshalJSON() ([]byte, error) { +func (s InstanceGroupsListInstancesWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupsListInstancesWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupsListInstancesWarningData struct { @@ -19828,9 +19876,9 @@ type InstanceGroupsListInstancesWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceGroupsListInstancesWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceGroupsListInstancesWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupsListInstancesWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupsListInstancesRequest struct { @@ -19857,9 +19905,9 @@ type InstanceGroupsListInstancesRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupsListInstancesRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupsListInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupsListInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupsRemoveInstancesRequest struct { @@ -19878,9 +19926,9 @@ type InstanceGroupsRemoveInstancesRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupsRemoveInstancesRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupsRemoveInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupsRemoveInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupsScopedList struct { @@ -19903,9 +19951,9 @@ type InstanceGroupsScopedList struct { NullFields []string `json:"-"` } -func (s *InstanceGroupsScopedList) MarshalJSON() ([]byte, error) { +func (s InstanceGroupsScopedList) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupsScopedListWarning: [Output Only] An informational warning that @@ -19989,9 +20037,9 @@ type InstanceGroupsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *InstanceGroupsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s InstanceGroupsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupsScopedListWarningData struct { @@ -20018,9 +20066,9 @@ type InstanceGroupsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceGroupsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceGroupsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupsSetNamedPortsRequest struct { @@ -20047,9 +20095,9 @@ type InstanceGroupsSetNamedPortsRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupsSetNamedPortsRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupsSetNamedPortsRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupsSetNamedPortsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceList: Contains a list of instances. @@ -20087,9 +20135,9 @@ type InstanceList struct { NullFields []string `json:"-"` } -func (s *InstanceList) MarshalJSON() ([]byte, error) { +func (s InstanceList) MarshalJSON() ([]byte, error) { type NoMethod InstanceList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceListWarning: [Output Only] Informational warning message. @@ -20172,9 +20220,9 @@ type InstanceListWarning struct { NullFields []string `json:"-"` } -func (s *InstanceListWarning) MarshalJSON() ([]byte, error) { +func (s InstanceListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceListWarningData struct { @@ -20201,9 +20249,9 @@ type InstanceListWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceListWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceListReferrers: Contains a list of instance referrers. @@ -20241,9 +20289,9 @@ type InstanceListReferrers struct { NullFields []string `json:"-"` } -func (s *InstanceListReferrers) MarshalJSON() ([]byte, error) { +func (s InstanceListReferrers) MarshalJSON() ([]byte, error) { type NoMethod InstanceListReferrers - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceListReferrersWarning: [Output Only] Informational warning message. @@ -20326,9 +20374,9 @@ type InstanceListReferrersWarning struct { NullFields []string `json:"-"` } -func (s *InstanceListReferrersWarning) MarshalJSON() ([]byte, error) { +func (s InstanceListReferrersWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceListReferrersWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceListReferrersWarningData struct { @@ -20355,9 +20403,9 @@ type InstanceListReferrersWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceListReferrersWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceListReferrersWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceListReferrersWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceManagedByIgmError struct { @@ -20383,9 +20431,9 @@ type InstanceManagedByIgmError struct { NullFields []string `json:"-"` } -func (s *InstanceManagedByIgmError) MarshalJSON() ([]byte, error) { +func (s InstanceManagedByIgmError) MarshalJSON() ([]byte, error) { type NoMethod InstanceManagedByIgmError - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceManagedByIgmErrorInstanceActionDetails struct { @@ -20444,9 +20492,9 @@ type InstanceManagedByIgmErrorInstanceActionDetails struct { NullFields []string `json:"-"` } -func (s *InstanceManagedByIgmErrorInstanceActionDetails) MarshalJSON() ([]byte, error) { +func (s InstanceManagedByIgmErrorInstanceActionDetails) MarshalJSON() ([]byte, error) { type NoMethod InstanceManagedByIgmErrorInstanceActionDetails - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceManagedByIgmErrorManagedInstanceError struct { @@ -20467,9 +20515,9 @@ type InstanceManagedByIgmErrorManagedInstanceError struct { NullFields []string `json:"-"` } -func (s *InstanceManagedByIgmErrorManagedInstanceError) MarshalJSON() ([]byte, error) { +func (s InstanceManagedByIgmErrorManagedInstanceError) MarshalJSON() ([]byte, error) { type NoMethod InstanceManagedByIgmErrorManagedInstanceError - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceMoveRequest struct { @@ -20499,9 +20547,9 @@ type InstanceMoveRequest struct { NullFields []string `json:"-"` } -func (s *InstanceMoveRequest) MarshalJSON() ([]byte, error) { +func (s InstanceMoveRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceMoveRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceParams: Additional instance params. @@ -20524,9 +20572,9 @@ type InstanceParams struct { NullFields []string `json:"-"` } -func (s *InstanceParams) MarshalJSON() ([]byte, error) { +func (s InstanceParams) MarshalJSON() ([]byte, error) { type NoMethod InstanceParams - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceProperties struct { @@ -20663,9 +20711,9 @@ type InstanceProperties struct { NullFields []string `json:"-"` } -func (s *InstanceProperties) MarshalJSON() ([]byte, error) { +func (s InstanceProperties) MarshalJSON() ([]byte, error) { type NoMethod InstanceProperties - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstancePropertiesPatch: Represents the change that you want to make to the @@ -20689,9 +20737,9 @@ type InstancePropertiesPatch struct { NullFields []string `json:"-"` } -func (s *InstancePropertiesPatch) MarshalJSON() ([]byte, error) { +func (s InstancePropertiesPatch) MarshalJSON() ([]byte, error) { type NoMethod InstancePropertiesPatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceReference struct { @@ -20711,9 +20759,9 @@ type InstanceReference struct { NullFields []string `json:"-"` } -func (s *InstanceReference) MarshalJSON() ([]byte, error) { +func (s InstanceReference) MarshalJSON() ([]byte, error) { type NoMethod InstanceReference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceSettings: Represents a Instance Settings resource. You can use @@ -20756,9 +20804,9 @@ type InstanceSettings struct { NullFields []string `json:"-"` } -func (s *InstanceSettings) MarshalJSON() ([]byte, error) { +func (s InstanceSettings) MarshalJSON() ([]byte, error) { type NoMethod InstanceSettings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceSettingsMetadata struct { @@ -20781,9 +20829,9 @@ type InstanceSettingsMetadata struct { NullFields []string `json:"-"` } -func (s *InstanceSettingsMetadata) MarshalJSON() ([]byte, error) { +func (s InstanceSettingsMetadata) MarshalJSON() ([]byte, error) { type NoMethod InstanceSettingsMetadata - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceTemplate: Represents an Instance Template resource. Google Compute @@ -20850,9 +20898,9 @@ type InstanceTemplate struct { NullFields []string `json:"-"` } -func (s *InstanceTemplate) MarshalJSON() ([]byte, error) { +func (s InstanceTemplate) MarshalJSON() ([]byte, error) { type NoMethod InstanceTemplate - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceTemplateAggregatedList: Contains a list of @@ -20890,9 +20938,9 @@ type InstanceTemplateAggregatedList struct { NullFields []string `json:"-"` } -func (s *InstanceTemplateAggregatedList) MarshalJSON() ([]byte, error) { +func (s InstanceTemplateAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod InstanceTemplateAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceTemplateAggregatedListWarning: [Output Only] Informational warning @@ -20976,9 +21024,9 @@ type InstanceTemplateAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *InstanceTemplateAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s InstanceTemplateAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceTemplateAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceTemplateAggregatedListWarningData struct { @@ -21005,9 +21053,9 @@ type InstanceTemplateAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceTemplateAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceTemplateAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceTemplateAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceTemplateList: A list of instance templates. @@ -21045,9 +21093,9 @@ type InstanceTemplateList struct { NullFields []string `json:"-"` } -func (s *InstanceTemplateList) MarshalJSON() ([]byte, error) { +func (s InstanceTemplateList) MarshalJSON() ([]byte, error) { type NoMethod InstanceTemplateList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceTemplateListWarning: [Output Only] Informational warning message. @@ -21130,9 +21178,9 @@ type InstanceTemplateListWarning struct { NullFields []string `json:"-"` } -func (s *InstanceTemplateListWarning) MarshalJSON() ([]byte, error) { +func (s InstanceTemplateListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceTemplateListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceTemplateListWarningData struct { @@ -21159,9 +21207,9 @@ type InstanceTemplateListWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceTemplateListWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceTemplateListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceTemplateListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceTemplatesScopedList struct { @@ -21184,9 +21232,9 @@ type InstanceTemplatesScopedList struct { NullFields []string `json:"-"` } -func (s *InstanceTemplatesScopedList) MarshalJSON() ([]byte, error) { +func (s InstanceTemplatesScopedList) MarshalJSON() ([]byte, error) { type NoMethod InstanceTemplatesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceTemplatesScopedListWarning: [Output Only] An informational warning @@ -21270,9 +21318,9 @@ type InstanceTemplatesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *InstanceTemplatesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s InstanceTemplatesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceTemplatesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceTemplatesScopedListWarningData struct { @@ -21299,9 +21347,9 @@ type InstanceTemplatesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceTemplatesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceTemplatesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceTemplatesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceWithNamedPorts struct { @@ -21342,9 +21390,9 @@ type InstanceWithNamedPorts struct { NullFields []string `json:"-"` } -func (s *InstanceWithNamedPorts) MarshalJSON() ([]byte, error) { +func (s InstanceWithNamedPorts) MarshalJSON() ([]byte, error) { type NoMethod InstanceWithNamedPorts - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesAddResourcePoliciesRequest struct { @@ -21363,9 +21411,9 @@ type InstancesAddResourcePoliciesRequest struct { NullFields []string `json:"-"` } -func (s *InstancesAddResourcePoliciesRequest) MarshalJSON() ([]byte, error) { +func (s InstancesAddResourcePoliciesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstancesAddResourcePoliciesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesBulkInsertOperationMetadata struct { @@ -21385,9 +21433,9 @@ type InstancesBulkInsertOperationMetadata struct { NullFields []string `json:"-"` } -func (s *InstancesBulkInsertOperationMetadata) MarshalJSON() ([]byte, error) { +func (s InstancesBulkInsertOperationMetadata) MarshalJSON() ([]byte, error) { type NoMethod InstancesBulkInsertOperationMetadata - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesGetEffectiveFirewallsResponse struct { @@ -21413,9 +21461,9 @@ type InstancesGetEffectiveFirewallsResponse struct { NullFields []string `json:"-"` } -func (s *InstancesGetEffectiveFirewallsResponse) MarshalJSON() ([]byte, error) { +func (s InstancesGetEffectiveFirewallsResponse) MarshalJSON() ([]byte, error) { type NoMethod InstancesGetEffectiveFirewallsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy struct { @@ -21424,6 +21472,9 @@ type InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy struct { DisplayName string `json:"displayName,omitempty"` // Name: [Output Only] The name of the firewall policy. Name string `json:"name,omitempty"` + // Priority: [Output only] Priority of firewall policy association. Not + // applicable for type=HIERARCHY. + Priority int64 `json:"priority,omitempty"` // Rules: The rules that apply to the network. Rules []*FirewallPolicyRule `json:"rules,omitempty"` // ShortName: [Output Only] The short name of the firewall policy. @@ -21435,6 +21486,8 @@ type InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy struct { // "HIERARCHY" // "NETWORK" // "NETWORK_REGIONAL" + // "SYSTEM_GLOBAL" + // "SYSTEM_REGIONAL" // "UNSPECIFIED" Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "DisplayName") to @@ -21450,9 +21503,9 @@ type InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy struct { NullFields []string `json:"-"` } -func (s *InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy) MarshalJSON() ([]byte, error) { +func (s InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy) MarshalJSON() ([]byte, error) { type NoMethod InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy: A pruned @@ -21476,9 +21529,9 @@ type InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy struct { NullFields []string `json:"-"` } -func (s *InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy) MarshalJSON() ([]byte, error) { +func (s InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy) MarshalJSON() ([]byte, error) { type NoMethod InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesRemoveResourcePoliciesRequest struct { @@ -21497,9 +21550,9 @@ type InstancesRemoveResourcePoliciesRequest struct { NullFields []string `json:"-"` } -func (s *InstancesRemoveResourcePoliciesRequest) MarshalJSON() ([]byte, error) { +func (s InstancesRemoveResourcePoliciesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstancesRemoveResourcePoliciesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesResumeRequest struct { @@ -21527,9 +21580,9 @@ type InstancesResumeRequest struct { NullFields []string `json:"-"` } -func (s *InstancesResumeRequest) MarshalJSON() ([]byte, error) { +func (s InstancesResumeRequest) MarshalJSON() ([]byte, error) { type NoMethod InstancesResumeRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesScopedList struct { @@ -21551,9 +21604,9 @@ type InstancesScopedList struct { NullFields []string `json:"-"` } -func (s *InstancesScopedList) MarshalJSON() ([]byte, error) { +func (s InstancesScopedList) MarshalJSON() ([]byte, error) { type NoMethod InstancesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstancesScopedListWarning: [Output Only] Informational warning which @@ -21637,9 +21690,9 @@ type InstancesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *InstancesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s InstancesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstancesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesScopedListWarningData struct { @@ -21666,9 +21719,9 @@ type InstancesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *InstancesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s InstancesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstancesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesSetLabelsRequest struct { @@ -21690,9 +21743,9 @@ type InstancesSetLabelsRequest struct { NullFields []string `json:"-"` } -func (s *InstancesSetLabelsRequest) MarshalJSON() ([]byte, error) { +func (s InstancesSetLabelsRequest) MarshalJSON() ([]byte, error) { type NoMethod InstancesSetLabelsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesSetMachineResourcesRequest struct { @@ -21712,9 +21765,9 @@ type InstancesSetMachineResourcesRequest struct { NullFields []string `json:"-"` } -func (s *InstancesSetMachineResourcesRequest) MarshalJSON() ([]byte, error) { +func (s InstancesSetMachineResourcesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstancesSetMachineResourcesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesSetMachineTypeRequest struct { @@ -21735,9 +21788,9 @@ type InstancesSetMachineTypeRequest struct { NullFields []string `json:"-"` } -func (s *InstancesSetMachineTypeRequest) MarshalJSON() ([]byte, error) { +func (s InstancesSetMachineTypeRequest) MarshalJSON() ([]byte, error) { type NoMethod InstancesSetMachineTypeRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesSetMinCpuPlatformRequest struct { @@ -21756,9 +21809,9 @@ type InstancesSetMinCpuPlatformRequest struct { NullFields []string `json:"-"` } -func (s *InstancesSetMinCpuPlatformRequest) MarshalJSON() ([]byte, error) { +func (s InstancesSetMinCpuPlatformRequest) MarshalJSON() ([]byte, error) { type NoMethod InstancesSetMinCpuPlatformRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesSetNameRequest struct { @@ -21781,9 +21834,9 @@ type InstancesSetNameRequest struct { NullFields []string `json:"-"` } -func (s *InstancesSetNameRequest) MarshalJSON() ([]byte, error) { +func (s InstancesSetNameRequest) MarshalJSON() ([]byte, error) { type NoMethod InstancesSetNameRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesSetSecurityPolicyRequest struct { @@ -21808,9 +21861,9 @@ type InstancesSetSecurityPolicyRequest struct { NullFields []string `json:"-"` } -func (s *InstancesSetSecurityPolicyRequest) MarshalJSON() ([]byte, error) { +func (s InstancesSetSecurityPolicyRequest) MarshalJSON() ([]byte, error) { type NoMethod InstancesSetSecurityPolicyRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesSetServiceAccountRequest struct { @@ -21831,9 +21884,9 @@ type InstancesSetServiceAccountRequest struct { NullFields []string `json:"-"` } -func (s *InstancesSetServiceAccountRequest) MarshalJSON() ([]byte, error) { +func (s InstancesSetServiceAccountRequest) MarshalJSON() ([]byte, error) { type NoMethod InstancesSetServiceAccountRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesStartWithEncryptionKeyRequest struct { @@ -21855,9 +21908,9 @@ type InstancesStartWithEncryptionKeyRequest struct { NullFields []string `json:"-"` } -func (s *InstancesStartWithEncryptionKeyRequest) MarshalJSON() ([]byte, error) { +func (s InstancesStartWithEncryptionKeyRequest) MarshalJSON() ([]byte, error) { type NoMethod InstancesStartWithEncryptionKeyRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstantSnapshot: Represents a InstantSnapshot resource. You can use instant @@ -21967,9 +22020,9 @@ type InstantSnapshot struct { NullFields []string `json:"-"` } -func (s *InstantSnapshot) MarshalJSON() ([]byte, error) { +func (s InstantSnapshot) MarshalJSON() ([]byte, error) { type NoMethod InstantSnapshot - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstantSnapshotAggregatedList struct { @@ -22009,9 +22062,9 @@ type InstantSnapshotAggregatedList struct { NullFields []string `json:"-"` } -func (s *InstantSnapshotAggregatedList) MarshalJSON() ([]byte, error) { +func (s InstantSnapshotAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod InstantSnapshotAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstantSnapshotAggregatedListWarning: [Output Only] Informational warning @@ -22095,9 +22148,9 @@ type InstantSnapshotAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *InstantSnapshotAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s InstantSnapshotAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstantSnapshotAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstantSnapshotAggregatedListWarningData struct { @@ -22124,9 +22177,9 @@ type InstantSnapshotAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *InstantSnapshotAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s InstantSnapshotAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstantSnapshotAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstantSnapshotList: Contains a list of InstantSnapshot resources. @@ -22163,9 +22216,9 @@ type InstantSnapshotList struct { NullFields []string `json:"-"` } -func (s *InstantSnapshotList) MarshalJSON() ([]byte, error) { +func (s InstantSnapshotList) MarshalJSON() ([]byte, error) { type NoMethod InstantSnapshotList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstantSnapshotListWarning: [Output Only] Informational warning message. @@ -22248,9 +22301,9 @@ type InstantSnapshotListWarning struct { NullFields []string `json:"-"` } -func (s *InstantSnapshotListWarning) MarshalJSON() ([]byte, error) { +func (s InstantSnapshotListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstantSnapshotListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstantSnapshotListWarningData struct { @@ -22277,9 +22330,9 @@ type InstantSnapshotListWarningData struct { NullFields []string `json:"-"` } -func (s *InstantSnapshotListWarningData) MarshalJSON() ([]byte, error) { +func (s InstantSnapshotListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstantSnapshotListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstantSnapshotResourceStatus struct { @@ -22298,9 +22351,9 @@ type InstantSnapshotResourceStatus struct { NullFields []string `json:"-"` } -func (s *InstantSnapshotResourceStatus) MarshalJSON() ([]byte, error) { +func (s InstantSnapshotResourceStatus) MarshalJSON() ([]byte, error) { type NoMethod InstantSnapshotResourceStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstantSnapshotsScopedList struct { @@ -22323,9 +22376,9 @@ type InstantSnapshotsScopedList struct { NullFields []string `json:"-"` } -func (s *InstantSnapshotsScopedList) MarshalJSON() ([]byte, error) { +func (s InstantSnapshotsScopedList) MarshalJSON() ([]byte, error) { type NoMethod InstantSnapshotsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstantSnapshotsScopedListWarning: [Output Only] Informational warning which @@ -22409,9 +22462,9 @@ type InstantSnapshotsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *InstantSnapshotsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s InstantSnapshotsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstantSnapshotsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstantSnapshotsScopedListWarningData struct { @@ -22438,9 +22491,9 @@ type InstantSnapshotsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *InstantSnapshotsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s InstantSnapshotsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstantSnapshotsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Int64RangeMatch: HttpRouteRuleMatch criteria for field values that must stay @@ -22464,9 +22517,9 @@ type Int64RangeMatch struct { NullFields []string `json:"-"` } -func (s *Int64RangeMatch) MarshalJSON() ([]byte, error) { +func (s Int64RangeMatch) MarshalJSON() ([]byte, error) { type NoMethod Int64RangeMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Interconnect: Represents an Interconnect resource. An Interconnect resource @@ -22654,9 +22707,9 @@ type Interconnect struct { NullFields []string `json:"-"` } -func (s *Interconnect) MarshalJSON() ([]byte, error) { +func (s Interconnect) MarshalJSON() ([]byte, error) { type NoMethod Interconnect - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectAttachment: Represents an Interconnect Attachment (VLAN) @@ -22953,9 +23006,9 @@ type InterconnectAttachment struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachment) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachment) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachment - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectAttachmentAggregatedList struct { @@ -22995,9 +23048,9 @@ type InterconnectAttachmentAggregatedList struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentAggregatedList) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectAttachmentAggregatedListWarning: [Output Only] Informational @@ -23081,9 +23134,9 @@ type InterconnectAttachmentAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectAttachmentAggregatedListWarningData struct { @@ -23110,9 +23163,9 @@ type InterconnectAttachmentAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectAttachmentConfigurationConstraints struct { @@ -23152,9 +23205,9 @@ type InterconnectAttachmentConfigurationConstraints struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentConfigurationConstraints) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentConfigurationConstraints) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentConfigurationConstraints - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange struct { @@ -23173,9 +23226,9 @@ type InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectAttachmentList: Response to the list request, and contains a @@ -23214,9 +23267,9 @@ type InterconnectAttachmentList struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentList) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentList) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectAttachmentListWarning: [Output Only] Informational warning @@ -23300,9 +23353,9 @@ type InterconnectAttachmentListWarning struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentListWarning) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentListWarning) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectAttachmentListWarningData struct { @@ -23329,9 +23382,9 @@ type InterconnectAttachmentListWarningData struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentListWarningData) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectAttachmentPartnerMetadata: Informational metadata about Partner @@ -23363,9 +23416,9 @@ type InterconnectAttachmentPartnerMetadata struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentPartnerMetadata) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentPartnerMetadata) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentPartnerMetadata - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectAttachmentPrivateInfo: Information for an interconnect @@ -23387,9 +23440,9 @@ type InterconnectAttachmentPrivateInfo struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentPrivateInfo) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentPrivateInfo) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentPrivateInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectAttachmentsScopedList struct { @@ -23412,9 +23465,9 @@ type InterconnectAttachmentsScopedList struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentsScopedList) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentsScopedList) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectAttachmentsScopedListWarning: Informational warning which @@ -23498,9 +23551,9 @@ type InterconnectAttachmentsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectAttachmentsScopedListWarningData struct { @@ -23527,9 +23580,9 @@ type InterconnectAttachmentsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectCircuitInfo: Describes a single physical circuit between the @@ -23557,9 +23610,9 @@ type InterconnectCircuitInfo struct { NullFields []string `json:"-"` } -func (s *InterconnectCircuitInfo) MarshalJSON() ([]byte, error) { +func (s InterconnectCircuitInfo) MarshalJSON() ([]byte, error) { type NoMethod InterconnectCircuitInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectDiagnostics: Diagnostics information about the Interconnect @@ -23607,9 +23660,9 @@ type InterconnectDiagnostics struct { NullFields []string `json:"-"` } -func (s *InterconnectDiagnostics) MarshalJSON() ([]byte, error) { +func (s InterconnectDiagnostics) MarshalJSON() ([]byte, error) { type NoMethod InterconnectDiagnostics - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectDiagnosticsARPEntry: Describing the ARP neighbor entries seen on @@ -23632,9 +23685,9 @@ type InterconnectDiagnosticsARPEntry struct { NullFields []string `json:"-"` } -func (s *InterconnectDiagnosticsARPEntry) MarshalJSON() ([]byte, error) { +func (s InterconnectDiagnosticsARPEntry) MarshalJSON() ([]byte, error) { type NoMethod InterconnectDiagnosticsARPEntry - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectDiagnosticsLinkLACPStatus struct { @@ -23666,9 +23719,9 @@ type InterconnectDiagnosticsLinkLACPStatus struct { NullFields []string `json:"-"` } -func (s *InterconnectDiagnosticsLinkLACPStatus) MarshalJSON() ([]byte, error) { +func (s InterconnectDiagnosticsLinkLACPStatus) MarshalJSON() ([]byte, error) { type NoMethod InterconnectDiagnosticsLinkLACPStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectDiagnosticsLinkOpticalPower struct { @@ -23709,9 +23762,9 @@ type InterconnectDiagnosticsLinkOpticalPower struct { NullFields []string `json:"-"` } -func (s *InterconnectDiagnosticsLinkOpticalPower) MarshalJSON() ([]byte, error) { +func (s InterconnectDiagnosticsLinkOpticalPower) MarshalJSON() ([]byte, error) { type NoMethod InterconnectDiagnosticsLinkOpticalPower - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *InterconnectDiagnosticsLinkOpticalPower) UnmarshalJSON(data []byte) error { @@ -23768,9 +23821,9 @@ type InterconnectDiagnosticsLinkStatus struct { NullFields []string `json:"-"` } -func (s *InterconnectDiagnosticsLinkStatus) MarshalJSON() ([]byte, error) { +func (s InterconnectDiagnosticsLinkStatus) MarshalJSON() ([]byte, error) { type NoMethod InterconnectDiagnosticsLinkStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectDiagnosticsMacsecStatus: Describes the status of MACsec @@ -23794,9 +23847,9 @@ type InterconnectDiagnosticsMacsecStatus struct { NullFields []string `json:"-"` } -func (s *InterconnectDiagnosticsMacsecStatus) MarshalJSON() ([]byte, error) { +func (s InterconnectDiagnosticsMacsecStatus) MarshalJSON() ([]byte, error) { type NoMethod InterconnectDiagnosticsMacsecStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectList: Response to the list request, and contains a list of @@ -23835,9 +23888,9 @@ type InterconnectList struct { NullFields []string `json:"-"` } -func (s *InterconnectList) MarshalJSON() ([]byte, error) { +func (s InterconnectList) MarshalJSON() ([]byte, error) { type NoMethod InterconnectList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectListWarning: [Output Only] Informational warning message. @@ -23920,9 +23973,9 @@ type InterconnectListWarning struct { NullFields []string `json:"-"` } -func (s *InterconnectListWarning) MarshalJSON() ([]byte, error) { +func (s InterconnectListWarning) MarshalJSON() ([]byte, error) { type NoMethod InterconnectListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectListWarningData struct { @@ -23949,9 +24002,9 @@ type InterconnectListWarningData struct { NullFields []string `json:"-"` } -func (s *InterconnectListWarningData) MarshalJSON() ([]byte, error) { +func (s InterconnectListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InterconnectListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectLocation: Represents an Interconnect Attachment (VLAN) Location @@ -24058,9 +24111,9 @@ type InterconnectLocation struct { NullFields []string `json:"-"` } -func (s *InterconnectLocation) MarshalJSON() ([]byte, error) { +func (s InterconnectLocation) MarshalJSON() ([]byte, error) { type NoMethod InterconnectLocation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectLocationList: Response to the list request, and contains a list @@ -24099,9 +24152,9 @@ type InterconnectLocationList struct { NullFields []string `json:"-"` } -func (s *InterconnectLocationList) MarshalJSON() ([]byte, error) { +func (s InterconnectLocationList) MarshalJSON() ([]byte, error) { type NoMethod InterconnectLocationList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectLocationListWarning: [Output Only] Informational warning @@ -24185,9 +24238,9 @@ type InterconnectLocationListWarning struct { NullFields []string `json:"-"` } -func (s *InterconnectLocationListWarning) MarshalJSON() ([]byte, error) { +func (s InterconnectLocationListWarning) MarshalJSON() ([]byte, error) { type NoMethod InterconnectLocationListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectLocationListWarningData struct { @@ -24214,9 +24267,9 @@ type InterconnectLocationListWarningData struct { NullFields []string `json:"-"` } -func (s *InterconnectLocationListWarningData) MarshalJSON() ([]byte, error) { +func (s InterconnectLocationListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InterconnectLocationListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectLocationRegionInfo: Information about any potential @@ -24253,9 +24306,9 @@ type InterconnectLocationRegionInfo struct { NullFields []string `json:"-"` } -func (s *InterconnectLocationRegionInfo) MarshalJSON() ([]byte, error) { +func (s InterconnectLocationRegionInfo) MarshalJSON() ([]byte, error) { type NoMethod InterconnectLocationRegionInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectMacsec: Configuration information for enabling Media Access @@ -24288,9 +24341,9 @@ type InterconnectMacsec struct { NullFields []string `json:"-"` } -func (s *InterconnectMacsec) MarshalJSON() ([]byte, error) { +func (s InterconnectMacsec) MarshalJSON() ([]byte, error) { type NoMethod InterconnectMacsec - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectMacsecConfig: MACsec configuration information for the @@ -24315,9 +24368,9 @@ type InterconnectMacsecConfig struct { NullFields []string `json:"-"` } -func (s *InterconnectMacsecConfig) MarshalJSON() ([]byte, error) { +func (s InterconnectMacsecConfig) MarshalJSON() ([]byte, error) { type NoMethod InterconnectMacsecConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectMacsecConfigPreSharedKey: Describes a pre-shared key used to @@ -24344,9 +24397,9 @@ type InterconnectMacsecConfigPreSharedKey struct { NullFields []string `json:"-"` } -func (s *InterconnectMacsecConfigPreSharedKey) MarshalJSON() ([]byte, error) { +func (s InterconnectMacsecConfigPreSharedKey) MarshalJSON() ([]byte, error) { type NoMethod InterconnectMacsecConfigPreSharedKey - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectMacsecPreSharedKey: Describes a pre-shared key used to setup @@ -24378,9 +24431,9 @@ type InterconnectMacsecPreSharedKey struct { NullFields []string `json:"-"` } -func (s *InterconnectMacsecPreSharedKey) MarshalJSON() ([]byte, error) { +func (s InterconnectMacsecPreSharedKey) MarshalJSON() ([]byte, error) { type NoMethod InterconnectMacsecPreSharedKey - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectOutageNotification: Description of a planned outage on this @@ -24458,9 +24511,9 @@ type InterconnectOutageNotification struct { NullFields []string `json:"-"` } -func (s *InterconnectOutageNotification) MarshalJSON() ([]byte, error) { +func (s InterconnectOutageNotification) MarshalJSON() ([]byte, error) { type NoMethod InterconnectOutageNotification - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectRemoteLocation: Represents a Cross-Cloud Interconnect Remote @@ -24567,9 +24620,9 @@ type InterconnectRemoteLocation struct { NullFields []string `json:"-"` } -func (s *InterconnectRemoteLocation) MarshalJSON() ([]byte, error) { +func (s InterconnectRemoteLocation) MarshalJSON() ([]byte, error) { type NoMethod InterconnectRemoteLocation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectRemoteLocationConstraints struct { @@ -24628,9 +24681,9 @@ type InterconnectRemoteLocationConstraints struct { NullFields []string `json:"-"` } -func (s *InterconnectRemoteLocationConstraints) MarshalJSON() ([]byte, error) { +func (s InterconnectRemoteLocationConstraints) MarshalJSON() ([]byte, error) { type NoMethod InterconnectRemoteLocationConstraints - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectRemoteLocationConstraintsSubnetLengthRange struct { @@ -24649,9 +24702,9 @@ type InterconnectRemoteLocationConstraintsSubnetLengthRange struct { NullFields []string `json:"-"` } -func (s *InterconnectRemoteLocationConstraintsSubnetLengthRange) MarshalJSON() ([]byte, error) { +func (s InterconnectRemoteLocationConstraintsSubnetLengthRange) MarshalJSON() ([]byte, error) { type NoMethod InterconnectRemoteLocationConstraintsSubnetLengthRange - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectRemoteLocationList: Response to the list request, and contains a @@ -24691,9 +24744,9 @@ type InterconnectRemoteLocationList struct { NullFields []string `json:"-"` } -func (s *InterconnectRemoteLocationList) MarshalJSON() ([]byte, error) { +func (s InterconnectRemoteLocationList) MarshalJSON() ([]byte, error) { type NoMethod InterconnectRemoteLocationList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectRemoteLocationListWarning: [Output Only] Informational warning @@ -24777,9 +24830,9 @@ type InterconnectRemoteLocationListWarning struct { NullFields []string `json:"-"` } -func (s *InterconnectRemoteLocationListWarning) MarshalJSON() ([]byte, error) { +func (s InterconnectRemoteLocationListWarning) MarshalJSON() ([]byte, error) { type NoMethod InterconnectRemoteLocationListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectRemoteLocationListWarningData struct { @@ -24806,9 +24859,9 @@ type InterconnectRemoteLocationListWarningData struct { NullFields []string `json:"-"` } -func (s *InterconnectRemoteLocationListWarningData) MarshalJSON() ([]byte, error) { +func (s InterconnectRemoteLocationListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InterconnectRemoteLocationListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectRemoteLocationPermittedConnections struct { @@ -24828,9 +24881,9 @@ type InterconnectRemoteLocationPermittedConnections struct { NullFields []string `json:"-"` } -func (s *InterconnectRemoteLocationPermittedConnections) MarshalJSON() ([]byte, error) { +func (s InterconnectRemoteLocationPermittedConnections) MarshalJSON() ([]byte, error) { type NoMethod InterconnectRemoteLocationPermittedConnections - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectsGetDiagnosticsResponse: Response for the @@ -24853,9 +24906,9 @@ type InterconnectsGetDiagnosticsResponse struct { NullFields []string `json:"-"` } -func (s *InterconnectsGetDiagnosticsResponse) MarshalJSON() ([]byte, error) { +func (s InterconnectsGetDiagnosticsResponse) MarshalJSON() ([]byte, error) { type NoMethod InterconnectsGetDiagnosticsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectsGetMacsecConfigResponse: Response for the @@ -24880,9 +24933,9 @@ type InterconnectsGetMacsecConfigResponse struct { NullFields []string `json:"-"` } -func (s *InterconnectsGetMacsecConfigResponse) MarshalJSON() ([]byte, error) { +func (s InterconnectsGetMacsecConfigResponse) MarshalJSON() ([]byte, error) { type NoMethod InterconnectsGetMacsecConfigResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // License: Represents a License resource. A License represents billing and @@ -24932,9 +24985,9 @@ type License struct { NullFields []string `json:"-"` } -func (s *License) MarshalJSON() ([]byte, error) { +func (s License) MarshalJSON() ([]byte, error) { type NoMethod License - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LicenseCode: Represents a License Code resource. A License Code is a unique @@ -24992,9 +25045,9 @@ type LicenseCode struct { NullFields []string `json:"-"` } -func (s *LicenseCode) MarshalJSON() ([]byte, error) { +func (s LicenseCode) MarshalJSON() ([]byte, error) { type NoMethod LicenseCode - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type LicenseCodeLicenseAlias struct { @@ -25015,9 +25068,9 @@ type LicenseCodeLicenseAlias struct { NullFields []string `json:"-"` } -func (s *LicenseCodeLicenseAlias) MarshalJSON() ([]byte, error) { +func (s LicenseCodeLicenseAlias) MarshalJSON() ([]byte, error) { type NoMethod LicenseCodeLicenseAlias - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LicenseResourceCommitment: Commitment for a particular license resource. @@ -25042,9 +25095,9 @@ type LicenseResourceCommitment struct { NullFields []string `json:"-"` } -func (s *LicenseResourceCommitment) MarshalJSON() ([]byte, error) { +func (s LicenseResourceCommitment) MarshalJSON() ([]byte, error) { type NoMethod LicenseResourceCommitment - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type LicenseResourceRequirements struct { @@ -25067,9 +25120,9 @@ type LicenseResourceRequirements struct { NullFields []string `json:"-"` } -func (s *LicenseResourceRequirements) MarshalJSON() ([]byte, error) { +func (s LicenseResourceRequirements) MarshalJSON() ([]byte, error) { type NoMethod LicenseResourceRequirements - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type LicensesListResponse struct { @@ -25103,9 +25156,9 @@ type LicensesListResponse struct { NullFields []string `json:"-"` } -func (s *LicensesListResponse) MarshalJSON() ([]byte, error) { +func (s LicensesListResponse) MarshalJSON() ([]byte, error) { type NoMethod LicensesListResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LicensesListResponseWarning: [Output Only] Informational warning message. @@ -25188,9 +25241,9 @@ type LicensesListResponseWarning struct { NullFields []string `json:"-"` } -func (s *LicensesListResponseWarning) MarshalJSON() ([]byte, error) { +func (s LicensesListResponseWarning) MarshalJSON() ([]byte, error) { type NoMethod LicensesListResponseWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type LicensesListResponseWarningData struct { @@ -25217,9 +25270,9 @@ type LicensesListResponseWarningData struct { NullFields []string `json:"-"` } -func (s *LicensesListResponseWarningData) MarshalJSON() ([]byte, error) { +func (s LicensesListResponseWarningData) MarshalJSON() ([]byte, error) { type NoMethod LicensesListResponseWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type LocalDisk struct { @@ -25244,9 +25297,9 @@ type LocalDisk struct { NullFields []string `json:"-"` } -func (s *LocalDisk) MarshalJSON() ([]byte, error) { +func (s LocalDisk) MarshalJSON() ([]byte, error) { type NoMethod LocalDisk - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LocalizedMessage: Provides a localized error message that is safe to return @@ -25271,9 +25324,9 @@ type LocalizedMessage struct { NullFields []string `json:"-"` } -func (s *LocalizedMessage) MarshalJSON() ([]byte, error) { +func (s LocalizedMessage) MarshalJSON() ([]byte, error) { type NoMethod LocalizedMessage - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LocationPolicy: Configuration for location policy among multiple possible @@ -25314,9 +25367,9 @@ type LocationPolicy struct { NullFields []string `json:"-"` } -func (s *LocationPolicy) MarshalJSON() ([]byte, error) { +func (s LocationPolicy) MarshalJSON() ([]byte, error) { type NoMethod LocationPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type LocationPolicyLocation struct { @@ -25343,9 +25396,9 @@ type LocationPolicyLocation struct { NullFields []string `json:"-"` } -func (s *LocationPolicyLocation) MarshalJSON() ([]byte, error) { +func (s LocationPolicyLocation) MarshalJSON() ([]byte, error) { type NoMethod LocationPolicyLocation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LocationPolicyLocationConstraints: Per-zone constraints on location policy @@ -25367,9 +25420,9 @@ type LocationPolicyLocationConstraints struct { NullFields []string `json:"-"` } -func (s *LocationPolicyLocationConstraints) MarshalJSON() ([]byte, error) { +func (s LocationPolicyLocationConstraints) MarshalJSON() ([]byte, error) { type NoMethod LocationPolicyLocationConstraints - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LogConfig: This is deprecated and has no effect. Do not use. @@ -25393,9 +25446,9 @@ type LogConfig struct { NullFields []string `json:"-"` } -func (s *LogConfig) MarshalJSON() ([]byte, error) { +func (s LogConfig) MarshalJSON() ([]byte, error) { type NoMethod LogConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LogConfigCloudAuditOptions: This is deprecated and has no effect. Do not @@ -25421,9 +25474,9 @@ type LogConfigCloudAuditOptions struct { NullFields []string `json:"-"` } -func (s *LogConfigCloudAuditOptions) MarshalJSON() ([]byte, error) { +func (s LogConfigCloudAuditOptions) MarshalJSON() ([]byte, error) { type NoMethod LogConfigCloudAuditOptions - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LogConfigCounterOptions: This is deprecated and has no effect. Do not use. @@ -25447,9 +25500,9 @@ type LogConfigCounterOptions struct { NullFields []string `json:"-"` } -func (s *LogConfigCounterOptions) MarshalJSON() ([]byte, error) { +func (s LogConfigCounterOptions) MarshalJSON() ([]byte, error) { type NoMethod LogConfigCounterOptions - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LogConfigCounterOptionsCustomField: This is deprecated and has no effect. Do @@ -25472,9 +25525,9 @@ type LogConfigCounterOptionsCustomField struct { NullFields []string `json:"-"` } -func (s *LogConfigCounterOptionsCustomField) MarshalJSON() ([]byte, error) { +func (s LogConfigCounterOptionsCustomField) MarshalJSON() ([]byte, error) { type NoMethod LogConfigCounterOptionsCustomField - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LogConfigDataAccessOptions: This is deprecated and has no effect. Do not @@ -25499,9 +25552,9 @@ type LogConfigDataAccessOptions struct { NullFields []string `json:"-"` } -func (s *LogConfigDataAccessOptions) MarshalJSON() ([]byte, error) { +func (s LogConfigDataAccessOptions) MarshalJSON() ([]byte, error) { type NoMethod LogConfigDataAccessOptions - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MachineImage: Represents a machine image resource. A machine image is a @@ -25601,9 +25654,9 @@ type MachineImage struct { NullFields []string `json:"-"` } -func (s *MachineImage) MarshalJSON() ([]byte, error) { +func (s MachineImage) MarshalJSON() ([]byte, error) { type NoMethod MachineImage - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MachineImageList: A list of machine images. @@ -25641,9 +25694,9 @@ type MachineImageList struct { NullFields []string `json:"-"` } -func (s *MachineImageList) MarshalJSON() ([]byte, error) { +func (s MachineImageList) MarshalJSON() ([]byte, error) { type NoMethod MachineImageList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MachineImageListWarning: [Output Only] Informational warning message. @@ -25726,9 +25779,9 @@ type MachineImageListWarning struct { NullFields []string `json:"-"` } -func (s *MachineImageListWarning) MarshalJSON() ([]byte, error) { +func (s MachineImageListWarning) MarshalJSON() ([]byte, error) { type NoMethod MachineImageListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type MachineImageListWarningData struct { @@ -25755,9 +25808,9 @@ type MachineImageListWarningData struct { NullFields []string `json:"-"` } -func (s *MachineImageListWarningData) MarshalJSON() ([]byte, error) { +func (s MachineImageListWarningData) MarshalJSON() ([]byte, error) { type NoMethod MachineImageListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MachineType: Represents a Machine Type resource. You can use specific @@ -25820,9 +25873,9 @@ type MachineType struct { NullFields []string `json:"-"` } -func (s *MachineType) MarshalJSON() ([]byte, error) { +func (s MachineType) MarshalJSON() ([]byte, error) { type NoMethod MachineType - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type MachineTypeAccelerators struct { @@ -25844,9 +25897,9 @@ type MachineTypeAccelerators struct { NullFields []string `json:"-"` } -func (s *MachineTypeAccelerators) MarshalJSON() ([]byte, error) { +func (s MachineTypeAccelerators) MarshalJSON() ([]byte, error) { type NoMethod MachineTypeAccelerators - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type MachineTypeAggregatedList struct { @@ -25885,9 +25938,9 @@ type MachineTypeAggregatedList struct { NullFields []string `json:"-"` } -func (s *MachineTypeAggregatedList) MarshalJSON() ([]byte, error) { +func (s MachineTypeAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod MachineTypeAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MachineTypeAggregatedListWarning: [Output Only] Informational warning @@ -25971,9 +26024,9 @@ type MachineTypeAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *MachineTypeAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s MachineTypeAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod MachineTypeAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type MachineTypeAggregatedListWarningData struct { @@ -26000,9 +26053,9 @@ type MachineTypeAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *MachineTypeAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s MachineTypeAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod MachineTypeAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MachineTypeList: Contains a list of machine types. @@ -26040,9 +26093,9 @@ type MachineTypeList struct { NullFields []string `json:"-"` } -func (s *MachineTypeList) MarshalJSON() ([]byte, error) { +func (s MachineTypeList) MarshalJSON() ([]byte, error) { type NoMethod MachineTypeList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MachineTypeListWarning: [Output Only] Informational warning message. @@ -26125,9 +26178,9 @@ type MachineTypeListWarning struct { NullFields []string `json:"-"` } -func (s *MachineTypeListWarning) MarshalJSON() ([]byte, error) { +func (s MachineTypeListWarning) MarshalJSON() ([]byte, error) { type NoMethod MachineTypeListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type MachineTypeListWarningData struct { @@ -26154,9 +26207,9 @@ type MachineTypeListWarningData struct { NullFields []string `json:"-"` } -func (s *MachineTypeListWarningData) MarshalJSON() ([]byte, error) { +func (s MachineTypeListWarningData) MarshalJSON() ([]byte, error) { type NoMethod MachineTypeListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type MachineTypesScopedList struct { @@ -26178,9 +26231,9 @@ type MachineTypesScopedList struct { NullFields []string `json:"-"` } -func (s *MachineTypesScopedList) MarshalJSON() ([]byte, error) { +func (s MachineTypesScopedList) MarshalJSON() ([]byte, error) { type NoMethod MachineTypesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MachineTypesScopedListWarning: [Output Only] An informational warning that @@ -26264,9 +26317,9 @@ type MachineTypesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *MachineTypesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s MachineTypesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod MachineTypesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type MachineTypesScopedListWarningData struct { @@ -26293,9 +26346,9 @@ type MachineTypesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *MachineTypesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s MachineTypesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod MachineTypesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ManagedInstance: A Managed Instance resource. @@ -26426,9 +26479,9 @@ type ManagedInstance struct { NullFields []string `json:"-"` } -func (s *ManagedInstance) MarshalJSON() ([]byte, error) { +func (s ManagedInstance) MarshalJSON() ([]byte, error) { type NoMethod ManagedInstance - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ManagedInstanceAllInstancesConfig struct { @@ -26448,9 +26501,9 @@ type ManagedInstanceAllInstancesConfig struct { NullFields []string `json:"-"` } -func (s *ManagedInstanceAllInstancesConfig) MarshalJSON() ([]byte, error) { +func (s ManagedInstanceAllInstancesConfig) MarshalJSON() ([]byte, error) { type NoMethod ManagedInstanceAllInstancesConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ManagedInstanceInstanceFlexibilityOverride struct { @@ -26469,9 +26522,9 @@ type ManagedInstanceInstanceFlexibilityOverride struct { NullFields []string `json:"-"` } -func (s *ManagedInstanceInstanceFlexibilityOverride) MarshalJSON() ([]byte, error) { +func (s ManagedInstanceInstanceFlexibilityOverride) MarshalJSON() ([]byte, error) { type NoMethod ManagedInstanceInstanceFlexibilityOverride - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ManagedInstanceInstanceHealth struct { @@ -26508,9 +26561,9 @@ type ManagedInstanceInstanceHealth struct { NullFields []string `json:"-"` } -func (s *ManagedInstanceInstanceHealth) MarshalJSON() ([]byte, error) { +func (s ManagedInstanceInstanceHealth) MarshalJSON() ([]byte, error) { type NoMethod ManagedInstanceInstanceHealth - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ManagedInstanceLastAttempt struct { @@ -26530,9 +26583,9 @@ type ManagedInstanceLastAttempt struct { NullFields []string `json:"-"` } -func (s *ManagedInstanceLastAttempt) MarshalJSON() ([]byte, error) { +func (s ManagedInstanceLastAttempt) MarshalJSON() ([]byte, error) { type NoMethod ManagedInstanceLastAttempt - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ManagedInstanceLastAttemptErrors: [Output Only] Encountered errors during @@ -26554,9 +26607,9 @@ type ManagedInstanceLastAttemptErrors struct { NullFields []string `json:"-"` } -func (s *ManagedInstanceLastAttemptErrors) MarshalJSON() ([]byte, error) { +func (s ManagedInstanceLastAttemptErrors) MarshalJSON() ([]byte, error) { type NoMethod ManagedInstanceLastAttemptErrors - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ManagedInstanceLastAttemptErrorsErrors struct { @@ -26585,9 +26638,9 @@ type ManagedInstanceLastAttemptErrorsErrors struct { NullFields []string `json:"-"` } -func (s *ManagedInstanceLastAttemptErrorsErrors) MarshalJSON() ([]byte, error) { +func (s ManagedInstanceLastAttemptErrorsErrors) MarshalJSON() ([]byte, error) { type NoMethod ManagedInstanceLastAttemptErrorsErrors - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ManagedInstanceLastAttemptErrorsErrorsErrorDetails struct { @@ -26608,9 +26661,9 @@ type ManagedInstanceLastAttemptErrorsErrorsErrorDetails struct { NullFields []string `json:"-"` } -func (s *ManagedInstanceLastAttemptErrorsErrorsErrorDetails) MarshalJSON() ([]byte, error) { +func (s ManagedInstanceLastAttemptErrorsErrorsErrorDetails) MarshalJSON() ([]byte, error) { type NoMethod ManagedInstanceLastAttemptErrorsErrorsErrorDetails - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ManagedInstancePropertiesFromFlexibilityPolicy struct { @@ -26636,9 +26689,9 @@ type ManagedInstancePropertiesFromFlexibilityPolicy struct { NullFields []string `json:"-"` } -func (s *ManagedInstancePropertiesFromFlexibilityPolicy) MarshalJSON() ([]byte, error) { +func (s ManagedInstancePropertiesFromFlexibilityPolicy) MarshalJSON() ([]byte, error) { type NoMethod ManagedInstancePropertiesFromFlexibilityPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ManagedInstanceVersion struct { @@ -26660,9 +26713,9 @@ type ManagedInstanceVersion struct { NullFields []string `json:"-"` } -func (s *ManagedInstanceVersion) MarshalJSON() ([]byte, error) { +func (s ManagedInstanceVersion) MarshalJSON() ([]byte, error) { type NoMethod ManagedInstanceVersion - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Metadata: A metadata key/value entry. @@ -26694,9 +26747,9 @@ type Metadata struct { NullFields []string `json:"-"` } -func (s *Metadata) MarshalJSON() ([]byte, error) { +func (s Metadata) MarshalJSON() ([]byte, error) { type NoMethod Metadata - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MetadataItems: Metadata @@ -26724,9 +26777,9 @@ type MetadataItems struct { NullFields []string `json:"-"` } -func (s *MetadataItems) MarshalJSON() ([]byte, error) { +func (s MetadataItems) MarshalJSON() ([]byte, error) { type NoMethod MetadataItems - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MetadataFilter: Opaque filter criteria used by load balancers to restrict @@ -26774,9 +26827,9 @@ type MetadataFilter struct { NullFields []string `json:"-"` } -func (s *MetadataFilter) MarshalJSON() ([]byte, error) { +func (s MetadataFilter) MarshalJSON() ([]byte, error) { type NoMethod MetadataFilter - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MetadataFilterLabelMatch: MetadataFilter label name value pairs that are @@ -26802,9 +26855,9 @@ type MetadataFilterLabelMatch struct { NullFields []string `json:"-"` } -func (s *MetadataFilterLabelMatch) MarshalJSON() ([]byte, error) { +func (s MetadataFilterLabelMatch) MarshalJSON() ([]byte, error) { type NoMethod MetadataFilterLabelMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NamedPort: The named port. For example: <"http", 80>. @@ -26827,9 +26880,9 @@ type NamedPort struct { NullFields []string `json:"-"` } -func (s *NamedPort) MarshalJSON() ([]byte, error) { +func (s NamedPort) MarshalJSON() ([]byte, error) { type NoMethod NamedPort - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NatIpInfo: Contains NAT IP information of a NAT config (i.e. usage status, @@ -26852,9 +26905,9 @@ type NatIpInfo struct { NullFields []string `json:"-"` } -func (s *NatIpInfo) MarshalJSON() ([]byte, error) { +func (s NatIpInfo) MarshalJSON() ([]byte, error) { type NoMethod NatIpInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NatIpInfoNatIpInfoMapping: Contains information of a NAT IP. @@ -26887,9 +26940,9 @@ type NatIpInfoNatIpInfoMapping struct { NullFields []string `json:"-"` } -func (s *NatIpInfoNatIpInfoMapping) MarshalJSON() ([]byte, error) { +func (s NatIpInfoNatIpInfoMapping) MarshalJSON() ([]byte, error) { type NoMethod NatIpInfoNatIpInfoMapping - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NatIpInfoResponse struct { @@ -26911,9 +26964,9 @@ type NatIpInfoResponse struct { NullFields []string `json:"-"` } -func (s *NatIpInfoResponse) MarshalJSON() ([]byte, error) { +func (s NatIpInfoResponse) MarshalJSON() ([]byte, error) { type NoMethod NatIpInfoResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Network: Represents a VPC Network resource. Networks connect resources to @@ -27012,9 +27065,9 @@ type Network struct { NullFields []string `json:"-"` } -func (s *Network) MarshalJSON() ([]byte, error) { +func (s Network) MarshalJSON() ([]byte, error) { type NoMethod Network - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkAttachment: NetworkAttachments A network attachment resource ... @@ -27091,9 +27144,9 @@ type NetworkAttachment struct { NullFields []string `json:"-"` } -func (s *NetworkAttachment) MarshalJSON() ([]byte, error) { +func (s NetworkAttachment) MarshalJSON() ([]byte, error) { type NoMethod NetworkAttachment - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkAttachmentAggregatedList: Contains a list of @@ -27130,9 +27183,9 @@ type NetworkAttachmentAggregatedList struct { NullFields []string `json:"-"` } -func (s *NetworkAttachmentAggregatedList) MarshalJSON() ([]byte, error) { +func (s NetworkAttachmentAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod NetworkAttachmentAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkAttachmentAggregatedListWarning: [Output Only] Informational warning @@ -27216,9 +27269,9 @@ type NetworkAttachmentAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *NetworkAttachmentAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s NetworkAttachmentAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NetworkAttachmentAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkAttachmentAggregatedListWarningData struct { @@ -27245,9 +27298,9 @@ type NetworkAttachmentAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *NetworkAttachmentAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s NetworkAttachmentAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NetworkAttachmentAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkAttachmentConnectedEndpoint: [Output Only] A connection connected to @@ -27298,9 +27351,9 @@ type NetworkAttachmentConnectedEndpoint struct { NullFields []string `json:"-"` } -func (s *NetworkAttachmentConnectedEndpoint) MarshalJSON() ([]byte, error) { +func (s NetworkAttachmentConnectedEndpoint) MarshalJSON() ([]byte, error) { type NoMethod NetworkAttachmentConnectedEndpoint - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkAttachmentList struct { @@ -27335,9 +27388,9 @@ type NetworkAttachmentList struct { NullFields []string `json:"-"` } -func (s *NetworkAttachmentList) MarshalJSON() ([]byte, error) { +func (s NetworkAttachmentList) MarshalJSON() ([]byte, error) { type NoMethod NetworkAttachmentList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkAttachmentListWarning: [Output Only] Informational warning message. @@ -27420,9 +27473,9 @@ type NetworkAttachmentListWarning struct { NullFields []string `json:"-"` } -func (s *NetworkAttachmentListWarning) MarshalJSON() ([]byte, error) { +func (s NetworkAttachmentListWarning) MarshalJSON() ([]byte, error) { type NoMethod NetworkAttachmentListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkAttachmentListWarningData struct { @@ -27449,9 +27502,9 @@ type NetworkAttachmentListWarningData struct { NullFields []string `json:"-"` } -func (s *NetworkAttachmentListWarningData) MarshalJSON() ([]byte, error) { +func (s NetworkAttachmentListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NetworkAttachmentListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkAttachmentsScopedList struct { @@ -27473,9 +27526,9 @@ type NetworkAttachmentsScopedList struct { NullFields []string `json:"-"` } -func (s *NetworkAttachmentsScopedList) MarshalJSON() ([]byte, error) { +func (s NetworkAttachmentsScopedList) MarshalJSON() ([]byte, error) { type NoMethod NetworkAttachmentsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkAttachmentsScopedListWarning: Informational warning which replaces @@ -27559,9 +27612,9 @@ type NetworkAttachmentsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *NetworkAttachmentsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s NetworkAttachmentsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NetworkAttachmentsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkAttachmentsScopedListWarningData struct { @@ -27588,9 +27641,9 @@ type NetworkAttachmentsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *NetworkAttachmentsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s NetworkAttachmentsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NetworkAttachmentsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEdgeSecurityService: Represents a Google Cloud Armor network edge @@ -27651,9 +27704,9 @@ type NetworkEdgeSecurityService struct { NullFields []string `json:"-"` } -func (s *NetworkEdgeSecurityService) MarshalJSON() ([]byte, error) { +func (s NetworkEdgeSecurityService) MarshalJSON() ([]byte, error) { type NoMethod NetworkEdgeSecurityService - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEdgeSecurityServiceAggregatedList struct { @@ -27694,9 +27747,9 @@ type NetworkEdgeSecurityServiceAggregatedList struct { NullFields []string `json:"-"` } -func (s *NetworkEdgeSecurityServiceAggregatedList) MarshalJSON() ([]byte, error) { +func (s NetworkEdgeSecurityServiceAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod NetworkEdgeSecurityServiceAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEdgeSecurityServiceAggregatedListWarning: [Output Only] Informational @@ -27780,9 +27833,9 @@ type NetworkEdgeSecurityServiceAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *NetworkEdgeSecurityServiceAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s NetworkEdgeSecurityServiceAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NetworkEdgeSecurityServiceAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEdgeSecurityServiceAggregatedListWarningData struct { @@ -27809,9 +27862,9 @@ type NetworkEdgeSecurityServiceAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *NetworkEdgeSecurityServiceAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s NetworkEdgeSecurityServiceAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NetworkEdgeSecurityServiceAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEdgeSecurityServicesScopedList struct { @@ -27834,9 +27887,9 @@ type NetworkEdgeSecurityServicesScopedList struct { NullFields []string `json:"-"` } -func (s *NetworkEdgeSecurityServicesScopedList) MarshalJSON() ([]byte, error) { +func (s NetworkEdgeSecurityServicesScopedList) MarshalJSON() ([]byte, error) { type NoMethod NetworkEdgeSecurityServicesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEdgeSecurityServicesScopedListWarning: Informational warning which @@ -27920,9 +27973,9 @@ type NetworkEdgeSecurityServicesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *NetworkEdgeSecurityServicesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s NetworkEdgeSecurityServicesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NetworkEdgeSecurityServicesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEdgeSecurityServicesScopedListWarningData struct { @@ -27949,9 +28002,9 @@ type NetworkEdgeSecurityServicesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *NetworkEdgeSecurityServicesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s NetworkEdgeSecurityServicesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NetworkEdgeSecurityServicesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpoint: The network endpoint. @@ -27962,10 +28015,6 @@ type NetworkEndpoint struct { // sends packets. Only valid for network endpoint groups created with // GCE_VM_IP_PORTMAP endpoint type. ClientDestinationPort int64 `json:"clientDestinationPort,omitempty"` - // ClientPort: Represents the port number to which PSC consumer sends packets. - // Only valid for network endpoint groups created with CLIENT_PORT_PER_ENDPOINT - // mapping mode. - ClientPort int64 `json:"clientPort,omitempty"` // Fqdn: Optional fully qualified domain name of network endpoint. This can // only be specified when NetworkEndpointGroup.network_endpoint_type is // NON_GCP_FQDN_PORT. @@ -28007,9 +28056,9 @@ type NetworkEndpoint struct { NullFields []string `json:"-"` } -func (s *NetworkEndpoint) MarshalJSON() ([]byte, error) { +func (s NetworkEndpoint) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpoint - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpointGroup: Represents a collection of network endpoints. A @@ -28023,15 +28072,6 @@ type NetworkEndpointGroup struct { // AppEngine: Only valid when networkEndpointType is SERVERLESS. Only one of // cloudRun, appEngine or cloudFunction may be set. AppEngine *NetworkEndpointGroupAppEngine `json:"appEngine,omitempty"` - // ClientPortMappingMode: Only valid when networkEndpointType is GCE_VM_IP_PORT - // and the NEG is regional. - // - // Possible values: - // "CLIENT_PORT_PER_ENDPOINT" - For each endpoint there is exactly one client - // port. - // "PORT_MAPPING_DISABLED" - NEG should not be used for mapping client port - // to destination. - ClientPortMappingMode string `json:"clientPortMappingMode,omitempty"` // CloudFunction: Only valid when networkEndpointType is SERVERLESS. Only one // of cloudRun, appEngine or cloudFunction may be set. CloudFunction *NetworkEndpointGroupCloudFunction `json:"cloudFunction,omitempty"` @@ -28130,9 +28170,9 @@ type NetworkEndpointGroup struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroup) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroup) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroup - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupAggregatedList struct { @@ -28172,9 +28212,9 @@ type NetworkEndpointGroupAggregatedList struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupAggregatedList) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpointGroupAggregatedListWarning: [Output Only] Informational @@ -28258,9 +28298,9 @@ type NetworkEndpointGroupAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupAggregatedListWarningData struct { @@ -28287,9 +28327,9 @@ type NetworkEndpointGroupAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpointGroupAppEngine: Configuration for an App Engine network @@ -28327,9 +28367,9 @@ type NetworkEndpointGroupAppEngine struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupAppEngine) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupAppEngine) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupAppEngine - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpointGroupCloudFunction: Configuration for a Cloud Function @@ -28361,9 +28401,9 @@ type NetworkEndpointGroupCloudFunction struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupCloudFunction) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupCloudFunction) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupCloudFunction - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpointGroupCloudRun: Configuration for a Cloud Run network endpoint @@ -28403,9 +28443,9 @@ type NetworkEndpointGroupCloudRun struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupCloudRun) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupCloudRun) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupCloudRun - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpointGroupLbNetworkEndpointGroup: Load balancing specific fields @@ -28439,9 +28479,9 @@ type NetworkEndpointGroupLbNetworkEndpointGroup struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupLbNetworkEndpointGroup) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupLbNetworkEndpointGroup) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupLbNetworkEndpointGroup - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupList struct { @@ -28478,9 +28518,9 @@ type NetworkEndpointGroupList struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupList) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupList) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpointGroupListWarning: [Output Only] Informational warning @@ -28564,9 +28604,9 @@ type NetworkEndpointGroupListWarning struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupListWarning) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupListWarning) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupListWarningData struct { @@ -28593,9 +28633,9 @@ type NetworkEndpointGroupListWarningData struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupListWarningData) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpointGroupPscData: All data that is specifically relevant to only @@ -28635,9 +28675,9 @@ type NetworkEndpointGroupPscData struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupPscData) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupPscData) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupPscData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpointGroupServerlessDeployment: Configuration for a serverless @@ -28680,9 +28720,9 @@ type NetworkEndpointGroupServerlessDeployment struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupServerlessDeployment) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupServerlessDeployment) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupServerlessDeployment - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupsAttachEndpointsRequest struct { @@ -28701,9 +28741,9 @@ type NetworkEndpointGroupsAttachEndpointsRequest struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupsAttachEndpointsRequest) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupsAttachEndpointsRequest) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupsAttachEndpointsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupsDetachEndpointsRequest struct { @@ -28722,9 +28762,9 @@ type NetworkEndpointGroupsDetachEndpointsRequest struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupsDetachEndpointsRequest) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupsDetachEndpointsRequest) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupsDetachEndpointsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupsListEndpointsRequest struct { @@ -28755,9 +28795,9 @@ type NetworkEndpointGroupsListEndpointsRequest struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupsListEndpointsRequest) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupsListEndpointsRequest) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupsListEndpointsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter struct { @@ -28775,9 +28815,9 @@ type NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupsListNetworkEndpoints struct { @@ -28813,9 +28853,9 @@ type NetworkEndpointGroupsListNetworkEndpoints struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupsListNetworkEndpoints) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupsListNetworkEndpoints) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupsListNetworkEndpoints - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpointGroupsListNetworkEndpointsWarning: [Output Only] @@ -28899,9 +28939,9 @@ type NetworkEndpointGroupsListNetworkEndpointsWarning struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupsListNetworkEndpointsWarning) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupsListNetworkEndpointsWarning) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupsListNetworkEndpointsWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupsListNetworkEndpointsWarningData struct { @@ -28928,9 +28968,9 @@ type NetworkEndpointGroupsListNetworkEndpointsWarningData struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupsListNetworkEndpointsWarningData) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupsListNetworkEndpointsWarningData) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupsListNetworkEndpointsWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupsScopedList struct { @@ -28953,9 +28993,9 @@ type NetworkEndpointGroupsScopedList struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupsScopedList) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupsScopedList) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpointGroupsScopedListWarning: [Output Only] An informational @@ -29040,9 +29080,9 @@ type NetworkEndpointGroupsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupsScopedListWarningData struct { @@ -29069,9 +29109,9 @@ type NetworkEndpointGroupsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointWithHealthStatus struct { @@ -29092,9 +29132,9 @@ type NetworkEndpointWithHealthStatus struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointWithHealthStatus) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointWithHealthStatus) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointWithHealthStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkInterface: A network interface resource attached to an instance. @@ -29205,9 +29245,9 @@ type NetworkInterface struct { NullFields []string `json:"-"` } -func (s *NetworkInterface) MarshalJSON() ([]byte, error) { +func (s NetworkInterface) MarshalJSON() ([]byte, error) { type NoMethod NetworkInterface - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkList: Contains a list of networks. @@ -29245,9 +29285,9 @@ type NetworkList struct { NullFields []string `json:"-"` } -func (s *NetworkList) MarshalJSON() ([]byte, error) { +func (s NetworkList) MarshalJSON() ([]byte, error) { type NoMethod NetworkList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkListWarning: [Output Only] Informational warning message. @@ -29330,9 +29370,9 @@ type NetworkListWarning struct { NullFields []string `json:"-"` } -func (s *NetworkListWarning) MarshalJSON() ([]byte, error) { +func (s NetworkListWarning) MarshalJSON() ([]byte, error) { type NoMethod NetworkListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkListWarningData struct { @@ -29359,9 +29399,9 @@ type NetworkListWarningData struct { NullFields []string `json:"-"` } -func (s *NetworkListWarningData) MarshalJSON() ([]byte, error) { +func (s NetworkListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NetworkListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkPeering: A network peering attached to a network resource. The @@ -29445,9 +29485,9 @@ type NetworkPeering struct { NullFields []string `json:"-"` } -func (s *NetworkPeering) MarshalJSON() ([]byte, error) { +func (s NetworkPeering) MarshalJSON() ([]byte, error) { type NoMethod NetworkPeering - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkPerformanceConfig struct { @@ -29468,9 +29508,9 @@ type NetworkPerformanceConfig struct { NullFields []string `json:"-"` } -func (s *NetworkPerformanceConfig) MarshalJSON() ([]byte, error) { +func (s NetworkPerformanceConfig) MarshalJSON() ([]byte, error) { type NoMethod NetworkPerformanceConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkRoutingConfig: A routing configuration attached to a network @@ -29501,9 +29541,9 @@ type NetworkRoutingConfig struct { NullFields []string `json:"-"` } -func (s *NetworkRoutingConfig) MarshalJSON() ([]byte, error) { +func (s NetworkRoutingConfig) MarshalJSON() ([]byte, error) { type NoMethod NetworkRoutingConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworksAddPeeringRequest struct { @@ -29540,9 +29580,9 @@ type NetworksAddPeeringRequest struct { NullFields []string `json:"-"` } -func (s *NetworksAddPeeringRequest) MarshalJSON() ([]byte, error) { +func (s NetworksAddPeeringRequest) MarshalJSON() ([]byte, error) { type NoMethod NetworksAddPeeringRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworksGetEffectiveFirewallsResponse struct { @@ -29568,9 +29608,9 @@ type NetworksGetEffectiveFirewallsResponse struct { NullFields []string `json:"-"` } -func (s *NetworksGetEffectiveFirewallsResponse) MarshalJSON() ([]byte, error) { +func (s NetworksGetEffectiveFirewallsResponse) MarshalJSON() ([]byte, error) { type NoMethod NetworksGetEffectiveFirewallsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy struct { @@ -29603,9 +29643,9 @@ type NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy struct { NullFields []string `json:"-"` } -func (s *NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy) MarshalJSON() ([]byte, error) { +func (s NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy) MarshalJSON() ([]byte, error) { type NoMethod NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy: A pruned @@ -29629,9 +29669,9 @@ type NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy struct { NullFields []string `json:"-"` } -func (s *NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy) MarshalJSON() ([]byte, error) { +func (s NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy) MarshalJSON() ([]byte, error) { type NoMethod NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworksRemovePeeringRequest struct { @@ -29650,9 +29690,9 @@ type NetworksRemovePeeringRequest struct { NullFields []string `json:"-"` } -func (s *NetworksRemovePeeringRequest) MarshalJSON() ([]byte, error) { +func (s NetworksRemovePeeringRequest) MarshalJSON() ([]byte, error) { type NoMethod NetworksRemovePeeringRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworksUpdatePeeringRequest struct { @@ -29670,9 +29710,9 @@ type NetworksUpdatePeeringRequest struct { NullFields []string `json:"-"` } -func (s *NetworksUpdatePeeringRequest) MarshalJSON() ([]byte, error) { +func (s NetworksUpdatePeeringRequest) MarshalJSON() ([]byte, error) { type NoMethod NetworksUpdatePeeringRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeGroup: Represents a sole-tenant Node Group resource. A sole-tenant node @@ -29781,9 +29821,9 @@ type NodeGroup struct { NullFields []string `json:"-"` } -func (s *NodeGroup) MarshalJSON() ([]byte, error) { +func (s NodeGroup) MarshalJSON() ([]byte, error) { type NoMethod NodeGroup - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupAggregatedList struct { @@ -29822,9 +29862,9 @@ type NodeGroupAggregatedList struct { NullFields []string `json:"-"` } -func (s *NodeGroupAggregatedList) MarshalJSON() ([]byte, error) { +func (s NodeGroupAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeGroupAggregatedListWarning: [Output Only] Informational warning message. @@ -29907,9 +29947,9 @@ type NodeGroupAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *NodeGroupAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s NodeGroupAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupAggregatedListWarningData struct { @@ -29936,9 +29976,9 @@ type NodeGroupAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *NodeGroupAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s NodeGroupAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupAutoscalingPolicy struct { @@ -29970,9 +30010,9 @@ type NodeGroupAutoscalingPolicy struct { NullFields []string `json:"-"` } -func (s *NodeGroupAutoscalingPolicy) MarshalJSON() ([]byte, error) { +func (s NodeGroupAutoscalingPolicy) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupAutoscalingPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeGroupList: Contains a list of nodeGroups. @@ -30010,9 +30050,9 @@ type NodeGroupList struct { NullFields []string `json:"-"` } -func (s *NodeGroupList) MarshalJSON() ([]byte, error) { +func (s NodeGroupList) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeGroupListWarning: [Output Only] Informational warning message. @@ -30095,9 +30135,9 @@ type NodeGroupListWarning struct { NullFields []string `json:"-"` } -func (s *NodeGroupListWarning) MarshalJSON() ([]byte, error) { +func (s NodeGroupListWarning) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupListWarningData struct { @@ -30124,9 +30164,9 @@ type NodeGroupListWarningData struct { NullFields []string `json:"-"` } -func (s *NodeGroupListWarningData) MarshalJSON() ([]byte, error) { +func (s NodeGroupListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeGroupMaintenanceWindow: Time window specified for daily maintenance @@ -30152,9 +30192,9 @@ type NodeGroupMaintenanceWindow struct { NullFields []string `json:"-"` } -func (s *NodeGroupMaintenanceWindow) MarshalJSON() ([]byte, error) { +func (s NodeGroupMaintenanceWindow) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupMaintenanceWindow - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupNode struct { @@ -30211,9 +30251,9 @@ type NodeGroupNode struct { NullFields []string `json:"-"` } -func (s *NodeGroupNode) MarshalJSON() ([]byte, error) { +func (s NodeGroupNode) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupNode - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupsAddNodesRequest struct { @@ -30233,9 +30273,9 @@ type NodeGroupsAddNodesRequest struct { NullFields []string `json:"-"` } -func (s *NodeGroupsAddNodesRequest) MarshalJSON() ([]byte, error) { +func (s NodeGroupsAddNodesRequest) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupsAddNodesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupsDeleteNodesRequest struct { @@ -30254,9 +30294,9 @@ type NodeGroupsDeleteNodesRequest struct { NullFields []string `json:"-"` } -func (s *NodeGroupsDeleteNodesRequest) MarshalJSON() ([]byte, error) { +func (s NodeGroupsDeleteNodesRequest) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupsDeleteNodesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupsListNodes struct { @@ -30294,9 +30334,9 @@ type NodeGroupsListNodes struct { NullFields []string `json:"-"` } -func (s *NodeGroupsListNodes) MarshalJSON() ([]byte, error) { +func (s NodeGroupsListNodes) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupsListNodes - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeGroupsListNodesWarning: [Output Only] Informational warning message. @@ -30379,9 +30419,9 @@ type NodeGroupsListNodesWarning struct { NullFields []string `json:"-"` } -func (s *NodeGroupsListNodesWarning) MarshalJSON() ([]byte, error) { +func (s NodeGroupsListNodesWarning) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupsListNodesWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupsListNodesWarningData struct { @@ -30408,9 +30448,9 @@ type NodeGroupsListNodesWarningData struct { NullFields []string `json:"-"` } -func (s *NodeGroupsListNodesWarningData) MarshalJSON() ([]byte, error) { +func (s NodeGroupsListNodesWarningData) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupsListNodesWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupsPerformMaintenanceRequest struct { @@ -30432,9 +30472,9 @@ type NodeGroupsPerformMaintenanceRequest struct { NullFields []string `json:"-"` } -func (s *NodeGroupsPerformMaintenanceRequest) MarshalJSON() ([]byte, error) { +func (s NodeGroupsPerformMaintenanceRequest) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupsPerformMaintenanceRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupsScopedList struct { @@ -30456,9 +30496,9 @@ type NodeGroupsScopedList struct { NullFields []string `json:"-"` } -func (s *NodeGroupsScopedList) MarshalJSON() ([]byte, error) { +func (s NodeGroupsScopedList) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeGroupsScopedListWarning: [Output Only] An informational warning that @@ -30542,9 +30582,9 @@ type NodeGroupsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *NodeGroupsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s NodeGroupsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupsScopedListWarningData struct { @@ -30571,9 +30611,9 @@ type NodeGroupsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *NodeGroupsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s NodeGroupsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupsSetNodeTemplateRequest struct { @@ -30593,9 +30633,9 @@ type NodeGroupsSetNodeTemplateRequest struct { NullFields []string `json:"-"` } -func (s *NodeGroupsSetNodeTemplateRequest) MarshalJSON() ([]byte, error) { +func (s NodeGroupsSetNodeTemplateRequest) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupsSetNodeTemplateRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupsSimulateMaintenanceEventRequest struct { @@ -30614,9 +30654,9 @@ type NodeGroupsSimulateMaintenanceEventRequest struct { NullFields []string `json:"-"` } -func (s *NodeGroupsSimulateMaintenanceEventRequest) MarshalJSON() ([]byte, error) { +func (s NodeGroupsSimulateMaintenanceEventRequest) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupsSimulateMaintenanceEventRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeTemplate: Represent a sole-tenant Node Template resource. You can use a @@ -30698,9 +30738,9 @@ type NodeTemplate struct { NullFields []string `json:"-"` } -func (s *NodeTemplate) MarshalJSON() ([]byte, error) { +func (s NodeTemplate) MarshalJSON() ([]byte, error) { type NoMethod NodeTemplate - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeTemplateAggregatedList struct { @@ -30739,9 +30779,9 @@ type NodeTemplateAggregatedList struct { NullFields []string `json:"-"` } -func (s *NodeTemplateAggregatedList) MarshalJSON() ([]byte, error) { +func (s NodeTemplateAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod NodeTemplateAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeTemplateAggregatedListWarning: [Output Only] Informational warning @@ -30825,9 +30865,9 @@ type NodeTemplateAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *NodeTemplateAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s NodeTemplateAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NodeTemplateAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeTemplateAggregatedListWarningData struct { @@ -30854,9 +30894,9 @@ type NodeTemplateAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *NodeTemplateAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s NodeTemplateAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NodeTemplateAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeTemplateList: Contains a list of node templates. @@ -30894,9 +30934,9 @@ type NodeTemplateList struct { NullFields []string `json:"-"` } -func (s *NodeTemplateList) MarshalJSON() ([]byte, error) { +func (s NodeTemplateList) MarshalJSON() ([]byte, error) { type NoMethod NodeTemplateList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeTemplateListWarning: [Output Only] Informational warning message. @@ -30979,9 +31019,9 @@ type NodeTemplateListWarning struct { NullFields []string `json:"-"` } -func (s *NodeTemplateListWarning) MarshalJSON() ([]byte, error) { +func (s NodeTemplateListWarning) MarshalJSON() ([]byte, error) { type NoMethod NodeTemplateListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeTemplateListWarningData struct { @@ -31008,9 +31048,9 @@ type NodeTemplateListWarningData struct { NullFields []string `json:"-"` } -func (s *NodeTemplateListWarningData) MarshalJSON() ([]byte, error) { +func (s NodeTemplateListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NodeTemplateListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeTemplateNodeTypeFlexibility struct { @@ -31030,9 +31070,9 @@ type NodeTemplateNodeTypeFlexibility struct { NullFields []string `json:"-"` } -func (s *NodeTemplateNodeTypeFlexibility) MarshalJSON() ([]byte, error) { +func (s NodeTemplateNodeTypeFlexibility) MarshalJSON() ([]byte, error) { type NoMethod NodeTemplateNodeTypeFlexibility - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeTemplatesScopedList struct { @@ -31055,9 +31095,9 @@ type NodeTemplatesScopedList struct { NullFields []string `json:"-"` } -func (s *NodeTemplatesScopedList) MarshalJSON() ([]byte, error) { +func (s NodeTemplatesScopedList) MarshalJSON() ([]byte, error) { type NoMethod NodeTemplatesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeTemplatesScopedListWarning: [Output Only] An informational warning that @@ -31141,9 +31181,9 @@ type NodeTemplatesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *NodeTemplatesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s NodeTemplatesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NodeTemplatesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeTemplatesScopedListWarningData struct { @@ -31170,9 +31210,9 @@ type NodeTemplatesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *NodeTemplatesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s NodeTemplatesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NodeTemplatesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeType: Represent a sole-tenant Node Type resource. Each node within a @@ -31228,9 +31268,9 @@ type NodeType struct { NullFields []string `json:"-"` } -func (s *NodeType) MarshalJSON() ([]byte, error) { +func (s NodeType) MarshalJSON() ([]byte, error) { type NoMethod NodeType - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeTypeAggregatedList struct { @@ -31269,9 +31309,9 @@ type NodeTypeAggregatedList struct { NullFields []string `json:"-"` } -func (s *NodeTypeAggregatedList) MarshalJSON() ([]byte, error) { +func (s NodeTypeAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod NodeTypeAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeTypeAggregatedListWarning: [Output Only] Informational warning message. @@ -31354,9 +31394,9 @@ type NodeTypeAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *NodeTypeAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s NodeTypeAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NodeTypeAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeTypeAggregatedListWarningData struct { @@ -31383,9 +31423,9 @@ type NodeTypeAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *NodeTypeAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s NodeTypeAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NodeTypeAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeTypeList: Contains a list of node types. @@ -31423,9 +31463,9 @@ type NodeTypeList struct { NullFields []string `json:"-"` } -func (s *NodeTypeList) MarshalJSON() ([]byte, error) { +func (s NodeTypeList) MarshalJSON() ([]byte, error) { type NoMethod NodeTypeList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeTypeListWarning: [Output Only] Informational warning message. @@ -31508,9 +31548,9 @@ type NodeTypeListWarning struct { NullFields []string `json:"-"` } -func (s *NodeTypeListWarning) MarshalJSON() ([]byte, error) { +func (s NodeTypeListWarning) MarshalJSON() ([]byte, error) { type NoMethod NodeTypeListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeTypeListWarningData struct { @@ -31537,9 +31577,9 @@ type NodeTypeListWarningData struct { NullFields []string `json:"-"` } -func (s *NodeTypeListWarningData) MarshalJSON() ([]byte, error) { +func (s NodeTypeListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NodeTypeListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeTypesScopedList struct { @@ -31561,9 +31601,9 @@ type NodeTypesScopedList struct { NullFields []string `json:"-"` } -func (s *NodeTypesScopedList) MarshalJSON() ([]byte, error) { +func (s NodeTypesScopedList) MarshalJSON() ([]byte, error) { type NoMethod NodeTypesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeTypesScopedListWarning: [Output Only] An informational warning that @@ -31647,9 +31687,9 @@ type NodeTypesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *NodeTypesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s NodeTypesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NodeTypesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeTypesScopedListWarningData struct { @@ -31676,9 +31716,9 @@ type NodeTypesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *NodeTypesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s NodeTypesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NodeTypesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NotificationEndpoint: Represents a notification endpoint. A notification @@ -31731,9 +31771,9 @@ type NotificationEndpoint struct { NullFields []string `json:"-"` } -func (s *NotificationEndpoint) MarshalJSON() ([]byte, error) { +func (s NotificationEndpoint) MarshalJSON() ([]byte, error) { type NoMethod NotificationEndpoint - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NotificationEndpointGrpcSettings: Represents a gRPC setting that describes @@ -31773,9 +31813,9 @@ type NotificationEndpointGrpcSettings struct { NullFields []string `json:"-"` } -func (s *NotificationEndpointGrpcSettings) MarshalJSON() ([]byte, error) { +func (s NotificationEndpointGrpcSettings) MarshalJSON() ([]byte, error) { type NoMethod NotificationEndpointGrpcSettings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NotificationEndpointList struct { @@ -31812,9 +31852,9 @@ type NotificationEndpointList struct { NullFields []string `json:"-"` } -func (s *NotificationEndpointList) MarshalJSON() ([]byte, error) { +func (s NotificationEndpointList) MarshalJSON() ([]byte, error) { type NoMethod NotificationEndpointList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NotificationEndpointListWarning: [Output Only] Informational warning @@ -31898,9 +31938,9 @@ type NotificationEndpointListWarning struct { NullFields []string `json:"-"` } -func (s *NotificationEndpointListWarning) MarshalJSON() ([]byte, error) { +func (s NotificationEndpointListWarning) MarshalJSON() ([]byte, error) { type NoMethod NotificationEndpointListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NotificationEndpointListWarningData struct { @@ -31927,9 +31967,9 @@ type NotificationEndpointListWarningData struct { NullFields []string `json:"-"` } -func (s *NotificationEndpointListWarningData) MarshalJSON() ([]byte, error) { +func (s NotificationEndpointListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NotificationEndpointListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Operation: Represents an Operation resource. Google Compute Engine has three @@ -32046,9 +32086,9 @@ type Operation struct { NullFields []string `json:"-"` } -func (s *Operation) MarshalJSON() ([]byte, error) { +func (s Operation) MarshalJSON() ([]byte, error) { type NoMethod Operation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // OperationError: [Output Only] If errors are generated during processing of @@ -32070,9 +32110,9 @@ type OperationError struct { NullFields []string `json:"-"` } -func (s *OperationError) MarshalJSON() ([]byte, error) { +func (s OperationError) MarshalJSON() ([]byte, error) { type NoMethod OperationError - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type OperationErrorErrors struct { @@ -32101,9 +32141,9 @@ type OperationErrorErrors struct { NullFields []string `json:"-"` } -func (s *OperationErrorErrors) MarshalJSON() ([]byte, error) { +func (s OperationErrorErrors) MarshalJSON() ([]byte, error) { type NoMethod OperationErrorErrors - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type OperationErrorErrorsErrorDetails struct { @@ -32124,9 +32164,9 @@ type OperationErrorErrorsErrorDetails struct { NullFields []string `json:"-"` } -func (s *OperationErrorErrorsErrorDetails) MarshalJSON() ([]byte, error) { +func (s OperationErrorErrorsErrorDetails) MarshalJSON() ([]byte, error) { type NoMethod OperationErrorErrorsErrorDetails - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type OperationWarnings struct { @@ -32208,9 +32248,9 @@ type OperationWarnings struct { NullFields []string `json:"-"` } -func (s *OperationWarnings) MarshalJSON() ([]byte, error) { +func (s OperationWarnings) MarshalJSON() ([]byte, error) { type NoMethod OperationWarnings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type OperationWarningsData struct { @@ -32237,9 +32277,9 @@ type OperationWarningsData struct { NullFields []string `json:"-"` } -func (s *OperationWarningsData) MarshalJSON() ([]byte, error) { +func (s OperationWarningsData) MarshalJSON() ([]byte, error) { type NoMethod OperationWarningsData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type OperationAggregatedList struct { @@ -32279,9 +32319,9 @@ type OperationAggregatedList struct { NullFields []string `json:"-"` } -func (s *OperationAggregatedList) MarshalJSON() ([]byte, error) { +func (s OperationAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod OperationAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // OperationAggregatedListWarning: [Output Only] Informational warning message. @@ -32364,9 +32404,9 @@ type OperationAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *OperationAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s OperationAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod OperationAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type OperationAggregatedListWarningData struct { @@ -32393,9 +32433,9 @@ type OperationAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *OperationAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s OperationAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod OperationAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // OperationList: Contains a list of Operation resources. @@ -32434,9 +32474,9 @@ type OperationList struct { NullFields []string `json:"-"` } -func (s *OperationList) MarshalJSON() ([]byte, error) { +func (s OperationList) MarshalJSON() ([]byte, error) { type NoMethod OperationList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // OperationListWarning: [Output Only] Informational warning message. @@ -32519,9 +32559,9 @@ type OperationListWarning struct { NullFields []string `json:"-"` } -func (s *OperationListWarning) MarshalJSON() ([]byte, error) { +func (s OperationListWarning) MarshalJSON() ([]byte, error) { type NoMethod OperationListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type OperationListWarningData struct { @@ -32548,9 +32588,9 @@ type OperationListWarningData struct { NullFields []string `json:"-"` } -func (s *OperationListWarningData) MarshalJSON() ([]byte, error) { +func (s OperationListWarningData) MarshalJSON() ([]byte, error) { type NoMethod OperationListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type OperationsScopedList struct { @@ -32572,9 +32612,9 @@ type OperationsScopedList struct { NullFields []string `json:"-"` } -func (s *OperationsScopedList) MarshalJSON() ([]byte, error) { +func (s OperationsScopedList) MarshalJSON() ([]byte, error) { type NoMethod OperationsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // OperationsScopedListWarning: [Output Only] Informational warning which @@ -32658,9 +32698,9 @@ type OperationsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *OperationsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s OperationsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod OperationsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type OperationsScopedListWarningData struct { @@ -32687,9 +32727,9 @@ type OperationsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *OperationsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s OperationsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod OperationsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type OrganizationSecurityPoliciesListAssociationsResponse struct { @@ -32715,9 +32755,9 @@ type OrganizationSecurityPoliciesListAssociationsResponse struct { NullFields []string `json:"-"` } -func (s *OrganizationSecurityPoliciesListAssociationsResponse) MarshalJSON() ([]byte, error) { +func (s OrganizationSecurityPoliciesListAssociationsResponse) MarshalJSON() ([]byte, error) { type NoMethod OrganizationSecurityPoliciesListAssociationsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // OutlierDetection: Settings controlling the eviction of unhealthy hosts from @@ -32799,9 +32839,9 @@ type OutlierDetection struct { NullFields []string `json:"-"` } -func (s *OutlierDetection) MarshalJSON() ([]byte, error) { +func (s OutlierDetection) MarshalJSON() ([]byte, error) { type NoMethod OutlierDetection - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PacketIntervals: Next free: 7 @@ -32845,9 +32885,9 @@ type PacketIntervals struct { NullFields []string `json:"-"` } -func (s *PacketIntervals) MarshalJSON() ([]byte, error) { +func (s PacketIntervals) MarshalJSON() ([]byte, error) { type NoMethod PacketIntervals - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PacketMirroring: Represents a Packet Mirroring resource. Packet Mirroring @@ -32926,9 +32966,9 @@ type PacketMirroring struct { NullFields []string `json:"-"` } -func (s *PacketMirroring) MarshalJSON() ([]byte, error) { +func (s PacketMirroring) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroring - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PacketMirroringAggregatedList: Contains a list of packetMirrorings. @@ -32967,9 +33007,9 @@ type PacketMirroringAggregatedList struct { NullFields []string `json:"-"` } -func (s *PacketMirroringAggregatedList) MarshalJSON() ([]byte, error) { +func (s PacketMirroringAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PacketMirroringAggregatedListWarning: [Output Only] Informational warning @@ -33053,9 +33093,9 @@ type PacketMirroringAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *PacketMirroringAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s PacketMirroringAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PacketMirroringAggregatedListWarningData struct { @@ -33082,9 +33122,9 @@ type PacketMirroringAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *PacketMirroringAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s PacketMirroringAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PacketMirroringFilter struct { @@ -33121,9 +33161,9 @@ type PacketMirroringFilter struct { NullFields []string `json:"-"` } -func (s *PacketMirroringFilter) MarshalJSON() ([]byte, error) { +func (s PacketMirroringFilter) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringFilter - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PacketMirroringForwardingRuleInfo struct { @@ -33146,9 +33186,9 @@ type PacketMirroringForwardingRuleInfo struct { NullFields []string `json:"-"` } -func (s *PacketMirroringForwardingRuleInfo) MarshalJSON() ([]byte, error) { +func (s PacketMirroringForwardingRuleInfo) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringForwardingRuleInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PacketMirroringList: Contains a list of PacketMirroring resources. @@ -33186,9 +33226,9 @@ type PacketMirroringList struct { NullFields []string `json:"-"` } -func (s *PacketMirroringList) MarshalJSON() ([]byte, error) { +func (s PacketMirroringList) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PacketMirroringListWarning: [Output Only] Informational warning message. @@ -33271,9 +33311,9 @@ type PacketMirroringListWarning struct { NullFields []string `json:"-"` } -func (s *PacketMirroringListWarning) MarshalJSON() ([]byte, error) { +func (s PacketMirroringListWarning) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PacketMirroringListWarningData struct { @@ -33300,9 +33340,9 @@ type PacketMirroringListWarningData struct { NullFields []string `json:"-"` } -func (s *PacketMirroringListWarningData) MarshalJSON() ([]byte, error) { +func (s PacketMirroringListWarningData) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PacketMirroringMirroredResourceInfo struct { @@ -33332,9 +33372,9 @@ type PacketMirroringMirroredResourceInfo struct { NullFields []string `json:"-"` } -func (s *PacketMirroringMirroredResourceInfo) MarshalJSON() ([]byte, error) { +func (s PacketMirroringMirroredResourceInfo) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringMirroredResourceInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PacketMirroringMirroredResourceInfoInstanceInfo struct { @@ -33356,9 +33396,9 @@ type PacketMirroringMirroredResourceInfoInstanceInfo struct { NullFields []string `json:"-"` } -func (s *PacketMirroringMirroredResourceInfoInstanceInfo) MarshalJSON() ([]byte, error) { +func (s PacketMirroringMirroredResourceInfoInstanceInfo) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringMirroredResourceInfoInstanceInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PacketMirroringMirroredResourceInfoSubnetInfo struct { @@ -33381,9 +33421,9 @@ type PacketMirroringMirroredResourceInfoSubnetInfo struct { NullFields []string `json:"-"` } -func (s *PacketMirroringMirroredResourceInfoSubnetInfo) MarshalJSON() ([]byte, error) { +func (s PacketMirroringMirroredResourceInfoSubnetInfo) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringMirroredResourceInfoSubnetInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PacketMirroringNetworkInfo struct { @@ -33405,9 +33445,9 @@ type PacketMirroringNetworkInfo struct { NullFields []string `json:"-"` } -func (s *PacketMirroringNetworkInfo) MarshalJSON() ([]byte, error) { +func (s PacketMirroringNetworkInfo) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringNetworkInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PacketMirroringsScopedList struct { @@ -33429,9 +33469,9 @@ type PacketMirroringsScopedList struct { NullFields []string `json:"-"` } -func (s *PacketMirroringsScopedList) MarshalJSON() ([]byte, error) { +func (s PacketMirroringsScopedList) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PacketMirroringsScopedListWarning: Informational warning which replaces the @@ -33515,9 +33555,9 @@ type PacketMirroringsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *PacketMirroringsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s PacketMirroringsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PacketMirroringsScopedListWarningData struct { @@ -33544,9 +33584,9 @@ type PacketMirroringsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *PacketMirroringsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s PacketMirroringsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PartnerMetadata: Model definition of partner_metadata field. To be used in @@ -33577,9 +33617,9 @@ type PartnerMetadata struct { NullFields []string `json:"-"` } -func (s *PartnerMetadata) MarshalJSON() ([]byte, error) { +func (s PartnerMetadata) MarshalJSON() ([]byte, error) { type NoMethod PartnerMetadata - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PathMatcher: A matcher for the path portion of the URL. The BackendService @@ -33690,9 +33730,9 @@ type PathMatcher struct { NullFields []string `json:"-"` } -func (s *PathMatcher) MarshalJSON() ([]byte, error) { +func (s PathMatcher) MarshalJSON() ([]byte, error) { type NoMethod PathMatcher - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PathRule: A path-matching rule for a URL. If matched, will use the specified @@ -33760,9 +33800,9 @@ type PathRule struct { NullFields []string `json:"-"` } -func (s *PathRule) MarshalJSON() ([]byte, error) { +func (s PathRule) MarshalJSON() ([]byte, error) { type NoMethod PathRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PerInstanceConfig struct { @@ -33814,9 +33854,9 @@ type PerInstanceConfig struct { NullFields []string `json:"-"` } -func (s *PerInstanceConfig) MarshalJSON() ([]byte, error) { +func (s PerInstanceConfig) MarshalJSON() ([]byte, error) { type NoMethod PerInstanceConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Policy: An Identity and Access Management (IAM) policy, which specifies @@ -33908,9 +33948,9 @@ type Policy struct { NullFields []string `json:"-"` } -func (s *Policy) MarshalJSON() ([]byte, error) { +func (s Policy) MarshalJSON() ([]byte, error) { type NoMethod Policy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PreconfiguredWafSet struct { @@ -33929,9 +33969,9 @@ type PreconfiguredWafSet struct { NullFields []string `json:"-"` } -func (s *PreconfiguredWafSet) MarshalJSON() ([]byte, error) { +func (s PreconfiguredWafSet) MarshalJSON() ([]byte, error) { type NoMethod PreconfiguredWafSet - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PreservedState: Preserved state for a given instance. @@ -33960,9 +34000,9 @@ type PreservedState struct { NullFields []string `json:"-"` } -func (s *PreservedState) MarshalJSON() ([]byte, error) { +func (s PreservedState) MarshalJSON() ([]byte, error) { type NoMethod PreservedState - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PreservedStatePreservedDisk struct { @@ -34001,9 +34041,9 @@ type PreservedStatePreservedDisk struct { NullFields []string `json:"-"` } -func (s *PreservedStatePreservedDisk) MarshalJSON() ([]byte, error) { +func (s PreservedStatePreservedDisk) MarshalJSON() ([]byte, error) { type NoMethod PreservedStatePreservedDisk - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PreservedStatePreservedNetworkIp struct { @@ -34031,9 +34071,9 @@ type PreservedStatePreservedNetworkIp struct { NullFields []string `json:"-"` } -func (s *PreservedStatePreservedNetworkIp) MarshalJSON() ([]byte, error) { +func (s PreservedStatePreservedNetworkIp) MarshalJSON() ([]byte, error) { type NoMethod PreservedStatePreservedNetworkIp - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PreservedStatePreservedNetworkIpIpAddress struct { @@ -34055,9 +34095,9 @@ type PreservedStatePreservedNetworkIpIpAddress struct { NullFields []string `json:"-"` } -func (s *PreservedStatePreservedNetworkIpIpAddress) MarshalJSON() ([]byte, error) { +func (s PreservedStatePreservedNetworkIpIpAddress) MarshalJSON() ([]byte, error) { type NoMethod PreservedStatePreservedNetworkIpIpAddress - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Project: Represents a Project resource. A project is used to organize @@ -34158,9 +34198,9 @@ type Project struct { NullFields []string `json:"-"` } -func (s *Project) MarshalJSON() ([]byte, error) { +func (s Project) MarshalJSON() ([]byte, error) { type NoMethod Project - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ProjectsDisableXpnResourceRequest struct { @@ -34179,9 +34219,9 @@ type ProjectsDisableXpnResourceRequest struct { NullFields []string `json:"-"` } -func (s *ProjectsDisableXpnResourceRequest) MarshalJSON() ([]byte, error) { +func (s ProjectsDisableXpnResourceRequest) MarshalJSON() ([]byte, error) { type NoMethod ProjectsDisableXpnResourceRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ProjectsEnableXpnResourceRequest struct { @@ -34200,9 +34240,9 @@ type ProjectsEnableXpnResourceRequest struct { NullFields []string `json:"-"` } -func (s *ProjectsEnableXpnResourceRequest) MarshalJSON() ([]byte, error) { +func (s ProjectsEnableXpnResourceRequest) MarshalJSON() ([]byte, error) { type NoMethod ProjectsEnableXpnResourceRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ProjectsGetXpnResources struct { @@ -34234,9 +34274,9 @@ type ProjectsGetXpnResources struct { NullFields []string `json:"-"` } -func (s *ProjectsGetXpnResources) MarshalJSON() ([]byte, error) { +func (s ProjectsGetXpnResources) MarshalJSON() ([]byte, error) { type NoMethod ProjectsGetXpnResources - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ProjectsListXpnHostsRequest struct { @@ -34257,9 +34297,9 @@ type ProjectsListXpnHostsRequest struct { NullFields []string `json:"-"` } -func (s *ProjectsListXpnHostsRequest) MarshalJSON() ([]byte, error) { +func (s ProjectsListXpnHostsRequest) MarshalJSON() ([]byte, error) { type NoMethod ProjectsListXpnHostsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ProjectsSetCloudArmorTierRequest struct { @@ -34283,9 +34323,9 @@ type ProjectsSetCloudArmorTierRequest struct { NullFields []string `json:"-"` } -func (s *ProjectsSetCloudArmorTierRequest) MarshalJSON() ([]byte, error) { +func (s ProjectsSetCloudArmorTierRequest) MarshalJSON() ([]byte, error) { type NoMethod ProjectsSetCloudArmorTierRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ProjectsSetDefaultNetworkTierRequest struct { @@ -34313,9 +34353,9 @@ type ProjectsSetDefaultNetworkTierRequest struct { NullFields []string `json:"-"` } -func (s *ProjectsSetDefaultNetworkTierRequest) MarshalJSON() ([]byte, error) { +func (s ProjectsSetDefaultNetworkTierRequest) MarshalJSON() ([]byte, error) { type NoMethod ProjectsSetDefaultNetworkTierRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ProjectsSetManagedProtectionTierRequest struct { @@ -34339,9 +34379,9 @@ type ProjectsSetManagedProtectionTierRequest struct { NullFields []string `json:"-"` } -func (s *ProjectsSetManagedProtectionTierRequest) MarshalJSON() ([]byte, error) { +func (s ProjectsSetManagedProtectionTierRequest) MarshalJSON() ([]byte, error) { type NoMethod ProjectsSetManagedProtectionTierRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PublicAdvertisedPrefix: A public advertised prefix represents an aggregated @@ -34451,9 +34491,9 @@ type PublicAdvertisedPrefix struct { NullFields []string `json:"-"` } -func (s *PublicAdvertisedPrefix) MarshalJSON() ([]byte, error) { +func (s PublicAdvertisedPrefix) MarshalJSON() ([]byte, error) { type NoMethod PublicAdvertisedPrefix - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PublicAdvertisedPrefixList struct { @@ -34490,9 +34530,9 @@ type PublicAdvertisedPrefixList struct { NullFields []string `json:"-"` } -func (s *PublicAdvertisedPrefixList) MarshalJSON() ([]byte, error) { +func (s PublicAdvertisedPrefixList) MarshalJSON() ([]byte, error) { type NoMethod PublicAdvertisedPrefixList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PublicAdvertisedPrefixListWarning: [Output Only] Informational warning @@ -34576,9 +34616,9 @@ type PublicAdvertisedPrefixListWarning struct { NullFields []string `json:"-"` } -func (s *PublicAdvertisedPrefixListWarning) MarshalJSON() ([]byte, error) { +func (s PublicAdvertisedPrefixListWarning) MarshalJSON() ([]byte, error) { type NoMethod PublicAdvertisedPrefixListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PublicAdvertisedPrefixListWarningData struct { @@ -34605,9 +34645,9 @@ type PublicAdvertisedPrefixListWarningData struct { NullFields []string `json:"-"` } -func (s *PublicAdvertisedPrefixListWarningData) MarshalJSON() ([]byte, error) { +func (s PublicAdvertisedPrefixListWarningData) MarshalJSON() ([]byte, error) { type NoMethod PublicAdvertisedPrefixListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PublicAdvertisedPrefixPublicDelegatedPrefix: Represents a CIDR range which @@ -34639,9 +34679,9 @@ type PublicAdvertisedPrefixPublicDelegatedPrefix struct { NullFields []string `json:"-"` } -func (s *PublicAdvertisedPrefixPublicDelegatedPrefix) MarshalJSON() ([]byte, error) { +func (s PublicAdvertisedPrefixPublicDelegatedPrefix) MarshalJSON() ([]byte, error) { type NoMethod PublicAdvertisedPrefixPublicDelegatedPrefix - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PublicDelegatedPrefix: A PublicDelegatedPrefix resource represents an IP @@ -34752,9 +34792,9 @@ type PublicDelegatedPrefix struct { NullFields []string `json:"-"` } -func (s *PublicDelegatedPrefix) MarshalJSON() ([]byte, error) { +func (s PublicDelegatedPrefix) MarshalJSON() ([]byte, error) { type NoMethod PublicDelegatedPrefix - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PublicDelegatedPrefixAggregatedList struct { @@ -34794,9 +34834,9 @@ type PublicDelegatedPrefixAggregatedList struct { NullFields []string `json:"-"` } -func (s *PublicDelegatedPrefixAggregatedList) MarshalJSON() ([]byte, error) { +func (s PublicDelegatedPrefixAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod PublicDelegatedPrefixAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PublicDelegatedPrefixAggregatedListWarning: [Output Only] Informational @@ -34880,9 +34920,9 @@ type PublicDelegatedPrefixAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *PublicDelegatedPrefixAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s PublicDelegatedPrefixAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod PublicDelegatedPrefixAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PublicDelegatedPrefixAggregatedListWarningData struct { @@ -34909,9 +34949,9 @@ type PublicDelegatedPrefixAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *PublicDelegatedPrefixAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s PublicDelegatedPrefixAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod PublicDelegatedPrefixAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PublicDelegatedPrefixList struct { @@ -34948,9 +34988,9 @@ type PublicDelegatedPrefixList struct { NullFields []string `json:"-"` } -func (s *PublicDelegatedPrefixList) MarshalJSON() ([]byte, error) { +func (s PublicDelegatedPrefixList) MarshalJSON() ([]byte, error) { type NoMethod PublicDelegatedPrefixList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PublicDelegatedPrefixListWarning: [Output Only] Informational warning @@ -35034,9 +35074,9 @@ type PublicDelegatedPrefixListWarning struct { NullFields []string `json:"-"` } -func (s *PublicDelegatedPrefixListWarning) MarshalJSON() ([]byte, error) { +func (s PublicDelegatedPrefixListWarning) MarshalJSON() ([]byte, error) { type NoMethod PublicDelegatedPrefixListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PublicDelegatedPrefixListWarningData struct { @@ -35063,9 +35103,9 @@ type PublicDelegatedPrefixListWarningData struct { NullFields []string `json:"-"` } -func (s *PublicDelegatedPrefixListWarningData) MarshalJSON() ([]byte, error) { +func (s PublicDelegatedPrefixListWarningData) MarshalJSON() ([]byte, error) { type NoMethod PublicDelegatedPrefixListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PublicDelegatedPrefixPublicDelegatedSubPrefix: Represents a sub @@ -35118,9 +35158,9 @@ type PublicDelegatedPrefixPublicDelegatedSubPrefix struct { NullFields []string `json:"-"` } -func (s *PublicDelegatedPrefixPublicDelegatedSubPrefix) MarshalJSON() ([]byte, error) { +func (s PublicDelegatedPrefixPublicDelegatedSubPrefix) MarshalJSON() ([]byte, error) { type NoMethod PublicDelegatedPrefixPublicDelegatedSubPrefix - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PublicDelegatedPrefixesScopedList struct { @@ -35143,9 +35183,9 @@ type PublicDelegatedPrefixesScopedList struct { NullFields []string `json:"-"` } -func (s *PublicDelegatedPrefixesScopedList) MarshalJSON() ([]byte, error) { +func (s PublicDelegatedPrefixesScopedList) MarshalJSON() ([]byte, error) { type NoMethod PublicDelegatedPrefixesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PublicDelegatedPrefixesScopedListWarning: [Output Only] Informational @@ -35230,9 +35270,9 @@ type PublicDelegatedPrefixesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *PublicDelegatedPrefixesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s PublicDelegatedPrefixesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod PublicDelegatedPrefixesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PublicDelegatedPrefixesScopedListWarningData struct { @@ -35259,9 +35299,9 @@ type PublicDelegatedPrefixesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *PublicDelegatedPrefixesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s PublicDelegatedPrefixesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod PublicDelegatedPrefixesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Quota: A quotas entry. @@ -35455,9 +35495,9 @@ type Quota struct { NullFields []string `json:"-"` } -func (s *Quota) MarshalJSON() ([]byte, error) { +func (s Quota) MarshalJSON() ([]byte, error) { type NoMethod Quota - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *Quota) UnmarshalJSON(data []byte) error { @@ -35512,9 +35552,9 @@ type QuotaExceededInfo struct { NullFields []string `json:"-"` } -func (s *QuotaExceededInfo) MarshalJSON() ([]byte, error) { +func (s QuotaExceededInfo) MarshalJSON() ([]byte, error) { type NoMethod QuotaExceededInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *QuotaExceededInfo) UnmarshalJSON(data []byte) error { @@ -35558,9 +35598,9 @@ type Reference struct { NullFields []string `json:"-"` } -func (s *Reference) MarshalJSON() ([]byte, error) { +func (s Reference) MarshalJSON() ([]byte, error) { type NoMethod Reference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Region: Represents a Region resource. A region is a geographical area where @@ -35615,9 +35655,9 @@ type Region struct { NullFields []string `json:"-"` } -func (s *Region) MarshalJSON() ([]byte, error) { +func (s Region) MarshalJSON() ([]byte, error) { type NoMethod Region - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionQuotaStatusWarning: [Output Only] Warning of fetching the `quotas` @@ -35702,9 +35742,9 @@ type RegionQuotaStatusWarning struct { NullFields []string `json:"-"` } -func (s *RegionQuotaStatusWarning) MarshalJSON() ([]byte, error) { +func (s RegionQuotaStatusWarning) MarshalJSON() ([]byte, error) { type NoMethod RegionQuotaStatusWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionQuotaStatusWarningData struct { @@ -35731,9 +35771,9 @@ type RegionQuotaStatusWarningData struct { NullFields []string `json:"-"` } -func (s *RegionQuotaStatusWarningData) MarshalJSON() ([]byte, error) { +func (s RegionQuotaStatusWarningData) MarshalJSON() ([]byte, error) { type NoMethod RegionQuotaStatusWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionAddressesMoveRequest struct { @@ -35761,9 +35801,9 @@ type RegionAddressesMoveRequest struct { NullFields []string `json:"-"` } -func (s *RegionAddressesMoveRequest) MarshalJSON() ([]byte, error) { +func (s RegionAddressesMoveRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionAddressesMoveRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionAutoscalerList: Contains a list of autoscalers. @@ -35800,9 +35840,9 @@ type RegionAutoscalerList struct { NullFields []string `json:"-"` } -func (s *RegionAutoscalerList) MarshalJSON() ([]byte, error) { +func (s RegionAutoscalerList) MarshalJSON() ([]byte, error) { type NoMethod RegionAutoscalerList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionAutoscalerListWarning: [Output Only] Informational warning message. @@ -35885,9 +35925,9 @@ type RegionAutoscalerListWarning struct { NullFields []string `json:"-"` } -func (s *RegionAutoscalerListWarning) MarshalJSON() ([]byte, error) { +func (s RegionAutoscalerListWarning) MarshalJSON() ([]byte, error) { type NoMethod RegionAutoscalerListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionAutoscalerListWarningData struct { @@ -35914,9 +35954,9 @@ type RegionAutoscalerListWarningData struct { NullFields []string `json:"-"` } -func (s *RegionAutoscalerListWarningData) MarshalJSON() ([]byte, error) { +func (s RegionAutoscalerListWarningData) MarshalJSON() ([]byte, error) { type NoMethod RegionAutoscalerListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionCommitmentsUpdateReservationsRequest struct { @@ -35936,9 +35976,9 @@ type RegionCommitmentsUpdateReservationsRequest struct { NullFields []string `json:"-"` } -func (s *RegionCommitmentsUpdateReservationsRequest) MarshalJSON() ([]byte, error) { +func (s RegionCommitmentsUpdateReservationsRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionCommitmentsUpdateReservationsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionDiskTypeList struct { @@ -35975,9 +36015,9 @@ type RegionDiskTypeList struct { NullFields []string `json:"-"` } -func (s *RegionDiskTypeList) MarshalJSON() ([]byte, error) { +func (s RegionDiskTypeList) MarshalJSON() ([]byte, error) { type NoMethod RegionDiskTypeList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionDiskTypeListWarning: [Output Only] Informational warning message. @@ -36060,9 +36100,9 @@ type RegionDiskTypeListWarning struct { NullFields []string `json:"-"` } -func (s *RegionDiskTypeListWarning) MarshalJSON() ([]byte, error) { +func (s RegionDiskTypeListWarning) MarshalJSON() ([]byte, error) { type NoMethod RegionDiskTypeListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionDiskTypeListWarningData struct { @@ -36089,9 +36129,9 @@ type RegionDiskTypeListWarningData struct { NullFields []string `json:"-"` } -func (s *RegionDiskTypeListWarningData) MarshalJSON() ([]byte, error) { +func (s RegionDiskTypeListWarningData) MarshalJSON() ([]byte, error) { type NoMethod RegionDiskTypeListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionDisksAddResourcePoliciesRequest struct { @@ -36110,9 +36150,9 @@ type RegionDisksAddResourcePoliciesRequest struct { NullFields []string `json:"-"` } -func (s *RegionDisksAddResourcePoliciesRequest) MarshalJSON() ([]byte, error) { +func (s RegionDisksAddResourcePoliciesRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionDisksAddResourcePoliciesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionDisksRemoveResourcePoliciesRequest struct { @@ -36131,9 +36171,9 @@ type RegionDisksRemoveResourcePoliciesRequest struct { NullFields []string `json:"-"` } -func (s *RegionDisksRemoveResourcePoliciesRequest) MarshalJSON() ([]byte, error) { +func (s RegionDisksRemoveResourcePoliciesRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionDisksRemoveResourcePoliciesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionDisksResizeRequest struct { @@ -36153,9 +36193,9 @@ type RegionDisksResizeRequest struct { NullFields []string `json:"-"` } -func (s *RegionDisksResizeRequest) MarshalJSON() ([]byte, error) { +func (s RegionDisksResizeRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionDisksResizeRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionDisksStartAsyncReplicationRequest struct { @@ -36182,9 +36222,9 @@ type RegionDisksStartAsyncReplicationRequest struct { NullFields []string `json:"-"` } -func (s *RegionDisksStartAsyncReplicationRequest) MarshalJSON() ([]byte, error) { +func (s RegionDisksStartAsyncReplicationRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionDisksStartAsyncReplicationRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionInstanceGroupList: Contains a list of InstanceGroup resources. @@ -36221,9 +36261,9 @@ type RegionInstanceGroupList struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupList) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupList) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionInstanceGroupListWarning: [Output Only] Informational warning message. @@ -36306,9 +36346,9 @@ type RegionInstanceGroupListWarning struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupListWarning) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupListWarning) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupListWarningData struct { @@ -36335,9 +36375,9 @@ type RegionInstanceGroupListWarningData struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupListWarningData) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupListWarningData) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionInstanceGroupManagerDeleteInstanceConfigReq: @@ -36359,9 +36399,9 @@ type RegionInstanceGroupManagerDeleteInstanceConfigReq struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagerDeleteInstanceConfigReq) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagerDeleteInstanceConfigReq) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagerDeleteInstanceConfigReq - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionInstanceGroupManagerList: Contains a list of managed instance groups. @@ -36400,9 +36440,9 @@ type RegionInstanceGroupManagerList struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagerList) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagerList) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagerList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionInstanceGroupManagerListWarning: [Output Only] Informational warning @@ -36486,9 +36526,9 @@ type RegionInstanceGroupManagerListWarning struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagerListWarning) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagerListWarning) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagerListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagerListWarningData struct { @@ -36515,9 +36555,9 @@ type RegionInstanceGroupManagerListWarningData struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagerListWarningData) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagerListWarningData) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagerListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionInstanceGroupManagerPatchInstanceConfigReq: @@ -36539,9 +36579,9 @@ type RegionInstanceGroupManagerPatchInstanceConfigReq struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagerPatchInstanceConfigReq) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagerPatchInstanceConfigReq) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagerPatchInstanceConfigReq - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionInstanceGroupManagerUpdateInstanceConfigReq: @@ -36563,9 +36603,9 @@ type RegionInstanceGroupManagerUpdateInstanceConfigReq struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagerUpdateInstanceConfigReq) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagerUpdateInstanceConfigReq) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagerUpdateInstanceConfigReq - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersAbandonInstancesRequest struct { @@ -36585,9 +36625,9 @@ type RegionInstanceGroupManagersAbandonInstancesRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersAbandonInstancesRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersAbandonInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersAbandonInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionInstanceGroupManagersApplyUpdatesRequest: @@ -36644,9 +36684,9 @@ type RegionInstanceGroupManagersApplyUpdatesRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersApplyUpdatesRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersApplyUpdatesRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersApplyUpdatesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionInstanceGroupManagersCreateInstancesRequest: @@ -36667,9 +36707,9 @@ type RegionInstanceGroupManagersCreateInstancesRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersCreateInstancesRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersCreateInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersCreateInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersDeleteInstancesRequest struct { @@ -36697,9 +36737,9 @@ type RegionInstanceGroupManagersDeleteInstancesRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersDeleteInstancesRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersDeleteInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersDeleteInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersListErrorsResponse struct { @@ -36727,9 +36767,9 @@ type RegionInstanceGroupManagersListErrorsResponse struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersListErrorsResponse) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersListErrorsResponse) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersListErrorsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersListInstanceConfigsResp struct { @@ -36759,9 +36799,9 @@ type RegionInstanceGroupManagersListInstanceConfigsResp struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersListInstanceConfigsResp) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersListInstanceConfigsResp) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersListInstanceConfigsResp - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionInstanceGroupManagersListInstanceConfigsRespWarning: [Output Only] @@ -36845,9 +36885,9 @@ type RegionInstanceGroupManagersListInstanceConfigsRespWarning struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersListInstanceConfigsRespWarning) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersListInstanceConfigsRespWarning) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersListInstanceConfigsRespWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersListInstanceConfigsRespWarningData struct { @@ -36874,9 +36914,9 @@ type RegionInstanceGroupManagersListInstanceConfigsRespWarningData struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersListInstanceConfigsRespWarningData) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersListInstanceConfigsRespWarningData) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersListInstanceConfigsRespWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersListInstancesResponse struct { @@ -36904,9 +36944,9 @@ type RegionInstanceGroupManagersListInstancesResponse struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersListInstancesResponse) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersListInstancesResponse) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersListInstancesResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersRecreateRequest struct { @@ -36926,9 +36966,9 @@ type RegionInstanceGroupManagersRecreateRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersRecreateRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersRecreateRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersRecreateRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersResizeAdvancedRequest struct { @@ -36964,9 +37004,9 @@ type RegionInstanceGroupManagersResizeAdvancedRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersResizeAdvancedRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersResizeAdvancedRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersResizeAdvancedRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersResumeInstancesRequest struct { @@ -36986,9 +37026,9 @@ type RegionInstanceGroupManagersResumeInstancesRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersResumeInstancesRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersResumeInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersResumeInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersSetAutoHealingRequest struct { @@ -37006,9 +37046,9 @@ type RegionInstanceGroupManagersSetAutoHealingRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersSetAutoHealingRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersSetAutoHealingRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersSetAutoHealingRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersSetTargetPoolsRequest struct { @@ -37033,9 +37073,9 @@ type RegionInstanceGroupManagersSetTargetPoolsRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersSetTargetPoolsRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersSetTargetPoolsRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersSetTargetPoolsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersSetTemplateRequest struct { @@ -37055,9 +37095,9 @@ type RegionInstanceGroupManagersSetTemplateRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersSetTemplateRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersSetTemplateRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersSetTemplateRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersStartInstancesRequest struct { @@ -37077,9 +37117,9 @@ type RegionInstanceGroupManagersStartInstancesRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersStartInstancesRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersStartInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersStartInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersStopInstancesRequest struct { @@ -37102,9 +37142,9 @@ type RegionInstanceGroupManagersStopInstancesRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersStopInstancesRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersStopInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersStopInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersSuspendInstancesRequest struct { @@ -37127,9 +37167,9 @@ type RegionInstanceGroupManagersSuspendInstancesRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersSuspendInstancesRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersSuspendInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersSuspendInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupsListInstances struct { @@ -37165,9 +37205,9 @@ type RegionInstanceGroupsListInstances struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupsListInstances) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupsListInstances) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupsListInstances - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionInstanceGroupsListInstancesWarning: [Output Only] Informational @@ -37251,9 +37291,9 @@ type RegionInstanceGroupsListInstancesWarning struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupsListInstancesWarning) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupsListInstancesWarning) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupsListInstancesWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupsListInstancesWarningData struct { @@ -37280,9 +37320,9 @@ type RegionInstanceGroupsListInstancesWarningData struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupsListInstancesWarningData) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupsListInstancesWarningData) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupsListInstancesWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupsListInstancesRequest struct { @@ -37311,9 +37351,9 @@ type RegionInstanceGroupsListInstancesRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupsListInstancesRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupsListInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupsListInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupsSetNamedPortsRequest struct { @@ -37339,9 +37379,9 @@ type RegionInstanceGroupsSetNamedPortsRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupsSetNamedPortsRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupsSetNamedPortsRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupsSetNamedPortsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionList: Contains a list of region resources. @@ -37379,9 +37419,9 @@ type RegionList struct { NullFields []string `json:"-"` } -func (s *RegionList) MarshalJSON() ([]byte, error) { +func (s RegionList) MarshalJSON() ([]byte, error) { type NoMethod RegionList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionListWarning: [Output Only] Informational warning message. @@ -37464,9 +37504,9 @@ type RegionListWarning struct { NullFields []string `json:"-"` } -func (s *RegionListWarning) MarshalJSON() ([]byte, error) { +func (s RegionListWarning) MarshalJSON() ([]byte, error) { type NoMethod RegionListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionListWarningData struct { @@ -37493,9 +37533,9 @@ type RegionListWarningData struct { NullFields []string `json:"-"` } -func (s *RegionListWarningData) MarshalJSON() ([]byte, error) { +func (s RegionListWarningData) MarshalJSON() ([]byte, error) { type NoMethod RegionListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionNetworkEndpointGroupsAttachEndpointsRequest struct { @@ -37514,9 +37554,9 @@ type RegionNetworkEndpointGroupsAttachEndpointsRequest struct { NullFields []string `json:"-"` } -func (s *RegionNetworkEndpointGroupsAttachEndpointsRequest) MarshalJSON() ([]byte, error) { +func (s RegionNetworkEndpointGroupsAttachEndpointsRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionNetworkEndpointGroupsAttachEndpointsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionNetworkEndpointGroupsDetachEndpointsRequest struct { @@ -37535,9 +37575,9 @@ type RegionNetworkEndpointGroupsDetachEndpointsRequest struct { NullFields []string `json:"-"` } -func (s *RegionNetworkEndpointGroupsDetachEndpointsRequest) MarshalJSON() ([]byte, error) { +func (s RegionNetworkEndpointGroupsDetachEndpointsRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionNetworkEndpointGroupsDetachEndpointsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse struct { @@ -37561,9 +37601,9 @@ type RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse struct { NullFields []string `json:"-"` } -func (s *RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse) MarshalJSON() ([]byte, error) { +func (s RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse) MarshalJSON() ([]byte, error) { type NoMethod RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy struct { @@ -37571,6 +37611,9 @@ type RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewall DisplayName string `json:"displayName,omitempty"` // Name: [Output Only] The name of the firewall policy. Name string `json:"name,omitempty"` + // Priority: [Output only] Priority of firewall policy association. Not + // applicable for type=HIERARCHY. + Priority int64 `json:"priority,omitempty"` // Rules: The rules that apply to the network. Rules []*FirewallPolicyRule `json:"rules,omitempty"` // Type: [Output Only] The type of the firewall policy. Can be one of @@ -37580,6 +37623,8 @@ type RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewall // "HIERARCHY" // "NETWORK" // "NETWORK_REGIONAL" + // "SYSTEM_GLOBAL" + // "SYSTEM_REGIONAL" // "UNSPECIFIED" Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "DisplayName") to @@ -37595,9 +37640,9 @@ type RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewall NullFields []string `json:"-"` } -func (s *RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy) MarshalJSON() ([]byte, error) { +func (s RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy) MarshalJSON() ([]byte, error) { type NoMethod RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionSetLabelsRequest struct { @@ -37623,9 +37668,9 @@ type RegionSetLabelsRequest struct { NullFields []string `json:"-"` } -func (s *RegionSetLabelsRequest) MarshalJSON() ([]byte, error) { +func (s RegionSetLabelsRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionSetLabelsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionSetPolicyRequest struct { @@ -37653,9 +37698,9 @@ type RegionSetPolicyRequest struct { NullFields []string `json:"-"` } -func (s *RegionSetPolicyRequest) MarshalJSON() ([]byte, error) { +func (s RegionSetPolicyRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionSetPolicyRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionTargetHttpsProxiesSetSslCertificatesRequest struct { @@ -37675,9 +37720,9 @@ type RegionTargetHttpsProxiesSetSslCertificatesRequest struct { NullFields []string `json:"-"` } -func (s *RegionTargetHttpsProxiesSetSslCertificatesRequest) MarshalJSON() ([]byte, error) { +func (s RegionTargetHttpsProxiesSetSslCertificatesRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionTargetHttpsProxiesSetSslCertificatesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionUrlMapsValidateRequest struct { @@ -37696,9 +37741,9 @@ type RegionUrlMapsValidateRequest struct { NullFields []string `json:"-"` } -func (s *RegionUrlMapsValidateRequest) MarshalJSON() ([]byte, error) { +func (s RegionUrlMapsValidateRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionUrlMapsValidateRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RequestMirrorPolicy: A policy that specifies how requests intended for the @@ -37726,9 +37771,9 @@ type RequestMirrorPolicy struct { NullFields []string `json:"-"` } -func (s *RequestMirrorPolicy) MarshalJSON() ([]byte, error) { +func (s RequestMirrorPolicy) MarshalJSON() ([]byte, error) { type NoMethod RequestMirrorPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Reservation: Represents a reservation resource. A reservation ensures that @@ -37818,9 +37863,9 @@ type Reservation struct { NullFields []string `json:"-"` } -func (s *Reservation) MarshalJSON() ([]byte, error) { +func (s Reservation) MarshalJSON() ([]byte, error) { type NoMethod Reservation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ReservationAffinity: Specifies the reservations that this instance can @@ -37868,9 +37913,9 @@ type ReservationAffinity struct { NullFields []string `json:"-"` } -func (s *ReservationAffinity) MarshalJSON() ([]byte, error) { +func (s ReservationAffinity) MarshalJSON() ([]byte, error) { type NoMethod ReservationAffinity - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ReservationAggregatedList: Contains a list of reservations. @@ -37909,9 +37954,9 @@ type ReservationAggregatedList struct { NullFields []string `json:"-"` } -func (s *ReservationAggregatedList) MarshalJSON() ([]byte, error) { +func (s ReservationAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod ReservationAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ReservationAggregatedListWarning: [Output Only] Informational warning @@ -37995,9 +38040,9 @@ type ReservationAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *ReservationAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s ReservationAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod ReservationAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ReservationAggregatedListWarningData struct { @@ -38024,9 +38069,9 @@ type ReservationAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *ReservationAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s ReservationAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ReservationAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ReservationList struct { @@ -38064,9 +38109,9 @@ type ReservationList struct { NullFields []string `json:"-"` } -func (s *ReservationList) MarshalJSON() ([]byte, error) { +func (s ReservationList) MarshalJSON() ([]byte, error) { type NoMethod ReservationList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ReservationListWarning: [Output Only] Informational warning message. @@ -38149,9 +38194,9 @@ type ReservationListWarning struct { NullFields []string `json:"-"` } -func (s *ReservationListWarning) MarshalJSON() ([]byte, error) { +func (s ReservationListWarning) MarshalJSON() ([]byte, error) { type NoMethod ReservationListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ReservationListWarningData struct { @@ -38178,9 +38223,9 @@ type ReservationListWarningData struct { NullFields []string `json:"-"` } -func (s *ReservationListWarningData) MarshalJSON() ([]byte, error) { +func (s ReservationListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ReservationListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ReservationsResizeRequest struct { @@ -38200,9 +38245,9 @@ type ReservationsResizeRequest struct { NullFields []string `json:"-"` } -func (s *ReservationsResizeRequest) MarshalJSON() ([]byte, error) { +func (s ReservationsResizeRequest) MarshalJSON() ([]byte, error) { type NoMethod ReservationsResizeRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ReservationsScopedList struct { @@ -38224,9 +38269,9 @@ type ReservationsScopedList struct { NullFields []string `json:"-"` } -func (s *ReservationsScopedList) MarshalJSON() ([]byte, error) { +func (s ReservationsScopedList) MarshalJSON() ([]byte, error) { type NoMethod ReservationsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ReservationsScopedListWarning: Informational warning which replaces the list @@ -38310,9 +38355,9 @@ type ReservationsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *ReservationsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s ReservationsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod ReservationsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ReservationsScopedListWarningData struct { @@ -38339,9 +38384,9 @@ type ReservationsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *ReservationsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s ReservationsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ReservationsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourceCommitment: Commitment for a particular resource (a Commitment is @@ -38378,9 +38423,9 @@ type ResourceCommitment struct { NullFields []string `json:"-"` } -func (s *ResourceCommitment) MarshalJSON() ([]byte, error) { +func (s ResourceCommitment) MarshalJSON() ([]byte, error) { type NoMethod ResourceCommitment - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ResourceGroupReference struct { @@ -38400,9 +38445,9 @@ type ResourceGroupReference struct { NullFields []string `json:"-"` } -func (s *ResourceGroupReference) MarshalJSON() ([]byte, error) { +func (s ResourceGroupReference) MarshalJSON() ([]byte, error) { type NoMethod ResourceGroupReference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ResourcePoliciesScopedList struct { @@ -38424,9 +38469,9 @@ type ResourcePoliciesScopedList struct { NullFields []string `json:"-"` } -func (s *ResourcePoliciesScopedList) MarshalJSON() ([]byte, error) { +func (s ResourcePoliciesScopedList) MarshalJSON() ([]byte, error) { type NoMethod ResourcePoliciesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePoliciesScopedListWarning: Informational warning which replaces the @@ -38510,9 +38555,9 @@ type ResourcePoliciesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *ResourcePoliciesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s ResourcePoliciesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod ResourcePoliciesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ResourcePoliciesScopedListWarningData struct { @@ -38539,9 +38584,9 @@ type ResourcePoliciesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *ResourcePoliciesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s ResourcePoliciesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ResourcePoliciesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicy: Represents a Resource Policy resource. You can use resource @@ -38606,9 +38651,9 @@ type ResourcePolicy struct { NullFields []string `json:"-"` } -func (s *ResourcePolicy) MarshalJSON() ([]byte, error) { +func (s ResourcePolicy) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicyAggregatedList: Contains a list of resourcePolicies. @@ -38648,9 +38693,9 @@ type ResourcePolicyAggregatedList struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyAggregatedList) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicyAggregatedListWarning: [Output Only] Informational warning @@ -38734,9 +38779,9 @@ type ResourcePolicyAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ResourcePolicyAggregatedListWarningData struct { @@ -38763,9 +38808,9 @@ type ResourcePolicyAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicyDailyCycle: Time window specified for daily operations. @@ -38793,9 +38838,9 @@ type ResourcePolicyDailyCycle struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyDailyCycle) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyDailyCycle) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyDailyCycle - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicyDiskConsistencyGroupPolicy: Resource policy for disk @@ -38839,9 +38884,9 @@ type ResourcePolicyGroupPlacementPolicy struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyGroupPlacementPolicy) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyGroupPlacementPolicy) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyGroupPlacementPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicyHourlyCycle: Time window specified for hourly operations. @@ -38868,9 +38913,9 @@ type ResourcePolicyHourlyCycle struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyHourlyCycle) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyHourlyCycle) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyHourlyCycle - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicyInstanceSchedulePolicy: An InstanceSchedulePolicy specifies @@ -38903,9 +38948,9 @@ type ResourcePolicyInstanceSchedulePolicy struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyInstanceSchedulePolicy) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyInstanceSchedulePolicy) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyInstanceSchedulePolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicyInstanceSchedulePolicySchedule: Schedule for an instance @@ -38927,9 +38972,9 @@ type ResourcePolicyInstanceSchedulePolicySchedule struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyInstanceSchedulePolicySchedule) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyInstanceSchedulePolicySchedule) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyInstanceSchedulePolicySchedule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ResourcePolicyList struct { @@ -38968,9 +39013,9 @@ type ResourcePolicyList struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyList) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyList) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicyListWarning: [Output Only] Informational warning message. @@ -39053,9 +39098,9 @@ type ResourcePolicyListWarning struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyListWarning) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyListWarning) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ResourcePolicyListWarningData struct { @@ -39082,9 +39127,9 @@ type ResourcePolicyListWarningData struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyListWarningData) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicyResourceStatus: Contains output only fields. Use this @@ -39109,9 +39154,9 @@ type ResourcePolicyResourceStatus struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyResourceStatus) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyResourceStatus) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyResourceStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ResourcePolicyResourceStatusInstanceSchedulePolicyStatus struct { @@ -39135,9 +39180,9 @@ type ResourcePolicyResourceStatusInstanceSchedulePolicyStatus struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyResourceStatusInstanceSchedulePolicyStatus) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyResourceStatusInstanceSchedulePolicyStatus) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyResourceStatusInstanceSchedulePolicyStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicySnapshotSchedulePolicy: A snapshot schedule policy specifies @@ -39168,9 +39213,9 @@ type ResourcePolicySnapshotSchedulePolicy struct { NullFields []string `json:"-"` } -func (s *ResourcePolicySnapshotSchedulePolicy) MarshalJSON() ([]byte, error) { +func (s ResourcePolicySnapshotSchedulePolicy) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicySnapshotSchedulePolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicySnapshotSchedulePolicyRetentionPolicy: Policy for retention of @@ -39199,9 +39244,9 @@ type ResourcePolicySnapshotSchedulePolicyRetentionPolicy struct { NullFields []string `json:"-"` } -func (s *ResourcePolicySnapshotSchedulePolicyRetentionPolicy) MarshalJSON() ([]byte, error) { +func (s ResourcePolicySnapshotSchedulePolicyRetentionPolicy) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicySnapshotSchedulePolicyRetentionPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicySnapshotSchedulePolicySchedule: A schedule for disks where the @@ -39223,9 +39268,9 @@ type ResourcePolicySnapshotSchedulePolicySchedule struct { NullFields []string `json:"-"` } -func (s *ResourcePolicySnapshotSchedulePolicySchedule) MarshalJSON() ([]byte, error) { +func (s ResourcePolicySnapshotSchedulePolicySchedule) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicySnapshotSchedulePolicySchedule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicySnapshotSchedulePolicySnapshotProperties: Specified snapshot @@ -39254,9 +39299,9 @@ type ResourcePolicySnapshotSchedulePolicySnapshotProperties struct { NullFields []string `json:"-"` } -func (s *ResourcePolicySnapshotSchedulePolicySnapshotProperties) MarshalJSON() ([]byte, error) { +func (s ResourcePolicySnapshotSchedulePolicySnapshotProperties) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicySnapshotSchedulePolicySnapshotProperties - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicyWeeklyCycle: Time window specified for weekly operations. @@ -39276,9 +39321,9 @@ type ResourcePolicyWeeklyCycle struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyWeeklyCycle) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyWeeklyCycle) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyWeeklyCycle - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ResourcePolicyWeeklyCycleDayOfWeek struct { @@ -39315,9 +39360,9 @@ type ResourcePolicyWeeklyCycleDayOfWeek struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyWeeklyCycleDayOfWeek) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyWeeklyCycleDayOfWeek) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyWeeklyCycleDayOfWeek - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourceStatus: Contains output only fields. Use this sub-message for actual @@ -39342,31 +39387,35 @@ type ResourceStatus struct { NullFields []string `json:"-"` } -func (s *ResourceStatus) MarshalJSON() ([]byte, error) { +func (s ResourceStatus) MarshalJSON() ([]byte, error) { type NoMethod ResourceStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ResourceStatusScheduling struct { + // AvailabilityDomain: Specifies the availability domain to place the instance + // in. The value must be a number between 1 and the number of availability + // domains specified in the spread placement policy attached to the instance. + AvailabilityDomain int64 `json:"availabilityDomain,omitempty"` // TerminationTimestamp: Time in future when the instance will be terminated in // RFC3339 text format. TerminationTimestamp string `json:"terminationTimestamp,omitempty"` - // ForceSendFields is a list of field names (e.g. "TerminationTimestamp") to + // ForceSendFields is a list of field names (e.g. "AvailabilityDomain") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "TerminationTimestamp") to include + // NullFields is a list of field names (e.g. "AvailabilityDomain") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` } -func (s *ResourceStatusScheduling) MarshalJSON() ([]byte, error) { +func (s ResourceStatusScheduling) MarshalJSON() ([]byte, error) { type NoMethod ResourceStatusScheduling - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RolloutPolicy: A rollout policy configuration. @@ -39393,9 +39442,9 @@ type RolloutPolicy struct { NullFields []string `json:"-"` } -func (s *RolloutPolicy) MarshalJSON() ([]byte, error) { +func (s RolloutPolicy) MarshalJSON() ([]byte, error) { type NoMethod RolloutPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Route: Represents a Route resource. A route defines a path from VM instances @@ -39529,9 +39578,9 @@ type Route struct { NullFields []string `json:"-"` } -func (s *Route) MarshalJSON() ([]byte, error) { +func (s Route) MarshalJSON() ([]byte, error) { type NoMethod Route - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouteWarnings struct { @@ -39613,9 +39662,9 @@ type RouteWarnings struct { NullFields []string `json:"-"` } -func (s *RouteWarnings) MarshalJSON() ([]byte, error) { +func (s RouteWarnings) MarshalJSON() ([]byte, error) { type NoMethod RouteWarnings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouteWarningsData struct { @@ -39642,9 +39691,9 @@ type RouteWarningsData struct { NullFields []string `json:"-"` } -func (s *RouteWarningsData) MarshalJSON() ([]byte, error) { +func (s RouteWarningsData) MarshalJSON() ([]byte, error) { type NoMethod RouteWarningsData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouteAsPath struct { @@ -39677,9 +39726,9 @@ type RouteAsPath struct { NullFields []string `json:"-"` } -func (s *RouteAsPath) MarshalJSON() ([]byte, error) { +func (s RouteAsPath) MarshalJSON() ([]byte, error) { type NoMethod RouteAsPath - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouteList: Contains a list of Route resources. @@ -39716,9 +39765,9 @@ type RouteList struct { NullFields []string `json:"-"` } -func (s *RouteList) MarshalJSON() ([]byte, error) { +func (s RouteList) MarshalJSON() ([]byte, error) { type NoMethod RouteList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouteListWarning: [Output Only] Informational warning message. @@ -39801,9 +39850,9 @@ type RouteListWarning struct { NullFields []string `json:"-"` } -func (s *RouteListWarning) MarshalJSON() ([]byte, error) { +func (s RouteListWarning) MarshalJSON() ([]byte, error) { type NoMethod RouteListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouteListWarningData struct { @@ -39830,9 +39879,9 @@ type RouteListWarningData struct { NullFields []string `json:"-"` } -func (s *RouteListWarningData) MarshalJSON() ([]byte, error) { +func (s RouteListWarningData) MarshalJSON() ([]byte, error) { type NoMethod RouteListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RoutePolicy struct { @@ -39868,9 +39917,9 @@ type RoutePolicy struct { NullFields []string `json:"-"` } -func (s *RoutePolicy) MarshalJSON() ([]byte, error) { +func (s RoutePolicy) MarshalJSON() ([]byte, error) { type NoMethod RoutePolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RoutePolicyPolicyTerm struct { @@ -39896,9 +39945,9 @@ type RoutePolicyPolicyTerm struct { NullFields []string `json:"-"` } -func (s *RoutePolicyPolicyTerm) MarshalJSON() ([]byte, error) { +func (s RoutePolicyPolicyTerm) MarshalJSON() ([]byte, error) { type NoMethod RoutePolicyPolicyTerm - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Router: Represents a Cloud Router resource. For more information about Cloud @@ -39965,9 +40014,9 @@ type Router struct { NullFields []string `json:"-"` } -func (s *Router) MarshalJSON() ([]byte, error) { +func (s Router) MarshalJSON() ([]byte, error) { type NoMethod Router - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouterAdvertisedIpRange: Description-tagged IP ranges for the router to @@ -39990,9 +40039,9 @@ type RouterAdvertisedIpRange struct { NullFields []string `json:"-"` } -func (s *RouterAdvertisedIpRange) MarshalJSON() ([]byte, error) { +func (s RouterAdvertisedIpRange) MarshalJSON() ([]byte, error) { type NoMethod RouterAdvertisedIpRange - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouterAggregatedList: Contains a list of routers. @@ -40031,9 +40080,9 @@ type RouterAggregatedList struct { NullFields []string `json:"-"` } -func (s *RouterAggregatedList) MarshalJSON() ([]byte, error) { +func (s RouterAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod RouterAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouterAggregatedListWarning: [Output Only] Informational warning message. @@ -40116,9 +40165,9 @@ type RouterAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *RouterAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s RouterAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod RouterAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterAggregatedListWarningData struct { @@ -40145,9 +40194,9 @@ type RouterAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *RouterAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s RouterAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod RouterAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterBgp struct { @@ -40207,9 +40256,9 @@ type RouterBgp struct { NullFields []string `json:"-"` } -func (s *RouterBgp) MarshalJSON() ([]byte, error) { +func (s RouterBgp) MarshalJSON() ([]byte, error) { type NoMethod RouterBgp - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterBgpPeer struct { @@ -40349,9 +40398,9 @@ type RouterBgpPeer struct { NullFields []string `json:"-"` } -func (s *RouterBgpPeer) MarshalJSON() ([]byte, error) { +func (s RouterBgpPeer) MarshalJSON() ([]byte, error) { type NoMethod RouterBgpPeer - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterBgpPeerBfd struct { @@ -40395,9 +40444,9 @@ type RouterBgpPeerBfd struct { NullFields []string `json:"-"` } -func (s *RouterBgpPeerBfd) MarshalJSON() ([]byte, error) { +func (s RouterBgpPeerBfd) MarshalJSON() ([]byte, error) { type NoMethod RouterBgpPeerBfd - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterBgpPeerCustomLearnedIpRange struct { @@ -40419,9 +40468,9 @@ type RouterBgpPeerCustomLearnedIpRange struct { NullFields []string `json:"-"` } -func (s *RouterBgpPeerCustomLearnedIpRange) MarshalJSON() ([]byte, error) { +func (s RouterBgpPeerCustomLearnedIpRange) MarshalJSON() ([]byte, error) { type NoMethod RouterBgpPeerCustomLearnedIpRange - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterInterface struct { @@ -40509,9 +40558,9 @@ type RouterInterface struct { NullFields []string `json:"-"` } -func (s *RouterInterface) MarshalJSON() ([]byte, error) { +func (s RouterInterface) MarshalJSON() ([]byte, error) { type NoMethod RouterInterface - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouterList: Contains a list of Router resources. @@ -40548,9 +40597,9 @@ type RouterList struct { NullFields []string `json:"-"` } -func (s *RouterList) MarshalJSON() ([]byte, error) { +func (s RouterList) MarshalJSON() ([]byte, error) { type NoMethod RouterList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouterListWarning: [Output Only] Informational warning message. @@ -40633,9 +40682,9 @@ type RouterListWarning struct { NullFields []string `json:"-"` } -func (s *RouterListWarning) MarshalJSON() ([]byte, error) { +func (s RouterListWarning) MarshalJSON() ([]byte, error) { type NoMethod RouterListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterListWarningData struct { @@ -40662,9 +40711,9 @@ type RouterListWarningData struct { NullFields []string `json:"-"` } -func (s *RouterListWarningData) MarshalJSON() ([]byte, error) { +func (s RouterListWarningData) MarshalJSON() ([]byte, error) { type NoMethod RouterListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterMd5AuthenticationKey struct { @@ -40689,9 +40738,9 @@ type RouterMd5AuthenticationKey struct { NullFields []string `json:"-"` } -func (s *RouterMd5AuthenticationKey) MarshalJSON() ([]byte, error) { +func (s RouterMd5AuthenticationKey) MarshalJSON() ([]byte, error) { type NoMethod RouterMd5AuthenticationKey - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouterNat: Represents a Nat resource. It enables the VMs within the @@ -40830,9 +40879,9 @@ type RouterNat struct { NullFields []string `json:"-"` } -func (s *RouterNat) MarshalJSON() ([]byte, error) { +func (s RouterNat) MarshalJSON() ([]byte, error) { type NoMethod RouterNat - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouterNatLogConfig: Configuration of logging on a NAT. @@ -40864,9 +40913,9 @@ type RouterNatLogConfig struct { NullFields []string `json:"-"` } -func (s *RouterNatLogConfig) MarshalJSON() ([]byte, error) { +func (s RouterNatLogConfig) MarshalJSON() ([]byte, error) { type NoMethod RouterNatLogConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterNatRule struct { @@ -40901,9 +40950,9 @@ type RouterNatRule struct { NullFields []string `json:"-"` } -func (s *RouterNatRule) MarshalJSON() ([]byte, error) { +func (s RouterNatRule) MarshalJSON() ([]byte, error) { type NoMethod RouterNatRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterNatRuleAction struct { @@ -40938,9 +40987,9 @@ type RouterNatRuleAction struct { NullFields []string `json:"-"` } -func (s *RouterNatRuleAction) MarshalJSON() ([]byte, error) { +func (s RouterNatRuleAction) MarshalJSON() ([]byte, error) { type NoMethod RouterNatRuleAction - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouterNatSubnetworkToNat: Defines the IP ranges that want to use NAT for a @@ -40979,9 +41028,9 @@ type RouterNatSubnetworkToNat struct { NullFields []string `json:"-"` } -func (s *RouterNatSubnetworkToNat) MarshalJSON() ([]byte, error) { +func (s RouterNatSubnetworkToNat) MarshalJSON() ([]byte, error) { type NoMethod RouterNatSubnetworkToNat - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterStatus struct { @@ -41014,9 +41063,9 @@ type RouterStatus struct { NullFields []string `json:"-"` } -func (s *RouterStatus) MarshalJSON() ([]byte, error) { +func (s RouterStatus) MarshalJSON() ([]byte, error) { type NoMethod RouterStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterStatusBgpPeerStatus struct { @@ -41095,9 +41144,9 @@ type RouterStatusBgpPeerStatus struct { NullFields []string `json:"-"` } -func (s *RouterStatusBgpPeerStatus) MarshalJSON() ([]byte, error) { +func (s RouterStatusBgpPeerStatus) MarshalJSON() ([]byte, error) { type NoMethod RouterStatusBgpPeerStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouterStatusNatStatus: Status of a NAT contained in this router. @@ -41142,9 +41191,9 @@ type RouterStatusNatStatus struct { NullFields []string `json:"-"` } -func (s *RouterStatusNatStatus) MarshalJSON() ([]byte, error) { +func (s RouterStatusNatStatus) MarshalJSON() ([]byte, error) { type NoMethod RouterStatusNatStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouterStatusNatStatusNatRuleStatus: Status of a NAT Rule contained in this @@ -41178,9 +41227,9 @@ type RouterStatusNatStatusNatRuleStatus struct { NullFields []string `json:"-"` } -func (s *RouterStatusNatStatusNatRuleStatus) MarshalJSON() ([]byte, error) { +func (s RouterStatusNatStatusNatRuleStatus) MarshalJSON() ([]byte, error) { type NoMethod RouterStatusNatStatusNatRuleStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterStatusResponse struct { @@ -41203,9 +41252,9 @@ type RouterStatusResponse struct { NullFields []string `json:"-"` } -func (s *RouterStatusResponse) MarshalJSON() ([]byte, error) { +func (s RouterStatusResponse) MarshalJSON() ([]byte, error) { type NoMethod RouterStatusResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RoutersGetRoutePolicyResponse struct { @@ -41226,9 +41275,9 @@ type RoutersGetRoutePolicyResponse struct { NullFields []string `json:"-"` } -func (s *RoutersGetRoutePolicyResponse) MarshalJSON() ([]byte, error) { +func (s RoutersGetRoutePolicyResponse) MarshalJSON() ([]byte, error) { type NoMethod RoutersGetRoutePolicyResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RoutersListBgpRoutes struct { @@ -41269,9 +41318,9 @@ type RoutersListBgpRoutes struct { NullFields []string `json:"-"` } -func (s *RoutersListBgpRoutes) MarshalJSON() ([]byte, error) { +func (s RoutersListBgpRoutes) MarshalJSON() ([]byte, error) { type NoMethod RoutersListBgpRoutes - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RoutersListBgpRoutesWarning: [Output Only] Informational warning message. @@ -41354,9 +41403,9 @@ type RoutersListBgpRoutesWarning struct { NullFields []string `json:"-"` } -func (s *RoutersListBgpRoutesWarning) MarshalJSON() ([]byte, error) { +func (s RoutersListBgpRoutesWarning) MarshalJSON() ([]byte, error) { type NoMethod RoutersListBgpRoutesWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RoutersListBgpRoutesWarningData struct { @@ -41383,9 +41432,9 @@ type RoutersListBgpRoutesWarningData struct { NullFields []string `json:"-"` } -func (s *RoutersListBgpRoutesWarningData) MarshalJSON() ([]byte, error) { +func (s RoutersListBgpRoutesWarningData) MarshalJSON() ([]byte, error) { type NoMethod RoutersListBgpRoutesWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RoutersListRoutePolicies struct { @@ -41426,9 +41475,9 @@ type RoutersListRoutePolicies struct { NullFields []string `json:"-"` } -func (s *RoutersListRoutePolicies) MarshalJSON() ([]byte, error) { +func (s RoutersListRoutePolicies) MarshalJSON() ([]byte, error) { type NoMethod RoutersListRoutePolicies - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RoutersListRoutePoliciesWarning: [Output Only] Informational warning @@ -41512,9 +41561,9 @@ type RoutersListRoutePoliciesWarning struct { NullFields []string `json:"-"` } -func (s *RoutersListRoutePoliciesWarning) MarshalJSON() ([]byte, error) { +func (s RoutersListRoutePoliciesWarning) MarshalJSON() ([]byte, error) { type NoMethod RoutersListRoutePoliciesWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RoutersListRoutePoliciesWarningData struct { @@ -41541,9 +41590,9 @@ type RoutersListRoutePoliciesWarningData struct { NullFields []string `json:"-"` } -func (s *RoutersListRoutePoliciesWarningData) MarshalJSON() ([]byte, error) { +func (s RoutersListRoutePoliciesWarningData) MarshalJSON() ([]byte, error) { type NoMethod RoutersListRoutePoliciesWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RoutersPreviewResponse struct { @@ -41565,9 +41614,9 @@ type RoutersPreviewResponse struct { NullFields []string `json:"-"` } -func (s *RoutersPreviewResponse) MarshalJSON() ([]byte, error) { +func (s RoutersPreviewResponse) MarshalJSON() ([]byte, error) { type NoMethod RoutersPreviewResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RoutersScopedList struct { @@ -41589,9 +41638,9 @@ type RoutersScopedList struct { NullFields []string `json:"-"` } -func (s *RoutersScopedList) MarshalJSON() ([]byte, error) { +func (s RoutersScopedList) MarshalJSON() ([]byte, error) { type NoMethod RoutersScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RoutersScopedListWarning: Informational warning which replaces the list of @@ -41675,9 +41724,9 @@ type RoutersScopedListWarning struct { NullFields []string `json:"-"` } -func (s *RoutersScopedListWarning) MarshalJSON() ([]byte, error) { +func (s RoutersScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod RoutersScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RoutersScopedListWarningData struct { @@ -41704,9 +41753,9 @@ type RoutersScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *RoutersScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s RoutersScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod RoutersScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Rule: This is deprecated and has no effect. Do not use. @@ -41746,9 +41795,9 @@ type Rule struct { NullFields []string `json:"-"` } -func (s *Rule) MarshalJSON() ([]byte, error) { +func (s Rule) MarshalJSON() ([]byte, error) { type NoMethod Rule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SSLHealthCheck struct { @@ -41817,9 +41866,9 @@ type SSLHealthCheck struct { NullFields []string `json:"-"` } -func (s *SSLHealthCheck) MarshalJSON() ([]byte, error) { +func (s SSLHealthCheck) MarshalJSON() ([]byte, error) { type NoMethod SSLHealthCheck - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SavedAttachedDisk: DEPRECATED: Please use compute#savedDisk instead. An @@ -41902,9 +41951,9 @@ type SavedAttachedDisk struct { NullFields []string `json:"-"` } -func (s *SavedAttachedDisk) MarshalJSON() ([]byte, error) { +func (s SavedAttachedDisk) MarshalJSON() ([]byte, error) { type NoMethod SavedAttachedDisk - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SavedDisk: An instance-attached disk resource. @@ -41948,9 +41997,9 @@ type SavedDisk struct { NullFields []string `json:"-"` } -func (s *SavedDisk) MarshalJSON() ([]byte, error) { +func (s SavedDisk) MarshalJSON() ([]byte, error) { type NoMethod SavedDisk - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ScalingScheduleStatus struct { @@ -41986,9 +42035,9 @@ type ScalingScheduleStatus struct { NullFields []string `json:"-"` } -func (s *ScalingScheduleStatus) MarshalJSON() ([]byte, error) { +func (s ScalingScheduleStatus) MarshalJSON() ([]byte, error) { type NoMethod ScalingScheduleStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Scheduling: Sets the scheduling options for an Instance. @@ -42000,6 +42049,10 @@ type Scheduling struct { // set to true so an instance is automatically restarted if it is terminated by // Compute Engine. AutomaticRestart *bool `json:"automaticRestart,omitempty"` + // AvailabilityDomain: Specifies the availability domain to place the instance + // in. The value must be a number between 1 and the number of availability + // domains specified in the spread placement policy attached to the instance. + AvailabilityDomain int64 `json:"availabilityDomain,omitempty"` // HostErrorTimeoutSeconds: Specify the time in seconds for host error // detection, the value must be within the range of [90, 330] with the // increment of 30, if unset, the default behavior of host error recovery will @@ -42101,9 +42154,9 @@ type Scheduling struct { NullFields []string `json:"-"` } -func (s *Scheduling) MarshalJSON() ([]byte, error) { +func (s Scheduling) MarshalJSON() ([]byte, error) { type NoMethod Scheduling - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SchedulingNodeAffinity: Node Affinity: the configuration of desired nodes @@ -42134,9 +42187,9 @@ type SchedulingNodeAffinity struct { NullFields []string `json:"-"` } -func (s *SchedulingNodeAffinity) MarshalJSON() ([]byte, error) { +func (s SchedulingNodeAffinity) MarshalJSON() ([]byte, error) { type NoMethod SchedulingNodeAffinity - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SchedulingOnInstanceStopAction: Defines the behaviour for instances with the @@ -42159,9 +42212,9 @@ type SchedulingOnInstanceStopAction struct { NullFields []string `json:"-"` } -func (s *SchedulingOnInstanceStopAction) MarshalJSON() ([]byte, error) { +func (s SchedulingOnInstanceStopAction) MarshalJSON() ([]byte, error) { type NoMethod SchedulingOnInstanceStopAction - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Screenshot: An instance's screenshot. @@ -42187,9 +42240,9 @@ type Screenshot struct { NullFields []string `json:"-"` } -func (s *Screenshot) MarshalJSON() ([]byte, error) { +func (s Screenshot) MarshalJSON() ([]byte, error) { type NoMethod Screenshot - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPoliciesAggregatedList struct { @@ -42229,9 +42282,9 @@ type SecurityPoliciesAggregatedList struct { NullFields []string `json:"-"` } -func (s *SecurityPoliciesAggregatedList) MarshalJSON() ([]byte, error) { +func (s SecurityPoliciesAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod SecurityPoliciesAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecurityPoliciesAggregatedListWarning: [Output Only] Informational warning @@ -42315,9 +42368,9 @@ type SecurityPoliciesAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *SecurityPoliciesAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s SecurityPoliciesAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod SecurityPoliciesAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPoliciesAggregatedListWarningData struct { @@ -42344,9 +42397,9 @@ type SecurityPoliciesAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *SecurityPoliciesAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s SecurityPoliciesAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SecurityPoliciesAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPoliciesListPreconfiguredExpressionSetsResponse struct { @@ -42367,9 +42420,9 @@ type SecurityPoliciesListPreconfiguredExpressionSetsResponse struct { NullFields []string `json:"-"` } -func (s *SecurityPoliciesListPreconfiguredExpressionSetsResponse) MarshalJSON() ([]byte, error) { +func (s SecurityPoliciesListPreconfiguredExpressionSetsResponse) MarshalJSON() ([]byte, error) { type NoMethod SecurityPoliciesListPreconfiguredExpressionSetsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPoliciesScopedList struct { @@ -42391,9 +42444,9 @@ type SecurityPoliciesScopedList struct { NullFields []string `json:"-"` } -func (s *SecurityPoliciesScopedList) MarshalJSON() ([]byte, error) { +func (s SecurityPoliciesScopedList) MarshalJSON() ([]byte, error) { type NoMethod SecurityPoliciesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecurityPoliciesScopedListWarning: Informational warning which replaces the @@ -42477,9 +42530,9 @@ type SecurityPoliciesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *SecurityPoliciesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s SecurityPoliciesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod SecurityPoliciesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPoliciesScopedListWarningData struct { @@ -42506,9 +42559,9 @@ type SecurityPoliciesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *SecurityPoliciesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s SecurityPoliciesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SecurityPoliciesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPoliciesWafConfig struct { @@ -42526,9 +42579,9 @@ type SecurityPoliciesWafConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPoliciesWafConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPoliciesWafConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPoliciesWafConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecurityPolicy: Represents a Google Cloud Armor security policy resource. @@ -42666,9 +42719,9 @@ type SecurityPolicy struct { NullFields []string `json:"-"` } -func (s *SecurityPolicy) MarshalJSON() ([]byte, error) { +func (s SecurityPolicy) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecurityPolicyAdaptiveProtectionConfig: Configuration options for Cloud @@ -42691,9 +42744,9 @@ type SecurityPolicyAdaptiveProtectionConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyAdaptiveProtectionConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyAdaptiveProtectionConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyAdaptiveProtectionConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig: Configuration @@ -42716,9 +42769,9 @@ type SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig) UnmarshalJSON(data []byte) error { @@ -42770,9 +42823,9 @@ type SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig struct { @@ -42802,9 +42855,9 @@ type SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfi NullFields []string `json:"-"` } -func (s *SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig) UnmarshalJSON(data []byte) error { @@ -42861,9 +42914,9 @@ type SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfi NullFields []string `json:"-"` } -func (s *SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyAdvancedOptionsConfig struct { @@ -42895,9 +42948,9 @@ type SecurityPolicyAdvancedOptionsConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyAdvancedOptionsConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyAdvancedOptionsConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyAdvancedOptionsConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyAdvancedOptionsConfigJsonCustomConfig struct { @@ -42920,9 +42973,9 @@ type SecurityPolicyAdvancedOptionsConfigJsonCustomConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyAdvancedOptionsConfigJsonCustomConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyAdvancedOptionsConfigJsonCustomConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyAdvancedOptionsConfigJsonCustomConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyAssociation struct { @@ -42958,9 +43011,9 @@ type SecurityPolicyAssociation struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyAssociation) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyAssociation) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyAssociation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyDdosProtectionConfig struct { @@ -42982,9 +43035,9 @@ type SecurityPolicyDdosProtectionConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyDdosProtectionConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyDdosProtectionConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyDdosProtectionConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyList struct { @@ -43019,9 +43072,9 @@ type SecurityPolicyList struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyList) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyList) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecurityPolicyListWarning: [Output Only] Informational warning message. @@ -43104,9 +43157,9 @@ type SecurityPolicyListWarning struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyListWarning) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyListWarning) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyListWarningData struct { @@ -43133,9 +43186,9 @@ type SecurityPolicyListWarningData struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyListWarningData) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRecaptchaOptionsConfig struct { @@ -43160,9 +43213,9 @@ type SecurityPolicyRecaptchaOptionsConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRecaptchaOptionsConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRecaptchaOptionsConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRecaptchaOptionsConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyReference struct { @@ -43180,9 +43233,9 @@ type SecurityPolicyReference struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyReference) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyReference) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyReference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecurityPolicyRule: Represents a rule that describes one or more match @@ -43300,9 +43353,9 @@ type SecurityPolicyRule struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRule) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRule) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRuleHttpHeaderAction struct { @@ -43322,9 +43375,9 @@ type SecurityPolicyRuleHttpHeaderAction struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleHttpHeaderAction) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleHttpHeaderAction) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleHttpHeaderAction - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRuleHttpHeaderActionHttpHeaderOption struct { @@ -43345,9 +43398,9 @@ type SecurityPolicyRuleHttpHeaderActionHttpHeaderOption struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleHttpHeaderActionHttpHeaderOption) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleHttpHeaderActionHttpHeaderOption) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleHttpHeaderActionHttpHeaderOption - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecurityPolicyRuleMatcher: Represents a match condition that incoming @@ -43391,9 +43444,9 @@ type SecurityPolicyRuleMatcher struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleMatcher) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleMatcher) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleMatcher - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRuleMatcherConfig struct { @@ -43419,9 +43472,9 @@ type SecurityPolicyRuleMatcherConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleMatcherConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleMatcherConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleMatcherConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRuleMatcherConfigLayer4Config struct { @@ -43450,9 +43503,9 @@ type SecurityPolicyRuleMatcherConfigLayer4Config struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleMatcherConfigLayer4Config) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleMatcherConfigLayer4Config) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleMatcherConfigLayer4Config - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRuleMatcherExprOptions struct { @@ -43473,9 +43526,9 @@ type SecurityPolicyRuleMatcherExprOptions struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleMatcherExprOptions) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleMatcherExprOptions) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleMatcherExprOptions - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions struct { @@ -43500,9 +43553,9 @@ type SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecurityPolicyRuleNetworkMatcher: Represents a match condition that incoming @@ -43546,9 +43599,9 @@ type SecurityPolicyRuleNetworkMatcher struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleNetworkMatcher) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleNetworkMatcher) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleNetworkMatcher - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch struct { @@ -43571,9 +43624,9 @@ type SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRulePreconfiguredWafConfig struct { @@ -43593,9 +43646,9 @@ type SecurityPolicyRulePreconfiguredWafConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRulePreconfiguredWafConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRulePreconfiguredWafConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRulePreconfiguredWafConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRulePreconfiguredWafConfigExclusion struct { @@ -43632,9 +43685,9 @@ type SecurityPolicyRulePreconfiguredWafConfigExclusion struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRulePreconfiguredWafConfigExclusion) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRulePreconfiguredWafConfigExclusion) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRulePreconfiguredWafConfigExclusion - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams struct { @@ -43666,9 +43719,9 @@ type SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRuleRateLimitOptions struct { @@ -43763,9 +43816,9 @@ type SecurityPolicyRuleRateLimitOptions struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleRateLimitOptions) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleRateLimitOptions) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleRateLimitOptions - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig struct { @@ -43827,9 +43880,9 @@ type SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRuleRateLimitOptionsThreshold struct { @@ -43850,9 +43903,9 @@ type SecurityPolicyRuleRateLimitOptionsThreshold struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleRateLimitOptionsThreshold) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleRateLimitOptionsThreshold) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleRateLimitOptionsThreshold - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRuleRedirectOptions struct { @@ -43878,9 +43931,9 @@ type SecurityPolicyRuleRedirectOptions struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleRedirectOptions) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleRedirectOptions) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleRedirectOptions - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyUserDefinedField struct { @@ -43923,9 +43976,9 @@ type SecurityPolicyUserDefinedField struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyUserDefinedField) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyUserDefinedField) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyUserDefinedField - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecuritySettings: The authentication and authorization settings for a @@ -43970,9 +44023,9 @@ type SecuritySettings struct { NullFields []string `json:"-"` } -func (s *SecuritySettings) MarshalJSON() ([]byte, error) { +func (s SecuritySettings) MarshalJSON() ([]byte, error) { type NoMethod SecuritySettings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SerialPortOutput: An instance serial console output. @@ -44011,9 +44064,9 @@ type SerialPortOutput struct { NullFields []string `json:"-"` } -func (s *SerialPortOutput) MarshalJSON() ([]byte, error) { +func (s SerialPortOutput) MarshalJSON() ([]byte, error) { type NoMethod SerialPortOutput - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ServerBinding struct { @@ -44037,9 +44090,9 @@ type ServerBinding struct { NullFields []string `json:"-"` } -func (s *ServerBinding) MarshalJSON() ([]byte, error) { +func (s ServerBinding) MarshalJSON() ([]byte, error) { type NoMethod ServerBinding - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceAccount: A service account. @@ -44061,9 +44114,9 @@ type ServiceAccount struct { NullFields []string `json:"-"` } -func (s *ServiceAccount) MarshalJSON() ([]byte, error) { +func (s ServiceAccount) MarshalJSON() ([]byte, error) { type NoMethod ServiceAccount - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceAttachment: Represents a ServiceAttachment resource. A service @@ -44196,9 +44249,9 @@ type ServiceAttachment struct { NullFields []string `json:"-"` } -func (s *ServiceAttachment) MarshalJSON() ([]byte, error) { +func (s ServiceAttachment) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachment - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceAttachmentAggregatedList: Contains a list of @@ -44238,9 +44291,9 @@ type ServiceAttachmentAggregatedList struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentAggregatedList) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceAttachmentAggregatedListWarning: [Output Only] Informational warning @@ -44324,9 +44377,9 @@ type ServiceAttachmentAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ServiceAttachmentAggregatedListWarningData struct { @@ -44353,9 +44406,9 @@ type ServiceAttachmentAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceAttachmentConnectedEndpoint: [Output Only] A connection connected to @@ -44396,9 +44449,9 @@ type ServiceAttachmentConnectedEndpoint struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentConnectedEndpoint) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentConnectedEndpoint) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentConnectedEndpoint - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ServiceAttachmentConsumerProjectLimit struct { @@ -44422,9 +44475,9 @@ type ServiceAttachmentConsumerProjectLimit struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentConsumerProjectLimit) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentConsumerProjectLimit) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentConsumerProjectLimit - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ServiceAttachmentList struct { @@ -44461,9 +44514,9 @@ type ServiceAttachmentList struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentList) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentList) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceAttachmentListWarning: [Output Only] Informational warning message. @@ -44546,9 +44599,9 @@ type ServiceAttachmentListWarning struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentListWarning) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentListWarning) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ServiceAttachmentListWarningData struct { @@ -44575,9 +44628,9 @@ type ServiceAttachmentListWarningData struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentListWarningData) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceAttachmentTunnelingConfig: Use to configure this PSC connection in @@ -44616,9 +44669,9 @@ type ServiceAttachmentTunnelingConfig struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentTunnelingConfig) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentTunnelingConfig) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentTunnelingConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ServiceAttachmentsScopedList struct { @@ -44640,9 +44693,9 @@ type ServiceAttachmentsScopedList struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentsScopedList) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentsScopedList) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceAttachmentsScopedListWarning: Informational warning which replaces @@ -44726,9 +44779,9 @@ type ServiceAttachmentsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ServiceAttachmentsScopedListWarningData struct { @@ -44755,9 +44808,9 @@ type ServiceAttachmentsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SetCommonInstanceMetadataOperationMetadata struct { @@ -44779,9 +44832,9 @@ type SetCommonInstanceMetadataOperationMetadata struct { NullFields []string `json:"-"` } -func (s *SetCommonInstanceMetadataOperationMetadata) MarshalJSON() ([]byte, error) { +func (s SetCommonInstanceMetadataOperationMetadata) MarshalJSON() ([]byte, error) { type NoMethod SetCommonInstanceMetadataOperationMetadata - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo struct { @@ -44814,9 +44867,9 @@ type SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo struct { NullFields []string `json:"-"` } -func (s *SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo) MarshalJSON() ([]byte, error) { +func (s SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo) MarshalJSON() ([]byte, error) { type NoMethod SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ShareSettings: The share setting for reservations and sole tenancy node @@ -44850,9 +44903,9 @@ type ShareSettings struct { NullFields []string `json:"-"` } -func (s *ShareSettings) MarshalJSON() ([]byte, error) { +func (s ShareSettings) MarshalJSON() ([]byte, error) { type NoMethod ShareSettings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ShareSettingsProjectConfig: Config for each project in the share settings. @@ -44873,9 +44926,9 @@ type ShareSettingsProjectConfig struct { NullFields []string `json:"-"` } -func (s *ShareSettingsProjectConfig) MarshalJSON() ([]byte, error) { +func (s ShareSettingsProjectConfig) MarshalJSON() ([]byte, error) { type NoMethod ShareSettingsProjectConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ShieldedInstanceConfig: A set of Shielded Instance options. @@ -44902,9 +44955,9 @@ type ShieldedInstanceConfig struct { NullFields []string `json:"-"` } -func (s *ShieldedInstanceConfig) MarshalJSON() ([]byte, error) { +func (s ShieldedInstanceConfig) MarshalJSON() ([]byte, error) { type NoMethod ShieldedInstanceConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ShieldedInstanceIdentity: A Shielded Instance Identity. @@ -44934,9 +44987,9 @@ type ShieldedInstanceIdentity struct { NullFields []string `json:"-"` } -func (s *ShieldedInstanceIdentity) MarshalJSON() ([]byte, error) { +func (s ShieldedInstanceIdentity) MarshalJSON() ([]byte, error) { type NoMethod ShieldedInstanceIdentity - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ShieldedInstanceIdentityEntry: A Shielded Instance Identity Entry. @@ -44958,9 +45011,9 @@ type ShieldedInstanceIdentityEntry struct { NullFields []string `json:"-"` } -func (s *ShieldedInstanceIdentityEntry) MarshalJSON() ([]byte, error) { +func (s ShieldedInstanceIdentityEntry) MarshalJSON() ([]byte, error) { type NoMethod ShieldedInstanceIdentityEntry - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ShieldedInstanceIntegrityPolicy: The policy describes the baseline against @@ -44982,9 +45035,9 @@ type ShieldedInstanceIntegrityPolicy struct { NullFields []string `json:"-"` } -func (s *ShieldedInstanceIntegrityPolicy) MarshalJSON() ([]byte, error) { +func (s ShieldedInstanceIntegrityPolicy) MarshalJSON() ([]byte, error) { type NoMethod ShieldedInstanceIntegrityPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ShieldedVmConfig: A set of Shielded VM options. @@ -45009,9 +45062,9 @@ type ShieldedVmConfig struct { NullFields []string `json:"-"` } -func (s *ShieldedVmConfig) MarshalJSON() ([]byte, error) { +func (s ShieldedVmConfig) MarshalJSON() ([]byte, error) { type NoMethod ShieldedVmConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ShieldedVmIdentity: A Shielded VM Identity. @@ -45039,9 +45092,9 @@ type ShieldedVmIdentity struct { NullFields []string `json:"-"` } -func (s *ShieldedVmIdentity) MarshalJSON() ([]byte, error) { +func (s ShieldedVmIdentity) MarshalJSON() ([]byte, error) { type NoMethod ShieldedVmIdentity - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ShieldedVmIdentityEntry: A Shielded Instance Identity Entry. @@ -45063,9 +45116,9 @@ type ShieldedVmIdentityEntry struct { NullFields []string `json:"-"` } -func (s *ShieldedVmIdentityEntry) MarshalJSON() ([]byte, error) { +func (s ShieldedVmIdentityEntry) MarshalJSON() ([]byte, error) { type NoMethod ShieldedVmIdentityEntry - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ShieldedVmIntegrityPolicy: The policy describes the baseline against which @@ -45087,9 +45140,9 @@ type ShieldedVmIntegrityPolicy struct { NullFields []string `json:"-"` } -func (s *ShieldedVmIntegrityPolicy) MarshalJSON() ([]byte, error) { +func (s ShieldedVmIntegrityPolicy) MarshalJSON() ([]byte, error) { type NoMethod ShieldedVmIntegrityPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SignedUrlKey: Represents a customer-supplied Signing Key used by Cloud CDN @@ -45118,9 +45171,9 @@ type SignedUrlKey struct { NullFields []string `json:"-"` } -func (s *SignedUrlKey) MarshalJSON() ([]byte, error) { +func (s SignedUrlKey) MarshalJSON() ([]byte, error) { type NoMethod SignedUrlKey - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Snapshot: Represents a Persistent Disk Snapshot resource. You can use @@ -45311,9 +45364,9 @@ type Snapshot struct { NullFields []string `json:"-"` } -func (s *Snapshot) MarshalJSON() ([]byte, error) { +func (s Snapshot) MarshalJSON() ([]byte, error) { type NoMethod Snapshot - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SnapshotList: Contains a list of Snapshot resources. @@ -45350,9 +45403,9 @@ type SnapshotList struct { NullFields []string `json:"-"` } -func (s *SnapshotList) MarshalJSON() ([]byte, error) { +func (s SnapshotList) MarshalJSON() ([]byte, error) { type NoMethod SnapshotList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SnapshotListWarning: [Output Only] Informational warning message. @@ -45435,9 +45488,9 @@ type SnapshotListWarning struct { NullFields []string `json:"-"` } -func (s *SnapshotListWarning) MarshalJSON() ([]byte, error) { +func (s SnapshotListWarning) MarshalJSON() ([]byte, error) { type NoMethod SnapshotListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SnapshotListWarningData struct { @@ -45464,9 +45517,9 @@ type SnapshotListWarningData struct { NullFields []string `json:"-"` } -func (s *SnapshotListWarningData) MarshalJSON() ([]byte, error) { +func (s SnapshotListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SnapshotListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SnapshotSettings struct { @@ -45490,9 +45543,9 @@ type SnapshotSettings struct { NullFields []string `json:"-"` } -func (s *SnapshotSettings) MarshalJSON() ([]byte, error) { +func (s SnapshotSettings) MarshalJSON() ([]byte, error) { type NoMethod SnapshotSettings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SnapshotSettingsStorageLocationSettings struct { @@ -45526,9 +45579,9 @@ type SnapshotSettingsStorageLocationSettings struct { NullFields []string `json:"-"` } -func (s *SnapshotSettingsStorageLocationSettings) MarshalJSON() ([]byte, error) { +func (s SnapshotSettingsStorageLocationSettings) MarshalJSON() ([]byte, error) { type NoMethod SnapshotSettingsStorageLocationSettings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SnapshotSettingsStorageLocationSettingsStorageLocationPreference: A @@ -45550,9 +45603,9 @@ type SnapshotSettingsStorageLocationSettingsStorageLocationPreference struct { NullFields []string `json:"-"` } -func (s *SnapshotSettingsStorageLocationSettingsStorageLocationPreference) MarshalJSON() ([]byte, error) { +func (s SnapshotSettingsStorageLocationSettingsStorageLocationPreference) MarshalJSON() ([]byte, error) { type NoMethod SnapshotSettingsStorageLocationSettingsStorageLocationPreference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SourceDiskEncryptionKey struct { @@ -45578,9 +45631,9 @@ type SourceDiskEncryptionKey struct { NullFields []string `json:"-"` } -func (s *SourceDiskEncryptionKey) MarshalJSON() ([]byte, error) { +func (s SourceDiskEncryptionKey) MarshalJSON() ([]byte, error) { type NoMethod SourceDiskEncryptionKey - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SourceInstanceParams: A specification of the parameters to use when creating @@ -45604,9 +45657,9 @@ type SourceInstanceParams struct { NullFields []string `json:"-"` } -func (s *SourceInstanceParams) MarshalJSON() ([]byte, error) { +func (s SourceInstanceParams) MarshalJSON() ([]byte, error) { type NoMethod SourceInstanceParams - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SourceInstanceProperties: DEPRECATED: Please use compute#instanceProperties @@ -45695,9 +45748,9 @@ type SourceInstanceProperties struct { NullFields []string `json:"-"` } -func (s *SourceInstanceProperties) MarshalJSON() ([]byte, error) { +func (s SourceInstanceProperties) MarshalJSON() ([]byte, error) { type NoMethod SourceInstanceProperties - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SslCertificate: Represents an SSL certificate resource. Google Compute @@ -45783,9 +45836,9 @@ type SslCertificate struct { NullFields []string `json:"-"` } -func (s *SslCertificate) MarshalJSON() ([]byte, error) { +func (s SslCertificate) MarshalJSON() ([]byte, error) { type NoMethod SslCertificate - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslCertificateAggregatedList struct { @@ -45824,9 +45877,9 @@ type SslCertificateAggregatedList struct { NullFields []string `json:"-"` } -func (s *SslCertificateAggregatedList) MarshalJSON() ([]byte, error) { +func (s SslCertificateAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod SslCertificateAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SslCertificateAggregatedListWarning: [Output Only] Informational warning @@ -45910,9 +45963,9 @@ type SslCertificateAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *SslCertificateAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s SslCertificateAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod SslCertificateAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslCertificateAggregatedListWarningData struct { @@ -45939,9 +45992,9 @@ type SslCertificateAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *SslCertificateAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s SslCertificateAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SslCertificateAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SslCertificateList: Contains a list of SslCertificate resources. @@ -45978,9 +46031,9 @@ type SslCertificateList struct { NullFields []string `json:"-"` } -func (s *SslCertificateList) MarshalJSON() ([]byte, error) { +func (s SslCertificateList) MarshalJSON() ([]byte, error) { type NoMethod SslCertificateList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SslCertificateListWarning: [Output Only] Informational warning message. @@ -46063,9 +46116,9 @@ type SslCertificateListWarning struct { NullFields []string `json:"-"` } -func (s *SslCertificateListWarning) MarshalJSON() ([]byte, error) { +func (s SslCertificateListWarning) MarshalJSON() ([]byte, error) { type NoMethod SslCertificateListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslCertificateListWarningData struct { @@ -46092,9 +46145,9 @@ type SslCertificateListWarningData struct { NullFields []string `json:"-"` } -func (s *SslCertificateListWarningData) MarshalJSON() ([]byte, error) { +func (s SslCertificateListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SslCertificateListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SslCertificateManagedSslCertificate: Configuration and status of a managed @@ -46142,9 +46195,9 @@ type SslCertificateManagedSslCertificate struct { NullFields []string `json:"-"` } -func (s *SslCertificateManagedSslCertificate) MarshalJSON() ([]byte, error) { +func (s SslCertificateManagedSslCertificate) MarshalJSON() ([]byte, error) { type NoMethod SslCertificateManagedSslCertificate - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SslCertificateSelfManagedSslCertificate: Configuration and status of a @@ -46170,9 +46223,9 @@ type SslCertificateSelfManagedSslCertificate struct { NullFields []string `json:"-"` } -func (s *SslCertificateSelfManagedSslCertificate) MarshalJSON() ([]byte, error) { +func (s SslCertificateSelfManagedSslCertificate) MarshalJSON() ([]byte, error) { type NoMethod SslCertificateSelfManagedSslCertificate - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslCertificatesScopedList struct { @@ -46194,9 +46247,9 @@ type SslCertificatesScopedList struct { NullFields []string `json:"-"` } -func (s *SslCertificatesScopedList) MarshalJSON() ([]byte, error) { +func (s SslCertificatesScopedList) MarshalJSON() ([]byte, error) { type NoMethod SslCertificatesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SslCertificatesScopedListWarning: Informational warning which replaces the @@ -46280,9 +46333,9 @@ type SslCertificatesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *SslCertificatesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s SslCertificatesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod SslCertificatesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslCertificatesScopedListWarningData struct { @@ -46309,9 +46362,9 @@ type SslCertificatesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *SslCertificatesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s SslCertificatesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SslCertificatesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslPoliciesAggregatedList struct { @@ -46351,9 +46404,9 @@ type SslPoliciesAggregatedList struct { NullFields []string `json:"-"` } -func (s *SslPoliciesAggregatedList) MarshalJSON() ([]byte, error) { +func (s SslPoliciesAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod SslPoliciesAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SslPoliciesAggregatedListWarning: [Output Only] Informational warning @@ -46437,9 +46490,9 @@ type SslPoliciesAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *SslPoliciesAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s SslPoliciesAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod SslPoliciesAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslPoliciesAggregatedListWarningData struct { @@ -46466,9 +46519,9 @@ type SslPoliciesAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *SslPoliciesAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s SslPoliciesAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SslPoliciesAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslPoliciesList struct { @@ -46505,9 +46558,9 @@ type SslPoliciesList struct { NullFields []string `json:"-"` } -func (s *SslPoliciesList) MarshalJSON() ([]byte, error) { +func (s SslPoliciesList) MarshalJSON() ([]byte, error) { type NoMethod SslPoliciesList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SslPoliciesListWarning: [Output Only] Informational warning message. @@ -46590,9 +46643,9 @@ type SslPoliciesListWarning struct { NullFields []string `json:"-"` } -func (s *SslPoliciesListWarning) MarshalJSON() ([]byte, error) { +func (s SslPoliciesListWarning) MarshalJSON() ([]byte, error) { type NoMethod SslPoliciesListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslPoliciesListWarningData struct { @@ -46619,9 +46672,9 @@ type SslPoliciesListWarningData struct { NullFields []string `json:"-"` } -func (s *SslPoliciesListWarningData) MarshalJSON() ([]byte, error) { +func (s SslPoliciesListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SslPoliciesListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslPoliciesListAvailableFeaturesResponse struct { @@ -46642,9 +46695,9 @@ type SslPoliciesListAvailableFeaturesResponse struct { NullFields []string `json:"-"` } -func (s *SslPoliciesListAvailableFeaturesResponse) MarshalJSON() ([]byte, error) { +func (s SslPoliciesListAvailableFeaturesResponse) MarshalJSON() ([]byte, error) { type NoMethod SslPoliciesListAvailableFeaturesResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslPoliciesScopedList struct { @@ -46666,9 +46719,9 @@ type SslPoliciesScopedList struct { NullFields []string `json:"-"` } -func (s *SslPoliciesScopedList) MarshalJSON() ([]byte, error) { +func (s SslPoliciesScopedList) MarshalJSON() ([]byte, error) { type NoMethod SslPoliciesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SslPoliciesScopedListWarning: Informational warning which replaces the list @@ -46752,9 +46805,9 @@ type SslPoliciesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *SslPoliciesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s SslPoliciesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod SslPoliciesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslPoliciesScopedListWarningData struct { @@ -46781,9 +46834,9 @@ type SslPoliciesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *SslPoliciesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s SslPoliciesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SslPoliciesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SslPolicy: Represents an SSL Policy resource. Use SSL policies to control @@ -46872,9 +46925,9 @@ type SslPolicy struct { NullFields []string `json:"-"` } -func (s *SslPolicy) MarshalJSON() ([]byte, error) { +func (s SslPolicy) MarshalJSON() ([]byte, error) { type NoMethod SslPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslPolicyWarnings struct { @@ -46956,9 +47009,9 @@ type SslPolicyWarnings struct { NullFields []string `json:"-"` } -func (s *SslPolicyWarnings) MarshalJSON() ([]byte, error) { +func (s SslPolicyWarnings) MarshalJSON() ([]byte, error) { type NoMethod SslPolicyWarnings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslPolicyWarningsData struct { @@ -46985,9 +47038,9 @@ type SslPolicyWarningsData struct { NullFields []string `json:"-"` } -func (s *SslPolicyWarningsData) MarshalJSON() ([]byte, error) { +func (s SslPolicyWarningsData) MarshalJSON() ([]byte, error) { type NoMethod SslPolicyWarningsData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslPolicyReference struct { @@ -47007,9 +47060,9 @@ type SslPolicyReference struct { NullFields []string `json:"-"` } -func (s *SslPolicyReference) MarshalJSON() ([]byte, error) { +func (s SslPolicyReference) MarshalJSON() ([]byte, error) { type NoMethod SslPolicyReference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StatefulPolicy struct { @@ -47027,9 +47080,9 @@ type StatefulPolicy struct { NullFields []string `json:"-"` } -func (s *StatefulPolicy) MarshalJSON() ([]byte, error) { +func (s StatefulPolicy) MarshalJSON() ([]byte, error) { type NoMethod StatefulPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StatefulPolicyPreservedState: Configuration of preserved resources. @@ -47058,9 +47111,9 @@ type StatefulPolicyPreservedState struct { NullFields []string `json:"-"` } -func (s *StatefulPolicyPreservedState) MarshalJSON() ([]byte, error) { +func (s StatefulPolicyPreservedState) MarshalJSON() ([]byte, error) { type NoMethod StatefulPolicyPreservedState - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StatefulPolicyPreservedStateDiskDevice struct { @@ -47087,9 +47140,9 @@ type StatefulPolicyPreservedStateDiskDevice struct { NullFields []string `json:"-"` } -func (s *StatefulPolicyPreservedStateDiskDevice) MarshalJSON() ([]byte, error) { +func (s StatefulPolicyPreservedStateDiskDevice) MarshalJSON() ([]byte, error) { type NoMethod StatefulPolicyPreservedStateDiskDevice - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StatefulPolicyPreservedStateNetworkIp struct { @@ -47115,9 +47168,9 @@ type StatefulPolicyPreservedStateNetworkIp struct { NullFields []string `json:"-"` } -func (s *StatefulPolicyPreservedStateNetworkIp) MarshalJSON() ([]byte, error) { +func (s StatefulPolicyPreservedStateNetworkIp) MarshalJSON() ([]byte, error) { type NoMethod StatefulPolicyPreservedStateNetworkIp - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Status: The `Status` type defines a logical error model that is suitable for @@ -47149,9 +47202,9 @@ type Status struct { NullFields []string `json:"-"` } -func (s *Status) MarshalJSON() ([]byte, error) { +func (s Status) MarshalJSON() ([]byte, error) { type NoMethod Status - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StoragePool: Represents a zonal storage pool resource. @@ -47261,9 +47314,9 @@ type StoragePool struct { NullFields []string `json:"-"` } -func (s *StoragePool) MarshalJSON() ([]byte, error) { +func (s StoragePool) MarshalJSON() ([]byte, error) { type NoMethod StoragePool - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolAggregatedList struct { @@ -47303,9 +47356,9 @@ type StoragePoolAggregatedList struct { NullFields []string `json:"-"` } -func (s *StoragePoolAggregatedList) MarshalJSON() ([]byte, error) { +func (s StoragePoolAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StoragePoolAggregatedListWarning: [Output Only] Informational warning @@ -47389,9 +47442,9 @@ type StoragePoolAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *StoragePoolAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s StoragePoolAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolAggregatedListWarningData struct { @@ -47418,9 +47471,9 @@ type StoragePoolAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *StoragePoolAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s StoragePoolAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolDisk struct { @@ -47470,9 +47523,9 @@ type StoragePoolDisk struct { NullFields []string `json:"-"` } -func (s *StoragePoolDisk) MarshalJSON() ([]byte, error) { +func (s StoragePoolDisk) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolDisk - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StoragePoolList: A list of StoragePool resources. @@ -47514,9 +47567,9 @@ type StoragePoolList struct { NullFields []string `json:"-"` } -func (s *StoragePoolList) MarshalJSON() ([]byte, error) { +func (s StoragePoolList) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StoragePoolListWarning: [Output Only] Informational warning message. @@ -47599,9 +47652,9 @@ type StoragePoolListWarning struct { NullFields []string `json:"-"` } -func (s *StoragePoolListWarning) MarshalJSON() ([]byte, error) { +func (s StoragePoolListWarning) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolListWarningData struct { @@ -47628,9 +47681,9 @@ type StoragePoolListWarningData struct { NullFields []string `json:"-"` } -func (s *StoragePoolListWarningData) MarshalJSON() ([]byte, error) { +func (s StoragePoolListWarningData) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolListDisks struct { @@ -47671,9 +47724,9 @@ type StoragePoolListDisks struct { NullFields []string `json:"-"` } -func (s *StoragePoolListDisks) MarshalJSON() ([]byte, error) { +func (s StoragePoolListDisks) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolListDisks - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StoragePoolListDisksWarning: [Output Only] Informational warning message. @@ -47756,9 +47809,9 @@ type StoragePoolListDisksWarning struct { NullFields []string `json:"-"` } -func (s *StoragePoolListDisksWarning) MarshalJSON() ([]byte, error) { +func (s StoragePoolListDisksWarning) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolListDisksWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolListDisksWarningData struct { @@ -47785,9 +47838,9 @@ type StoragePoolListDisksWarningData struct { NullFields []string `json:"-"` } -func (s *StoragePoolListDisksWarningData) MarshalJSON() ([]byte, error) { +func (s StoragePoolListDisksWarningData) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolListDisksWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StoragePoolResourceStatus: [Output Only] Contains output only fields. @@ -47840,9 +47893,9 @@ type StoragePoolResourceStatus struct { NullFields []string `json:"-"` } -func (s *StoragePoolResourceStatus) MarshalJSON() ([]byte, error) { +func (s StoragePoolResourceStatus) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolResourceStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolType struct { @@ -47904,9 +47957,9 @@ type StoragePoolType struct { NullFields []string `json:"-"` } -func (s *StoragePoolType) MarshalJSON() ([]byte, error) { +func (s StoragePoolType) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolType - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolTypeAggregatedList struct { @@ -47943,9 +47996,9 @@ type StoragePoolTypeAggregatedList struct { NullFields []string `json:"-"` } -func (s *StoragePoolTypeAggregatedList) MarshalJSON() ([]byte, error) { +func (s StoragePoolTypeAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolTypeAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StoragePoolTypeAggregatedListWarning: [Output Only] Informational warning @@ -48029,9 +48082,9 @@ type StoragePoolTypeAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *StoragePoolTypeAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s StoragePoolTypeAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolTypeAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolTypeAggregatedListWarningData struct { @@ -48058,9 +48111,9 @@ type StoragePoolTypeAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *StoragePoolTypeAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s StoragePoolTypeAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolTypeAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StoragePoolTypeList: Contains a list of storage pool types. @@ -48098,9 +48151,9 @@ type StoragePoolTypeList struct { NullFields []string `json:"-"` } -func (s *StoragePoolTypeList) MarshalJSON() ([]byte, error) { +func (s StoragePoolTypeList) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolTypeList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StoragePoolTypeListWarning: [Output Only] Informational warning message. @@ -48183,9 +48236,9 @@ type StoragePoolTypeListWarning struct { NullFields []string `json:"-"` } -func (s *StoragePoolTypeListWarning) MarshalJSON() ([]byte, error) { +func (s StoragePoolTypeListWarning) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolTypeListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolTypeListWarningData struct { @@ -48212,9 +48265,9 @@ type StoragePoolTypeListWarningData struct { NullFields []string `json:"-"` } -func (s *StoragePoolTypeListWarningData) MarshalJSON() ([]byte, error) { +func (s StoragePoolTypeListWarningData) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolTypeListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolTypesScopedList struct { @@ -48237,9 +48290,9 @@ type StoragePoolTypesScopedList struct { NullFields []string `json:"-"` } -func (s *StoragePoolTypesScopedList) MarshalJSON() ([]byte, error) { +func (s StoragePoolTypesScopedList) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolTypesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StoragePoolTypesScopedListWarning: [Output Only] Informational warning which @@ -48323,9 +48376,9 @@ type StoragePoolTypesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *StoragePoolTypesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s StoragePoolTypesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolTypesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolTypesScopedListWarningData struct { @@ -48352,9 +48405,9 @@ type StoragePoolTypesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *StoragePoolTypesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s StoragePoolTypesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolTypesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolsScopedList struct { @@ -48376,9 +48429,9 @@ type StoragePoolsScopedList struct { NullFields []string `json:"-"` } -func (s *StoragePoolsScopedList) MarshalJSON() ([]byte, error) { +func (s StoragePoolsScopedList) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StoragePoolsScopedListWarning: [Output Only] Informational warning which @@ -48462,9 +48515,9 @@ type StoragePoolsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *StoragePoolsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s StoragePoolsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolsScopedListWarningData struct { @@ -48491,9 +48544,9 @@ type StoragePoolsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *StoragePoolsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s StoragePoolsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StructuredEntries struct { @@ -48513,9 +48566,9 @@ type StructuredEntries struct { NullFields []string `json:"-"` } -func (s *StructuredEntries) MarshalJSON() ([]byte, error) { +func (s StructuredEntries) MarshalJSON() ([]byte, error) { type NoMethod StructuredEntries - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Subnetwork: Represents a Subnetwork resource. A subnetwork (also known as a @@ -48709,9 +48762,9 @@ type Subnetwork struct { NullFields []string `json:"-"` } -func (s *Subnetwork) MarshalJSON() ([]byte, error) { +func (s Subnetwork) MarshalJSON() ([]byte, error) { type NoMethod Subnetwork - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SubnetworkAggregatedList struct { @@ -48750,9 +48803,9 @@ type SubnetworkAggregatedList struct { NullFields []string `json:"-"` } -func (s *SubnetworkAggregatedList) MarshalJSON() ([]byte, error) { +func (s SubnetworkAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod SubnetworkAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SubnetworkAggregatedListWarning: [Output Only] Informational warning @@ -48836,9 +48889,9 @@ type SubnetworkAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *SubnetworkAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s SubnetworkAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod SubnetworkAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SubnetworkAggregatedListWarningData struct { @@ -48865,9 +48918,9 @@ type SubnetworkAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *SubnetworkAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s SubnetworkAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SubnetworkAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SubnetworkList: Contains a list of Subnetwork resources. @@ -48905,9 +48958,9 @@ type SubnetworkList struct { NullFields []string `json:"-"` } -func (s *SubnetworkList) MarshalJSON() ([]byte, error) { +func (s SubnetworkList) MarshalJSON() ([]byte, error) { type NoMethod SubnetworkList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SubnetworkListWarning: [Output Only] Informational warning message. @@ -48990,9 +49043,9 @@ type SubnetworkListWarning struct { NullFields []string `json:"-"` } -func (s *SubnetworkListWarning) MarshalJSON() ([]byte, error) { +func (s SubnetworkListWarning) MarshalJSON() ([]byte, error) { type NoMethod SubnetworkListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SubnetworkListWarningData struct { @@ -49019,9 +49072,9 @@ type SubnetworkListWarningData struct { NullFields []string `json:"-"` } -func (s *SubnetworkListWarningData) MarshalJSON() ([]byte, error) { +func (s SubnetworkListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SubnetworkListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SubnetworkLogConfig: The available logging options for this subnetwork. @@ -49082,9 +49135,9 @@ type SubnetworkLogConfig struct { NullFields []string `json:"-"` } -func (s *SubnetworkLogConfig) MarshalJSON() ([]byte, error) { +func (s SubnetworkLogConfig) MarshalJSON() ([]byte, error) { type NoMethod SubnetworkLogConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *SubnetworkLogConfig) UnmarshalJSON(data []byte) error { @@ -49129,9 +49182,9 @@ type SubnetworkSecondaryRange struct { NullFields []string `json:"-"` } -func (s *SubnetworkSecondaryRange) MarshalJSON() ([]byte, error) { +func (s SubnetworkSecondaryRange) MarshalJSON() ([]byte, error) { type NoMethod SubnetworkSecondaryRange - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SubnetworksExpandIpCidrRangeRequest struct { @@ -49153,9 +49206,9 @@ type SubnetworksExpandIpCidrRangeRequest struct { NullFields []string `json:"-"` } -func (s *SubnetworksExpandIpCidrRangeRequest) MarshalJSON() ([]byte, error) { +func (s SubnetworksExpandIpCidrRangeRequest) MarshalJSON() ([]byte, error) { type NoMethod SubnetworksExpandIpCidrRangeRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SubnetworksScopedList struct { @@ -49177,9 +49230,9 @@ type SubnetworksScopedList struct { NullFields []string `json:"-"` } -func (s *SubnetworksScopedList) MarshalJSON() ([]byte, error) { +func (s SubnetworksScopedList) MarshalJSON() ([]byte, error) { type NoMethod SubnetworksScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SubnetworksScopedListWarning: An informational warning that appears when the @@ -49263,9 +49316,9 @@ type SubnetworksScopedListWarning struct { NullFields []string `json:"-"` } -func (s *SubnetworksScopedListWarning) MarshalJSON() ([]byte, error) { +func (s SubnetworksScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod SubnetworksScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SubnetworksScopedListWarningData struct { @@ -49292,9 +49345,9 @@ type SubnetworksScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *SubnetworksScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s SubnetworksScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SubnetworksScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SubnetworksSetPrivateIpGoogleAccessRequest struct { @@ -49312,9 +49365,9 @@ type SubnetworksSetPrivateIpGoogleAccessRequest struct { NullFields []string `json:"-"` } -func (s *SubnetworksSetPrivateIpGoogleAccessRequest) MarshalJSON() ([]byte, error) { +func (s SubnetworksSetPrivateIpGoogleAccessRequest) MarshalJSON() ([]byte, error) { type NoMethod SubnetworksSetPrivateIpGoogleAccessRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Subsetting: Subsetting configuration for this BackendService. Currently this @@ -49359,9 +49412,9 @@ type Subsetting struct { NullFields []string `json:"-"` } -func (s *Subsetting) MarshalJSON() ([]byte, error) { +func (s Subsetting) MarshalJSON() ([]byte, error) { type NoMethod Subsetting - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TCPHealthCheck struct { @@ -49429,9 +49482,9 @@ type TCPHealthCheck struct { NullFields []string `json:"-"` } -func (s *TCPHealthCheck) MarshalJSON() ([]byte, error) { +func (s TCPHealthCheck) MarshalJSON() ([]byte, error) { type NoMethod TCPHealthCheck - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Tags: A set of instance tags. @@ -49459,9 +49512,9 @@ type Tags struct { NullFields []string `json:"-"` } -func (s *Tags) MarshalJSON() ([]byte, error) { +func (s Tags) MarshalJSON() ([]byte, error) { type NoMethod Tags - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetGrpcProxy: Represents a Target gRPC Proxy resource. A target gRPC @@ -49531,9 +49584,9 @@ type TargetGrpcProxy struct { NullFields []string `json:"-"` } -func (s *TargetGrpcProxy) MarshalJSON() ([]byte, error) { +func (s TargetGrpcProxy) MarshalJSON() ([]byte, error) { type NoMethod TargetGrpcProxy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetGrpcProxyList struct { @@ -49570,9 +49623,9 @@ type TargetGrpcProxyList struct { NullFields []string `json:"-"` } -func (s *TargetGrpcProxyList) MarshalJSON() ([]byte, error) { +func (s TargetGrpcProxyList) MarshalJSON() ([]byte, error) { type NoMethod TargetGrpcProxyList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetGrpcProxyListWarning: [Output Only] Informational warning message. @@ -49655,9 +49708,9 @@ type TargetGrpcProxyListWarning struct { NullFields []string `json:"-"` } -func (s *TargetGrpcProxyListWarning) MarshalJSON() ([]byte, error) { +func (s TargetGrpcProxyListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetGrpcProxyListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetGrpcProxyListWarningData struct { @@ -49684,9 +49737,9 @@ type TargetGrpcProxyListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetGrpcProxyListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetGrpcProxyListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetGrpcProxyListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpProxiesScopedList struct { @@ -49708,9 +49761,9 @@ type TargetHttpProxiesScopedList struct { NullFields []string `json:"-"` } -func (s *TargetHttpProxiesScopedList) MarshalJSON() ([]byte, error) { +func (s TargetHttpProxiesScopedList) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpProxiesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetHttpProxiesScopedListWarning: Informational warning which replaces the @@ -49794,9 +49847,9 @@ type TargetHttpProxiesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetHttpProxiesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetHttpProxiesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpProxiesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpProxiesScopedListWarningData struct { @@ -49823,9 +49876,9 @@ type TargetHttpProxiesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetHttpProxiesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetHttpProxiesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpProxiesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetHttpProxy: Represents a Target HTTP Proxy resource. Google Compute @@ -49920,9 +49973,9 @@ type TargetHttpProxy struct { NullFields []string `json:"-"` } -func (s *TargetHttpProxy) MarshalJSON() ([]byte, error) { +func (s TargetHttpProxy) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpProxy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpProxyAggregatedList struct { @@ -49961,9 +50014,9 @@ type TargetHttpProxyAggregatedList struct { NullFields []string `json:"-"` } -func (s *TargetHttpProxyAggregatedList) MarshalJSON() ([]byte, error) { +func (s TargetHttpProxyAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpProxyAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetHttpProxyAggregatedListWarning: [Output Only] Informational warning @@ -50047,9 +50100,9 @@ type TargetHttpProxyAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetHttpProxyAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetHttpProxyAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpProxyAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpProxyAggregatedListWarningData struct { @@ -50076,9 +50129,9 @@ type TargetHttpProxyAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetHttpProxyAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetHttpProxyAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpProxyAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetHttpProxyList: A list of TargetHttpProxy resources. @@ -50116,9 +50169,9 @@ type TargetHttpProxyList struct { NullFields []string `json:"-"` } -func (s *TargetHttpProxyList) MarshalJSON() ([]byte, error) { +func (s TargetHttpProxyList) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpProxyList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetHttpProxyListWarning: [Output Only] Informational warning message. @@ -50201,9 +50254,9 @@ type TargetHttpProxyListWarning struct { NullFields []string `json:"-"` } -func (s *TargetHttpProxyListWarning) MarshalJSON() ([]byte, error) { +func (s TargetHttpProxyListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpProxyListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpProxyListWarningData struct { @@ -50230,9 +50283,9 @@ type TargetHttpProxyListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetHttpProxyListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetHttpProxyListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpProxyListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpsProxiesScopedList struct { @@ -50254,9 +50307,9 @@ type TargetHttpsProxiesScopedList struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxiesScopedList) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxiesScopedList) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxiesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetHttpsProxiesScopedListWarning: Informational warning which replaces @@ -50340,9 +50393,9 @@ type TargetHttpsProxiesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxiesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxiesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxiesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpsProxiesScopedListWarningData struct { @@ -50369,9 +50422,9 @@ type TargetHttpsProxiesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxiesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxiesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxiesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpsProxiesSetCertificateMapRequest struct { @@ -50393,9 +50446,9 @@ type TargetHttpsProxiesSetCertificateMapRequest struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxiesSetCertificateMapRequest) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxiesSetCertificateMapRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxiesSetCertificateMapRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpsProxiesSetQuicOverrideRequest struct { @@ -50421,9 +50474,9 @@ type TargetHttpsProxiesSetQuicOverrideRequest struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxiesSetQuicOverrideRequest) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxiesSetQuicOverrideRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxiesSetQuicOverrideRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpsProxiesSetSslCertificatesRequest struct { @@ -50444,9 +50497,9 @@ type TargetHttpsProxiesSetSslCertificatesRequest struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxiesSetSslCertificatesRequest) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxiesSetSslCertificatesRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxiesSetSslCertificatesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetHttpsProxy: Represents a Target HTTPS Proxy resource. Google Compute @@ -50628,9 +50681,9 @@ type TargetHttpsProxy struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxy) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxy) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpsProxyAggregatedList struct { @@ -50669,9 +50722,9 @@ type TargetHttpsProxyAggregatedList struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxyAggregatedList) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxyAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxyAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetHttpsProxyAggregatedListWarning: [Output Only] Informational warning @@ -50755,9 +50808,9 @@ type TargetHttpsProxyAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxyAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxyAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxyAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpsProxyAggregatedListWarningData struct { @@ -50784,9 +50837,9 @@ type TargetHttpsProxyAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxyAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxyAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxyAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetHttpsProxyList: Contains a list of TargetHttpsProxy resources. @@ -50824,9 +50877,9 @@ type TargetHttpsProxyList struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxyList) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxyList) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxyList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetHttpsProxyListWarning: [Output Only] Informational warning message. @@ -50909,9 +50962,9 @@ type TargetHttpsProxyListWarning struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxyListWarning) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxyListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxyListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpsProxyListWarningData struct { @@ -50938,9 +50991,9 @@ type TargetHttpsProxyListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxyListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxyListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxyListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetInstance: Represents a Target Instance resource. You can use a target @@ -51011,9 +51064,9 @@ type TargetInstance struct { NullFields []string `json:"-"` } -func (s *TargetInstance) MarshalJSON() ([]byte, error) { +func (s TargetInstance) MarshalJSON() ([]byte, error) { type NoMethod TargetInstance - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetInstanceAggregatedList struct { @@ -51051,9 +51104,9 @@ type TargetInstanceAggregatedList struct { NullFields []string `json:"-"` } -func (s *TargetInstanceAggregatedList) MarshalJSON() ([]byte, error) { +func (s TargetInstanceAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod TargetInstanceAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetInstanceAggregatedListWarning: [Output Only] Informational warning @@ -51137,9 +51190,9 @@ type TargetInstanceAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetInstanceAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetInstanceAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetInstanceAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetInstanceAggregatedListWarningData struct { @@ -51166,9 +51219,9 @@ type TargetInstanceAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetInstanceAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetInstanceAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetInstanceAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetInstanceList: Contains a list of TargetInstance resources. @@ -51205,9 +51258,9 @@ type TargetInstanceList struct { NullFields []string `json:"-"` } -func (s *TargetInstanceList) MarshalJSON() ([]byte, error) { +func (s TargetInstanceList) MarshalJSON() ([]byte, error) { type NoMethod TargetInstanceList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetInstanceListWarning: [Output Only] Informational warning message. @@ -51290,9 +51343,9 @@ type TargetInstanceListWarning struct { NullFields []string `json:"-"` } -func (s *TargetInstanceListWarning) MarshalJSON() ([]byte, error) { +func (s TargetInstanceListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetInstanceListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetInstanceListWarningData struct { @@ -51319,9 +51372,9 @@ type TargetInstanceListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetInstanceListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetInstanceListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetInstanceListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetInstancesScopedList struct { @@ -51343,9 +51396,9 @@ type TargetInstancesScopedList struct { NullFields []string `json:"-"` } -func (s *TargetInstancesScopedList) MarshalJSON() ([]byte, error) { +func (s TargetInstancesScopedList) MarshalJSON() ([]byte, error) { type NoMethod TargetInstancesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetInstancesScopedListWarning: Informational warning which replaces the @@ -51429,9 +51482,9 @@ type TargetInstancesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetInstancesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetInstancesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetInstancesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetInstancesScopedListWarningData struct { @@ -51458,9 +51511,9 @@ type TargetInstancesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetInstancesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetInstancesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetInstancesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetPool: Represents a Target Pool resource. Target pools are used with @@ -51560,6 +51613,9 @@ type TargetPool struct { // "HTTP_COOKIE" - The hash is based on a user provided cookie. // "NONE" - No session affinity. Connections from the same client IP may go // to any instance in the pool. + // "STRONG_COOKIE_AFFINITY" - Strong cookie-based affinity. Connections + // bearing the same cookie will be served by the same backend VM while that VM + // remains healthy, as long as the cookie has not expired. SessionAffinity string `json:"sessionAffinity,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. @@ -51577,9 +51633,9 @@ type TargetPool struct { NullFields []string `json:"-"` } -func (s *TargetPool) MarshalJSON() ([]byte, error) { +func (s TargetPool) MarshalJSON() ([]byte, error) { type NoMethod TargetPool - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *TargetPool) UnmarshalJSON(data []byte) error { @@ -51632,9 +51688,9 @@ type TargetPoolAggregatedList struct { NullFields []string `json:"-"` } -func (s *TargetPoolAggregatedList) MarshalJSON() ([]byte, error) { +func (s TargetPoolAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetPoolAggregatedListWarning: [Output Only] Informational warning @@ -51718,9 +51774,9 @@ type TargetPoolAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetPoolAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetPoolAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetPoolAggregatedListWarningData struct { @@ -51747,9 +51803,9 @@ type TargetPoolAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetPoolAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetPoolAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetPoolInstanceHealth struct { @@ -51773,9 +51829,9 @@ type TargetPoolInstanceHealth struct { NullFields []string `json:"-"` } -func (s *TargetPoolInstanceHealth) MarshalJSON() ([]byte, error) { +func (s TargetPoolInstanceHealth) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolInstanceHealth - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetPoolList: Contains a list of TargetPool resources. @@ -51813,9 +51869,9 @@ type TargetPoolList struct { NullFields []string `json:"-"` } -func (s *TargetPoolList) MarshalJSON() ([]byte, error) { +func (s TargetPoolList) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetPoolListWarning: [Output Only] Informational warning message. @@ -51898,9 +51954,9 @@ type TargetPoolListWarning struct { NullFields []string `json:"-"` } -func (s *TargetPoolListWarning) MarshalJSON() ([]byte, error) { +func (s TargetPoolListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetPoolListWarningData struct { @@ -51927,9 +51983,9 @@ type TargetPoolListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetPoolListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetPoolListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetPoolsAddHealthCheckRequest struct { @@ -51948,9 +52004,9 @@ type TargetPoolsAddHealthCheckRequest struct { NullFields []string `json:"-"` } -func (s *TargetPoolsAddHealthCheckRequest) MarshalJSON() ([]byte, error) { +func (s TargetPoolsAddHealthCheckRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolsAddHealthCheckRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetPoolsAddInstanceRequest struct { @@ -51974,9 +52030,9 @@ type TargetPoolsAddInstanceRequest struct { NullFields []string `json:"-"` } -func (s *TargetPoolsAddInstanceRequest) MarshalJSON() ([]byte, error) { +func (s TargetPoolsAddInstanceRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolsAddInstanceRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetPoolsRemoveHealthCheckRequest struct { @@ -52000,9 +52056,9 @@ type TargetPoolsRemoveHealthCheckRequest struct { NullFields []string `json:"-"` } -func (s *TargetPoolsRemoveHealthCheckRequest) MarshalJSON() ([]byte, error) { +func (s TargetPoolsRemoveHealthCheckRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolsRemoveHealthCheckRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetPoolsRemoveInstanceRequest struct { @@ -52021,9 +52077,9 @@ type TargetPoolsRemoveInstanceRequest struct { NullFields []string `json:"-"` } -func (s *TargetPoolsRemoveInstanceRequest) MarshalJSON() ([]byte, error) { +func (s TargetPoolsRemoveInstanceRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolsRemoveInstanceRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetPoolsScopedList struct { @@ -52045,9 +52101,9 @@ type TargetPoolsScopedList struct { NullFields []string `json:"-"` } -func (s *TargetPoolsScopedList) MarshalJSON() ([]byte, error) { +func (s TargetPoolsScopedList) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetPoolsScopedListWarning: Informational warning which replaces the list @@ -52131,9 +52187,9 @@ type TargetPoolsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetPoolsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetPoolsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetPoolsScopedListWarningData struct { @@ -52160,9 +52216,9 @@ type TargetPoolsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetPoolsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetPoolsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetReference struct { @@ -52180,9 +52236,9 @@ type TargetReference struct { NullFields []string `json:"-"` } -func (s *TargetReference) MarshalJSON() ([]byte, error) { +func (s TargetReference) MarshalJSON() ([]byte, error) { type NoMethod TargetReference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetSslProxiesSetBackendServiceRequest struct { @@ -52201,9 +52257,9 @@ type TargetSslProxiesSetBackendServiceRequest struct { NullFields []string `json:"-"` } -func (s *TargetSslProxiesSetBackendServiceRequest) MarshalJSON() ([]byte, error) { +func (s TargetSslProxiesSetBackendServiceRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetSslProxiesSetBackendServiceRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetSslProxiesSetCertificateMapRequest struct { @@ -52225,9 +52281,9 @@ type TargetSslProxiesSetCertificateMapRequest struct { NullFields []string `json:"-"` } -func (s *TargetSslProxiesSetCertificateMapRequest) MarshalJSON() ([]byte, error) { +func (s TargetSslProxiesSetCertificateMapRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetSslProxiesSetCertificateMapRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetSslProxiesSetProxyHeaderRequest struct { @@ -52251,9 +52307,9 @@ type TargetSslProxiesSetProxyHeaderRequest struct { NullFields []string `json:"-"` } -func (s *TargetSslProxiesSetProxyHeaderRequest) MarshalJSON() ([]byte, error) { +func (s TargetSslProxiesSetProxyHeaderRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetSslProxiesSetProxyHeaderRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetSslProxiesSetSslCertificatesRequest struct { @@ -52274,9 +52330,9 @@ type TargetSslProxiesSetSslCertificatesRequest struct { NullFields []string `json:"-"` } -func (s *TargetSslProxiesSetSslCertificatesRequest) MarshalJSON() ([]byte, error) { +func (s TargetSslProxiesSetSslCertificatesRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetSslProxiesSetSslCertificatesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetSslProxy: Represents a Target SSL Proxy resource. A target SSL proxy @@ -52347,9 +52403,9 @@ type TargetSslProxy struct { NullFields []string `json:"-"` } -func (s *TargetSslProxy) MarshalJSON() ([]byte, error) { +func (s TargetSslProxy) MarshalJSON() ([]byte, error) { type NoMethod TargetSslProxy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetSslProxyList: Contains a list of TargetSslProxy resources. @@ -52386,9 +52442,9 @@ type TargetSslProxyList struct { NullFields []string `json:"-"` } -func (s *TargetSslProxyList) MarshalJSON() ([]byte, error) { +func (s TargetSslProxyList) MarshalJSON() ([]byte, error) { type NoMethod TargetSslProxyList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetSslProxyListWarning: [Output Only] Informational warning message. @@ -52471,9 +52527,9 @@ type TargetSslProxyListWarning struct { NullFields []string `json:"-"` } -func (s *TargetSslProxyListWarning) MarshalJSON() ([]byte, error) { +func (s TargetSslProxyListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetSslProxyListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetSslProxyListWarningData struct { @@ -52500,9 +52556,9 @@ type TargetSslProxyListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetSslProxyListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetSslProxyListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetSslProxyListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetTcpProxiesScopedList struct { @@ -52524,9 +52580,9 @@ type TargetTcpProxiesScopedList struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxiesScopedList) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxiesScopedList) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxiesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetTcpProxiesScopedListWarning: Informational warning which replaces the @@ -52610,9 +52666,9 @@ type TargetTcpProxiesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxiesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxiesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxiesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetTcpProxiesScopedListWarningData struct { @@ -52639,9 +52695,9 @@ type TargetTcpProxiesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxiesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxiesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxiesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetTcpProxiesSetBackendServiceRequest struct { @@ -52660,9 +52716,9 @@ type TargetTcpProxiesSetBackendServiceRequest struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxiesSetBackendServiceRequest) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxiesSetBackendServiceRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxiesSetBackendServiceRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetTcpProxiesSetProxyHeaderRequest struct { @@ -52686,9 +52742,9 @@ type TargetTcpProxiesSetProxyHeaderRequest struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxiesSetProxyHeaderRequest) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxiesSetProxyHeaderRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxiesSetProxyHeaderRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetTcpProxy: Represents a Target TCP Proxy resource. A target TCP proxy @@ -52755,9 +52811,9 @@ type TargetTcpProxy struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxy) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxy) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetTcpProxyAggregatedList struct { @@ -52796,9 +52852,9 @@ type TargetTcpProxyAggregatedList struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxyAggregatedList) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxyAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxyAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetTcpProxyAggregatedListWarning: [Output Only] Informational warning @@ -52882,9 +52938,9 @@ type TargetTcpProxyAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxyAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxyAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxyAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetTcpProxyAggregatedListWarningData struct { @@ -52911,9 +52967,9 @@ type TargetTcpProxyAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxyAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxyAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxyAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetTcpProxyList: Contains a list of TargetTcpProxy resources. @@ -52950,9 +53006,9 @@ type TargetTcpProxyList struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxyList) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxyList) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxyList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetTcpProxyListWarning: [Output Only] Informational warning message. @@ -53035,9 +53091,9 @@ type TargetTcpProxyListWarning struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxyListWarning) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxyListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxyListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetTcpProxyListWarningData struct { @@ -53064,9 +53120,9 @@ type TargetTcpProxyListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxyListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxyListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxyListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetVpnGateway: Represents a Target VPN Gateway resource. The target VPN @@ -53146,9 +53202,9 @@ type TargetVpnGateway struct { NullFields []string `json:"-"` } -func (s *TargetVpnGateway) MarshalJSON() ([]byte, error) { +func (s TargetVpnGateway) MarshalJSON() ([]byte, error) { type NoMethod TargetVpnGateway - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetVpnGatewayAggregatedList struct { @@ -53187,9 +53243,9 @@ type TargetVpnGatewayAggregatedList struct { NullFields []string `json:"-"` } -func (s *TargetVpnGatewayAggregatedList) MarshalJSON() ([]byte, error) { +func (s TargetVpnGatewayAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod TargetVpnGatewayAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetVpnGatewayAggregatedListWarning: [Output Only] Informational warning @@ -53273,9 +53329,9 @@ type TargetVpnGatewayAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetVpnGatewayAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetVpnGatewayAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetVpnGatewayAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetVpnGatewayAggregatedListWarningData struct { @@ -53302,9 +53358,9 @@ type TargetVpnGatewayAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetVpnGatewayAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetVpnGatewayAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetVpnGatewayAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetVpnGatewayList: Contains a list of TargetVpnGateway resources. @@ -53342,9 +53398,9 @@ type TargetVpnGatewayList struct { NullFields []string `json:"-"` } -func (s *TargetVpnGatewayList) MarshalJSON() ([]byte, error) { +func (s TargetVpnGatewayList) MarshalJSON() ([]byte, error) { type NoMethod TargetVpnGatewayList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetVpnGatewayListWarning: [Output Only] Informational warning message. @@ -53427,9 +53483,9 @@ type TargetVpnGatewayListWarning struct { NullFields []string `json:"-"` } -func (s *TargetVpnGatewayListWarning) MarshalJSON() ([]byte, error) { +func (s TargetVpnGatewayListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetVpnGatewayListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetVpnGatewayListWarningData struct { @@ -53456,9 +53512,9 @@ type TargetVpnGatewayListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetVpnGatewayListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetVpnGatewayListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetVpnGatewayListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetVpnGatewaysScopedList struct { @@ -53481,9 +53537,9 @@ type TargetVpnGatewaysScopedList struct { NullFields []string `json:"-"` } -func (s *TargetVpnGatewaysScopedList) MarshalJSON() ([]byte, error) { +func (s TargetVpnGatewaysScopedList) MarshalJSON() ([]byte, error) { type NoMethod TargetVpnGatewaysScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetVpnGatewaysScopedListWarning: [Output Only] Informational warning @@ -53567,9 +53623,9 @@ type TargetVpnGatewaysScopedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetVpnGatewaysScopedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetVpnGatewaysScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetVpnGatewaysScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetVpnGatewaysScopedListWarningData struct { @@ -53596,9 +53652,9 @@ type TargetVpnGatewaysScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetVpnGatewaysScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetVpnGatewaysScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetVpnGatewaysScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TestFailure struct { @@ -53638,9 +53694,9 @@ type TestFailure struct { NullFields []string `json:"-"` } -func (s *TestFailure) MarshalJSON() ([]byte, error) { +func (s TestFailure) MarshalJSON() ([]byte, error) { type NoMethod TestFailure - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TestPermissionsRequest struct { @@ -53660,9 +53716,9 @@ type TestPermissionsRequest struct { NullFields []string `json:"-"` } -func (s *TestPermissionsRequest) MarshalJSON() ([]byte, error) { +func (s TestPermissionsRequest) MarshalJSON() ([]byte, error) { type NoMethod TestPermissionsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TestPermissionsResponse struct { @@ -53685,9 +53741,9 @@ type TestPermissionsResponse struct { NullFields []string `json:"-"` } -func (s *TestPermissionsResponse) MarshalJSON() ([]byte, error) { +func (s TestPermissionsResponse) MarshalJSON() ([]byte, error) { type NoMethod TestPermissionsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type Uint128 struct { @@ -53706,9 +53762,9 @@ type Uint128 struct { NullFields []string `json:"-"` } -func (s *Uint128) MarshalJSON() ([]byte, error) { +func (s Uint128) MarshalJSON() ([]byte, error) { type NoMethod Uint128 - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UpcomingMaintenance: Upcoming Maintenance notification information. @@ -53751,9 +53807,9 @@ type UpcomingMaintenance struct { NullFields []string `json:"-"` } -func (s *UpcomingMaintenance) MarshalJSON() ([]byte, error) { +func (s UpcomingMaintenance) MarshalJSON() ([]byte, error) { type NoMethod UpcomingMaintenance - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UrlMap: Represents a URL Map resource. Compute Engine has two URL Map @@ -53893,9 +53949,9 @@ type UrlMap struct { NullFields []string `json:"-"` } -func (s *UrlMap) MarshalJSON() ([]byte, error) { +func (s UrlMap) MarshalJSON() ([]byte, error) { type NoMethod UrlMap - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UrlMapList: Contains a list of UrlMap resources. @@ -53932,9 +53988,9 @@ type UrlMapList struct { NullFields []string `json:"-"` } -func (s *UrlMapList) MarshalJSON() ([]byte, error) { +func (s UrlMapList) MarshalJSON() ([]byte, error) { type NoMethod UrlMapList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UrlMapListWarning: [Output Only] Informational warning message. @@ -54017,9 +54073,9 @@ type UrlMapListWarning struct { NullFields []string `json:"-"` } -func (s *UrlMapListWarning) MarshalJSON() ([]byte, error) { +func (s UrlMapListWarning) MarshalJSON() ([]byte, error) { type NoMethod UrlMapListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type UrlMapListWarningData struct { @@ -54046,9 +54102,9 @@ type UrlMapListWarningData struct { NullFields []string `json:"-"` } -func (s *UrlMapListWarningData) MarshalJSON() ([]byte, error) { +func (s UrlMapListWarningData) MarshalJSON() ([]byte, error) { type NoMethod UrlMapListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type UrlMapReference struct { @@ -54066,9 +54122,9 @@ type UrlMapReference struct { NullFields []string `json:"-"` } -func (s *UrlMapReference) MarshalJSON() ([]byte, error) { +func (s UrlMapReference) MarshalJSON() ([]byte, error) { type NoMethod UrlMapReference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UrlMapTest: Message for the expected URL mappings. @@ -54119,9 +54175,9 @@ type UrlMapTest struct { NullFields []string `json:"-"` } -func (s *UrlMapTest) MarshalJSON() ([]byte, error) { +func (s UrlMapTest) MarshalJSON() ([]byte, error) { type NoMethod UrlMapTest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UrlMapTestHeader: HTTP headers used in UrlMapTests. @@ -54143,9 +54199,9 @@ type UrlMapTestHeader struct { NullFields []string `json:"-"` } -func (s *UrlMapTestHeader) MarshalJSON() ([]byte, error) { +func (s UrlMapTestHeader) MarshalJSON() ([]byte, error) { type NoMethod UrlMapTestHeader - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UrlMapValidationResult: Message representing the validation result for a @@ -54172,9 +54228,9 @@ type UrlMapValidationResult struct { NullFields []string `json:"-"` } -func (s *UrlMapValidationResult) MarshalJSON() ([]byte, error) { +func (s UrlMapValidationResult) MarshalJSON() ([]byte, error) { type NoMethod UrlMapValidationResult - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type UrlMapsAggregatedList struct { @@ -54212,9 +54268,9 @@ type UrlMapsAggregatedList struct { NullFields []string `json:"-"` } -func (s *UrlMapsAggregatedList) MarshalJSON() ([]byte, error) { +func (s UrlMapsAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod UrlMapsAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UrlMapsAggregatedListWarning: [Output Only] Informational warning message. @@ -54297,9 +54353,9 @@ type UrlMapsAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *UrlMapsAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s UrlMapsAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod UrlMapsAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type UrlMapsAggregatedListWarningData struct { @@ -54326,9 +54382,9 @@ type UrlMapsAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *UrlMapsAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s UrlMapsAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod UrlMapsAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type UrlMapsScopedList struct { @@ -54350,9 +54406,9 @@ type UrlMapsScopedList struct { NullFields []string `json:"-"` } -func (s *UrlMapsScopedList) MarshalJSON() ([]byte, error) { +func (s UrlMapsScopedList) MarshalJSON() ([]byte, error) { type NoMethod UrlMapsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UrlMapsScopedListWarning: Informational warning which replaces the list of @@ -54436,9 +54492,9 @@ type UrlMapsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *UrlMapsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s UrlMapsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod UrlMapsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type UrlMapsScopedListWarningData struct { @@ -54465,9 +54521,9 @@ type UrlMapsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *UrlMapsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s UrlMapsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod UrlMapsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type UrlMapsValidateRequest struct { @@ -54509,9 +54565,9 @@ type UrlMapsValidateRequest struct { NullFields []string `json:"-"` } -func (s *UrlMapsValidateRequest) MarshalJSON() ([]byte, error) { +func (s UrlMapsValidateRequest) MarshalJSON() ([]byte, error) { type NoMethod UrlMapsValidateRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type UrlMapsValidateResponse struct { @@ -54532,9 +54588,9 @@ type UrlMapsValidateResponse struct { NullFields []string `json:"-"` } -func (s *UrlMapsValidateResponse) MarshalJSON() ([]byte, error) { +func (s UrlMapsValidateResponse) MarshalJSON() ([]byte, error) { type NoMethod UrlMapsValidateResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UrlRewrite: The spec for modifying the path before sending the request to @@ -54575,9 +54631,9 @@ type UrlRewrite struct { NullFields []string `json:"-"` } -func (s *UrlRewrite) MarshalJSON() ([]byte, error) { +func (s UrlRewrite) MarshalJSON() ([]byte, error) { type NoMethod UrlRewrite - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UsableSubnetwork: Subnetwork which the current user has @@ -54668,9 +54724,9 @@ type UsableSubnetwork struct { NullFields []string `json:"-"` } -func (s *UsableSubnetwork) MarshalJSON() ([]byte, error) { +func (s UsableSubnetwork) MarshalJSON() ([]byte, error) { type NoMethod UsableSubnetwork - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UsableSubnetworkSecondaryRange: Secondary IP range of a usable subnetwork. @@ -54696,9 +54752,9 @@ type UsableSubnetworkSecondaryRange struct { NullFields []string `json:"-"` } -func (s *UsableSubnetworkSecondaryRange) MarshalJSON() ([]byte, error) { +func (s UsableSubnetworkSecondaryRange) MarshalJSON() ([]byte, error) { type NoMethod UsableSubnetworkSecondaryRange - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type UsableSubnetworksAggregatedList struct { @@ -54739,9 +54795,9 @@ type UsableSubnetworksAggregatedList struct { NullFields []string `json:"-"` } -func (s *UsableSubnetworksAggregatedList) MarshalJSON() ([]byte, error) { +func (s UsableSubnetworksAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod UsableSubnetworksAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UsableSubnetworksAggregatedListWarning: [Output Only] Informational warning @@ -54825,9 +54881,9 @@ type UsableSubnetworksAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *UsableSubnetworksAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s UsableSubnetworksAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod UsableSubnetworksAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type UsableSubnetworksAggregatedListWarningData struct { @@ -54854,9 +54910,9 @@ type UsableSubnetworksAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *UsableSubnetworksAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s UsableSubnetworksAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod UsableSubnetworksAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UsageExportLocation: The location in Cloud Storage and naming method of the @@ -54887,9 +54943,9 @@ type UsageExportLocation struct { NullFields []string `json:"-"` } -func (s *UsageExportLocation) MarshalJSON() ([]byte, error) { +func (s UsageExportLocation) MarshalJSON() ([]byte, error) { type NoMethod UsageExportLocation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VmEndpointNatMappings: Contain information of Nat mapping for a VM endpoint @@ -54911,9 +54967,9 @@ type VmEndpointNatMappings struct { NullFields []string `json:"-"` } -func (s *VmEndpointNatMappings) MarshalJSON() ([]byte, error) { +func (s VmEndpointNatMappings) MarshalJSON() ([]byte, error) { type NoMethod VmEndpointNatMappings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VmEndpointNatMappingsInterfaceNatMappings: Contain information of Nat @@ -54957,9 +55013,9 @@ type VmEndpointNatMappingsInterfaceNatMappings struct { NullFields []string `json:"-"` } -func (s *VmEndpointNatMappingsInterfaceNatMappings) MarshalJSON() ([]byte, error) { +func (s VmEndpointNatMappingsInterfaceNatMappings) MarshalJSON() ([]byte, error) { type NoMethod VmEndpointNatMappingsInterfaceNatMappings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings: Contains @@ -54998,9 +55054,9 @@ type VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings struct { NullFields []string `json:"-"` } -func (s *VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings) MarshalJSON() ([]byte, error) { +func (s VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings) MarshalJSON() ([]byte, error) { type NoMethod VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VmEndpointNatMappingsList: Contains a list of VmEndpointNatMappings. @@ -55039,9 +55095,9 @@ type VmEndpointNatMappingsList struct { NullFields []string `json:"-"` } -func (s *VmEndpointNatMappingsList) MarshalJSON() ([]byte, error) { +func (s VmEndpointNatMappingsList) MarshalJSON() ([]byte, error) { type NoMethod VmEndpointNatMappingsList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VmEndpointNatMappingsListWarning: [Output Only] Informational warning @@ -55125,9 +55181,9 @@ type VmEndpointNatMappingsListWarning struct { NullFields []string `json:"-"` } -func (s *VmEndpointNatMappingsListWarning) MarshalJSON() ([]byte, error) { +func (s VmEndpointNatMappingsListWarning) MarshalJSON() ([]byte, error) { type NoMethod VmEndpointNatMappingsListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VmEndpointNatMappingsListWarningData struct { @@ -55154,9 +55210,9 @@ type VmEndpointNatMappingsListWarningData struct { NullFields []string `json:"-"` } -func (s *VmEndpointNatMappingsListWarningData) MarshalJSON() ([]byte, error) { +func (s VmEndpointNatMappingsListWarningData) MarshalJSON() ([]byte, error) { type NoMethod VmEndpointNatMappingsListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnGateway: Represents a HA VPN gateway. HA VPN is a high-availability (HA) @@ -55213,8 +55269,9 @@ type VpnGateway struct { // SelfLink: [Output Only] Server-defined URL for the resource. SelfLink string `json:"selfLink,omitempty"` // StackType: The stack type for this VPN gateway to identify the IP protocols - // that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not - // specified, IPV4_ONLY will be used. + // that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6, IPV6_ONLY. If + // not specified, IPV4_ONLY is used if the gateway IP version is IPV4, or + // IPV4_IPV6 if the gateway IP version is IPV6. // // Possible values: // "IPV4_IPV6" - Enable VPN gateway with both IPv4 and IPv6 protocols. @@ -55239,9 +55296,9 @@ type VpnGateway struct { NullFields []string `json:"-"` } -func (s *VpnGateway) MarshalJSON() ([]byte, error) { +func (s VpnGateway) MarshalJSON() ([]byte, error) { type NoMethod VpnGateway - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnGatewayAggregatedList struct { @@ -55280,9 +55337,9 @@ type VpnGatewayAggregatedList struct { NullFields []string `json:"-"` } -func (s *VpnGatewayAggregatedList) MarshalJSON() ([]byte, error) { +func (s VpnGatewayAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewayAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnGatewayAggregatedListWarning: [Output Only] Informational warning @@ -55366,9 +55423,9 @@ type VpnGatewayAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *VpnGatewayAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s VpnGatewayAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewayAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnGatewayAggregatedListWarningData struct { @@ -55395,9 +55452,9 @@ type VpnGatewayAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *VpnGatewayAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s VpnGatewayAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewayAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnGatewayList: Contains a list of VpnGateway resources. @@ -55435,9 +55492,9 @@ type VpnGatewayList struct { NullFields []string `json:"-"` } -func (s *VpnGatewayList) MarshalJSON() ([]byte, error) { +func (s VpnGatewayList) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewayList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnGatewayListWarning: [Output Only] Informational warning message. @@ -55520,9 +55577,9 @@ type VpnGatewayListWarning struct { NullFields []string `json:"-"` } -func (s *VpnGatewayListWarning) MarshalJSON() ([]byte, error) { +func (s VpnGatewayListWarning) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewayListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnGatewayListWarningData struct { @@ -55549,9 +55606,9 @@ type VpnGatewayListWarningData struct { NullFields []string `json:"-"` } -func (s *VpnGatewayListWarningData) MarshalJSON() ([]byte, error) { +func (s VpnGatewayListWarningData) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewayListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnGatewayStatus struct { @@ -55570,9 +55627,9 @@ type VpnGatewayStatus struct { NullFields []string `json:"-"` } -func (s *VpnGatewayStatus) MarshalJSON() ([]byte, error) { +func (s VpnGatewayStatus) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewayStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnGatewayStatusHighAvailabilityRequirementState: Describes the high @@ -55613,9 +55670,9 @@ type VpnGatewayStatusHighAvailabilityRequirementState struct { NullFields []string `json:"-"` } -func (s *VpnGatewayStatusHighAvailabilityRequirementState) MarshalJSON() ([]byte, error) { +func (s VpnGatewayStatusHighAvailabilityRequirementState) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewayStatusHighAvailabilityRequirementState - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnGatewayStatusTunnel: Contains some information about a VPN tunnel. @@ -55642,9 +55699,9 @@ type VpnGatewayStatusTunnel struct { NullFields []string `json:"-"` } -func (s *VpnGatewayStatusTunnel) MarshalJSON() ([]byte, error) { +func (s VpnGatewayStatusTunnel) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewayStatusTunnel - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnGatewayStatusVpnConnection: A VPN connection contains all VPN tunnels @@ -55676,9 +55733,9 @@ type VpnGatewayStatusVpnConnection struct { NullFields []string `json:"-"` } -func (s *VpnGatewayStatusVpnConnection) MarshalJSON() ([]byte, error) { +func (s VpnGatewayStatusVpnConnection) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewayStatusVpnConnection - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnGatewayVpnGatewayInterface: A VPN gateway interface. @@ -55720,9 +55777,9 @@ type VpnGatewayVpnGatewayInterface struct { NullFields []string `json:"-"` } -func (s *VpnGatewayVpnGatewayInterface) MarshalJSON() ([]byte, error) { +func (s VpnGatewayVpnGatewayInterface) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewayVpnGatewayInterface - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnGatewaysGetStatusResponse struct { @@ -55743,9 +55800,9 @@ type VpnGatewaysGetStatusResponse struct { NullFields []string `json:"-"` } -func (s *VpnGatewaysGetStatusResponse) MarshalJSON() ([]byte, error) { +func (s VpnGatewaysGetStatusResponse) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewaysGetStatusResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnGatewaysScopedList struct { @@ -55767,9 +55824,9 @@ type VpnGatewaysScopedList struct { NullFields []string `json:"-"` } -func (s *VpnGatewaysScopedList) MarshalJSON() ([]byte, error) { +func (s VpnGatewaysScopedList) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewaysScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnGatewaysScopedListWarning: [Output Only] Informational warning which @@ -55853,9 +55910,9 @@ type VpnGatewaysScopedListWarning struct { NullFields []string `json:"-"` } -func (s *VpnGatewaysScopedListWarning) MarshalJSON() ([]byte, error) { +func (s VpnGatewaysScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewaysScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnGatewaysScopedListWarningData struct { @@ -55882,9 +55939,9 @@ type VpnGatewaysScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *VpnGatewaysScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s VpnGatewaysScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewaysScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnTunnel: Represents a Cloud VPN Tunnel resource. For more information @@ -56035,9 +56092,9 @@ type VpnTunnel struct { NullFields []string `json:"-"` } -func (s *VpnTunnel) MarshalJSON() ([]byte, error) { +func (s VpnTunnel) MarshalJSON() ([]byte, error) { type NoMethod VpnTunnel - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnTunnelAggregatedList struct { @@ -56076,9 +56133,9 @@ type VpnTunnelAggregatedList struct { NullFields []string `json:"-"` } -func (s *VpnTunnelAggregatedList) MarshalJSON() ([]byte, error) { +func (s VpnTunnelAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod VpnTunnelAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnTunnelAggregatedListWarning: [Output Only] Informational warning message. @@ -56161,9 +56218,9 @@ type VpnTunnelAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *VpnTunnelAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s VpnTunnelAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod VpnTunnelAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnTunnelAggregatedListWarningData struct { @@ -56190,9 +56247,9 @@ type VpnTunnelAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *VpnTunnelAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s VpnTunnelAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod VpnTunnelAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnTunnelList: Contains a list of VpnTunnel resources. @@ -56230,9 +56287,9 @@ type VpnTunnelList struct { NullFields []string `json:"-"` } -func (s *VpnTunnelList) MarshalJSON() ([]byte, error) { +func (s VpnTunnelList) MarshalJSON() ([]byte, error) { type NoMethod VpnTunnelList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnTunnelListWarning: [Output Only] Informational warning message. @@ -56315,9 +56372,9 @@ type VpnTunnelListWarning struct { NullFields []string `json:"-"` } -func (s *VpnTunnelListWarning) MarshalJSON() ([]byte, error) { +func (s VpnTunnelListWarning) MarshalJSON() ([]byte, error) { type NoMethod VpnTunnelListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnTunnelListWarningData struct { @@ -56344,9 +56401,9 @@ type VpnTunnelListWarningData struct { NullFields []string `json:"-"` } -func (s *VpnTunnelListWarningData) MarshalJSON() ([]byte, error) { +func (s VpnTunnelListWarningData) MarshalJSON() ([]byte, error) { type NoMethod VpnTunnelListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnTunnelsScopedList struct { @@ -56368,9 +56425,9 @@ type VpnTunnelsScopedList struct { NullFields []string `json:"-"` } -func (s *VpnTunnelsScopedList) MarshalJSON() ([]byte, error) { +func (s VpnTunnelsScopedList) MarshalJSON() ([]byte, error) { type NoMethod VpnTunnelsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnTunnelsScopedListWarning: Informational warning which replaces the list @@ -56454,9 +56511,9 @@ type VpnTunnelsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *VpnTunnelsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s VpnTunnelsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod VpnTunnelsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnTunnelsScopedListWarningData struct { @@ -56483,9 +56540,9 @@ type VpnTunnelsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *VpnTunnelsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s VpnTunnelsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod VpnTunnelsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type WafExpressionSet struct { @@ -56512,9 +56569,9 @@ type WafExpressionSet struct { NullFields []string `json:"-"` } -func (s *WafExpressionSet) MarshalJSON() ([]byte, error) { +func (s WafExpressionSet) MarshalJSON() ([]byte, error) { type NoMethod WafExpressionSet - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type WafExpressionSetExpression struct { @@ -56541,9 +56598,9 @@ type WafExpressionSetExpression struct { NullFields []string `json:"-"` } -func (s *WafExpressionSetExpression) MarshalJSON() ([]byte, error) { +func (s WafExpressionSetExpression) MarshalJSON() ([]byte, error) { type NoMethod WafExpressionSetExpression - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // WeightedBackendService: In contrast to a single BackendService in @@ -56587,9 +56644,9 @@ type WeightedBackendService struct { NullFields []string `json:"-"` } -func (s *WeightedBackendService) MarshalJSON() ([]byte, error) { +func (s WeightedBackendService) MarshalJSON() ([]byte, error) { type NoMethod WeightedBackendService - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type XpnHostList struct { @@ -56626,9 +56683,9 @@ type XpnHostList struct { NullFields []string `json:"-"` } -func (s *XpnHostList) MarshalJSON() ([]byte, error) { +func (s XpnHostList) MarshalJSON() ([]byte, error) { type NoMethod XpnHostList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // XpnHostListWarning: [Output Only] Informational warning message. @@ -56711,9 +56768,9 @@ type XpnHostListWarning struct { NullFields []string `json:"-"` } -func (s *XpnHostListWarning) MarshalJSON() ([]byte, error) { +func (s XpnHostListWarning) MarshalJSON() ([]byte, error) { type NoMethod XpnHostListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type XpnHostListWarningData struct { @@ -56740,9 +56797,9 @@ type XpnHostListWarningData struct { NullFields []string `json:"-"` } -func (s *XpnHostListWarningData) MarshalJSON() ([]byte, error) { +func (s XpnHostListWarningData) MarshalJSON() ([]byte, error) { type NoMethod XpnHostListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // XpnResourceId: Service resource (a.k.a service project) ID. @@ -56770,9 +56827,9 @@ type XpnResourceId struct { NullFields []string `json:"-"` } -func (s *XpnResourceId) MarshalJSON() ([]byte, error) { +func (s XpnResourceId) MarshalJSON() ([]byte, error) { type NoMethod XpnResourceId - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Zone: Represents a Zone resource. A zone is a deployment area. These @@ -56825,9 +56882,9 @@ type Zone struct { NullFields []string `json:"-"` } -func (s *Zone) MarshalJSON() ([]byte, error) { +func (s Zone) MarshalJSON() ([]byte, error) { type NoMethod Zone - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ZoneList: Contains a list of zone resources. @@ -56864,9 +56921,9 @@ type ZoneList struct { NullFields []string `json:"-"` } -func (s *ZoneList) MarshalJSON() ([]byte, error) { +func (s ZoneList) MarshalJSON() ([]byte, error) { type NoMethod ZoneList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ZoneListWarning: [Output Only] Informational warning message. @@ -56949,9 +57006,9 @@ type ZoneListWarning struct { NullFields []string `json:"-"` } -func (s *ZoneListWarning) MarshalJSON() ([]byte, error) { +func (s ZoneListWarning) MarshalJSON() ([]byte, error) { type NoMethod ZoneListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ZoneListWarningData struct { @@ -56978,9 +57035,9 @@ type ZoneListWarningData struct { NullFields []string `json:"-"` } -func (s *ZoneListWarningData) MarshalJSON() ([]byte, error) { +func (s ZoneListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ZoneListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ZoneSetLabelsRequest struct { @@ -57006,9 +57063,9 @@ type ZoneSetLabelsRequest struct { NullFields []string `json:"-"` } -func (s *ZoneSetLabelsRequest) MarshalJSON() ([]byte, error) { +func (s ZoneSetLabelsRequest) MarshalJSON() ([]byte, error) { type NoMethod ZoneSetLabelsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ZoneSetPolicyRequest struct { @@ -57036,7 +57093,7 @@ type ZoneSetPolicyRequest struct { NullFields []string `json:"-"` } -func (s *ZoneSetPolicyRequest) MarshalJSON() ([]byte, error) { +func (s ZoneSetPolicyRequest) MarshalJSON() ([]byte, error) { type NoMethod ZoneSetPolicyRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } diff --git a/vendor/google.golang.org/api/compute/v0.beta/compute2-gen.go b/vendor/google.golang.org/api/compute/v0.beta/compute2-gen.go index fb3ef16a90..d0209f4097 100644 --- a/vendor/google.golang.org/api/compute/v0.beta/compute2-gen.go +++ b/vendor/google.golang.org/api/compute/v0.beta/compute2-gen.go @@ -10393,6 +10393,123 @@ func (c *FirewallPoliciesAddAssociationCall) Do(opts ...googleapi.CallOption) (* return ret, nil } +type FirewallPoliciesAddPacketMirroringRuleCall struct { + s *Service + firewallPolicy string + firewallpolicyrule *FirewallPolicyRule + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// AddPacketMirroringRule: Inserts a packet mirroring rule into a firewall +// policy. +// +// - firewallPolicy: Name of the firewall policy to update. +func (r *FirewallPoliciesService) AddPacketMirroringRule(firewallPolicy string, firewallpolicyrule *FirewallPolicyRule) *FirewallPoliciesAddPacketMirroringRuleCall { + c := &FirewallPoliciesAddPacketMirroringRuleCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.firewallPolicy = firewallPolicy + c.firewallpolicyrule = firewallpolicyrule + return c +} + +// RequestId sets the optional parameter "requestId": An optional request ID to +// identify requests. Specify a unique request ID so that if you must retry +// your request, the server will know to ignore the request if it has already +// been completed. For example, consider a situation where you make an initial +// request and the request times out. If you make the request again with the +// same request ID, the server can check if original operation with the same +// request ID was received, and if so, will ignore the second request. This +// prevents clients from accidentally creating duplicate commitments. The +// request ID must be a valid UUID with the exception that zero UUID is not +// supported ( 00000000-0000-0000-0000-000000000000). +func (c *FirewallPoliciesAddPacketMirroringRuleCall) RequestId(requestId string) *FirewallPoliciesAddPacketMirroringRuleCall { + c.urlParams_.Set("requestId", requestId) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more +// details. +func (c *FirewallPoliciesAddPacketMirroringRuleCall) Fields(s ...googleapi.Field) *FirewallPoliciesAddPacketMirroringRuleCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *FirewallPoliciesAddPacketMirroringRuleCall) Context(ctx context.Context) *FirewallPoliciesAddPacketMirroringRuleCall { + c.ctx_ = ctx + return c +} + +// Header returns a http.Header that can be modified by the caller to add +// headers to the request. +func (c *FirewallPoliciesAddPacketMirroringRuleCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *FirewallPoliciesAddPacketMirroringRuleCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.firewallpolicyrule) + if err != nil { + return nil, err + } + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "locations/global/firewallPolicies/{firewallPolicy}/addPacketMirroringRule") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "firewallPolicy": c.firewallPolicy, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "compute.firewallPolicies.addPacketMirroringRule" call. +// Any non-2xx status code is an error. Response headers are in either +// *Operation.ServerResponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was returned. +func (c *FirewallPoliciesAddPacketMirroringRuleCall) Do(opts ...googleapi.CallOption) (*Operation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &Operation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil +} + type FirewallPoliciesAddRuleCall struct { s *Service firewallPolicy string @@ -11074,6 +11191,123 @@ func (c *FirewallPoliciesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Po return ret, nil } +type FirewallPoliciesGetPacketMirroringRuleCall struct { + s *Service + firewallPolicy string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// GetPacketMirroringRule: Gets a packet mirroring rule of the specified +// priority. +// +// - firewallPolicy: Name of the firewall policy to which the queried rule +// belongs. +func (r *FirewallPoliciesService) GetPacketMirroringRule(firewallPolicy string) *FirewallPoliciesGetPacketMirroringRuleCall { + c := &FirewallPoliciesGetPacketMirroringRuleCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.firewallPolicy = firewallPolicy + return c +} + +// Priority sets the optional parameter "priority": The priority of the rule to +// get from the firewall policy. +func (c *FirewallPoliciesGetPacketMirroringRuleCall) Priority(priority int64) *FirewallPoliciesGetPacketMirroringRuleCall { + c.urlParams_.Set("priority", fmt.Sprint(priority)) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more +// details. +func (c *FirewallPoliciesGetPacketMirroringRuleCall) Fields(s ...googleapi.Field) *FirewallPoliciesGetPacketMirroringRuleCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets an optional parameter which makes the operation fail if the +// object's ETag matches the given value. This is useful for getting updates +// only after the object has changed since the last request. +func (c *FirewallPoliciesGetPacketMirroringRuleCall) IfNoneMatch(entityTag string) *FirewallPoliciesGetPacketMirroringRuleCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *FirewallPoliciesGetPacketMirroringRuleCall) Context(ctx context.Context) *FirewallPoliciesGetPacketMirroringRuleCall { + c.ctx_ = ctx + return c +} + +// Header returns a http.Header that can be modified by the caller to add +// headers to the request. +func (c *FirewallPoliciesGetPacketMirroringRuleCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *FirewallPoliciesGetPacketMirroringRuleCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "locations/global/firewallPolicies/{firewallPolicy}/getPacketMirroringRule") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "firewallPolicy": c.firewallPolicy, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "compute.firewallPolicies.getPacketMirroringRule" call. +// Any non-2xx status code is an error. Response headers are in either +// *FirewallPolicyRule.ServerResponse.Header or (if a response was returned at +// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to +// check whether the returned error was because http.StatusNotModified was +// returned. +func (c *FirewallPoliciesGetPacketMirroringRuleCall) Do(opts ...googleapi.CallOption) (*FirewallPolicyRule, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &FirewallPolicyRule{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil +} + type FirewallPoliciesGetRuleCall struct { s *Service firewallPolicy string @@ -11861,7 +12095,7 @@ func (c *FirewallPoliciesPatchCall) Do(opts ...googleapi.CallOption) (*Operation return ret, nil } -type FirewallPoliciesPatchRuleCall struct { +type FirewallPoliciesPatchPacketMirroringRuleCall struct { s *Service firewallPolicy string firewallpolicyrule *FirewallPolicyRule @@ -11870,11 +12104,12 @@ type FirewallPoliciesPatchRuleCall struct { header_ http.Header } -// PatchRule: Patches a rule of the specified priority. +// PatchPacketMirroringRule: Patches a packet mirroring rule of the specified +// priority. // // - firewallPolicy: Name of the firewall policy to update. -func (r *FirewallPoliciesService) PatchRule(firewallPolicy string, firewallpolicyrule *FirewallPolicyRule) *FirewallPoliciesPatchRuleCall { - c := &FirewallPoliciesPatchRuleCall{s: r.s, urlParams_: make(gensupport.URLParams)} +func (r *FirewallPoliciesService) PatchPacketMirroringRule(firewallPolicy string, firewallpolicyrule *FirewallPolicyRule) *FirewallPoliciesPatchPacketMirroringRuleCall { + c := &FirewallPoliciesPatchPacketMirroringRuleCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.firewallPolicy = firewallPolicy c.firewallpolicyrule = firewallpolicyrule return c @@ -11882,7 +12117,7 @@ func (r *FirewallPoliciesService) PatchRule(firewallPolicy string, firewallpolic // Priority sets the optional parameter "priority": The priority of the rule to // patch. -func (c *FirewallPoliciesPatchRuleCall) Priority(priority int64) *FirewallPoliciesPatchRuleCall { +func (c *FirewallPoliciesPatchPacketMirroringRuleCall) Priority(priority int64) *FirewallPoliciesPatchPacketMirroringRuleCall { c.urlParams_.Set("priority", fmt.Sprint(priority)) return c } @@ -11897,7 +12132,7 @@ func (c *FirewallPoliciesPatchRuleCall) Priority(priority int64) *FirewallPolici // prevents clients from accidentally creating duplicate commitments. The // request ID must be a valid UUID with the exception that zero UUID is not // supported ( 00000000-0000-0000-0000-000000000000). -func (c *FirewallPoliciesPatchRuleCall) RequestId(requestId string) *FirewallPoliciesPatchRuleCall { +func (c *FirewallPoliciesPatchPacketMirroringRuleCall) RequestId(requestId string) *FirewallPoliciesPatchPacketMirroringRuleCall { c.urlParams_.Set("requestId", requestId) return c } @@ -11905,27 +12140,27 @@ func (c *FirewallPoliciesPatchRuleCall) RequestId(requestId string) *FirewallPol // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *FirewallPoliciesPatchRuleCall) Fields(s ...googleapi.Field) *FirewallPoliciesPatchRuleCall { +func (c *FirewallPoliciesPatchPacketMirroringRuleCall) Fields(s ...googleapi.Field) *FirewallPoliciesPatchPacketMirroringRuleCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *FirewallPoliciesPatchRuleCall) Context(ctx context.Context) *FirewallPoliciesPatchRuleCall { +func (c *FirewallPoliciesPatchPacketMirroringRuleCall) Context(ctx context.Context) *FirewallPoliciesPatchPacketMirroringRuleCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *FirewallPoliciesPatchRuleCall) Header() http.Header { +func (c *FirewallPoliciesPatchPacketMirroringRuleCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *FirewallPoliciesPatchRuleCall) doRequest(alt string) (*http.Response, error) { +func (c *FirewallPoliciesPatchPacketMirroringRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) var body io.Reader = nil body, err := googleapi.WithoutDataWrapper.JSONReader(c.firewallpolicyrule) @@ -11934,7 +12169,7 @@ func (c *FirewallPoliciesPatchRuleCall) doRequest(alt string) (*http.Response, e } c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "locations/global/firewallPolicies/{firewallPolicy}/patchRule") + urls := googleapi.ResolveRelative(c.s.BasePath, "locations/global/firewallPolicies/{firewallPolicy}/patchPacketMirroringRule") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -11947,12 +12182,12 @@ func (c *FirewallPoliciesPatchRuleCall) doRequest(alt string) (*http.Response, e return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "compute.firewallPolicies.patchRule" call. +// Do executes the "compute.firewallPolicies.patchPacketMirroringRule" call. // Any non-2xx status code is an error. Response headers are in either // *Operation.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *FirewallPoliciesPatchRuleCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *FirewallPoliciesPatchPacketMirroringRuleCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -11984,27 +12219,29 @@ func (c *FirewallPoliciesPatchRuleCall) Do(opts ...googleapi.CallOption) (*Opera return ret, nil } -type FirewallPoliciesRemoveAssociationCall struct { - s *Service - firewallPolicy string - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type FirewallPoliciesPatchRuleCall struct { + s *Service + firewallPolicy string + firewallpolicyrule *FirewallPolicyRule + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// RemoveAssociation: Removes an association for the specified firewall policy. +// PatchRule: Patches a rule of the specified priority. // // - firewallPolicy: Name of the firewall policy to update. -func (r *FirewallPoliciesService) RemoveAssociation(firewallPolicy string) *FirewallPoliciesRemoveAssociationCall { - c := &FirewallPoliciesRemoveAssociationCall{s: r.s, urlParams_: make(gensupport.URLParams)} +func (r *FirewallPoliciesService) PatchRule(firewallPolicy string, firewallpolicyrule *FirewallPolicyRule) *FirewallPoliciesPatchRuleCall { + c := &FirewallPoliciesPatchRuleCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.firewallPolicy = firewallPolicy + c.firewallpolicyrule = firewallpolicyrule return c } -// Name sets the optional parameter "name": Name for the attachment that will -// be removed. -func (c *FirewallPoliciesRemoveAssociationCall) Name(name string) *FirewallPoliciesRemoveAssociationCall { - c.urlParams_.Set("name", name) +// Priority sets the optional parameter "priority": The priority of the rule to +// patch. +func (c *FirewallPoliciesPatchRuleCall) Priority(priority int64) *FirewallPoliciesPatchRuleCall { + c.urlParams_.Set("priority", fmt.Sprint(priority)) return c } @@ -12018,7 +12255,7 @@ func (c *FirewallPoliciesRemoveAssociationCall) Name(name string) *FirewallPolic // prevents clients from accidentally creating duplicate commitments. The // request ID must be a valid UUID with the exception that zero UUID is not // supported ( 00000000-0000-0000-0000-000000000000). -func (c *FirewallPoliciesRemoveAssociationCall) RequestId(requestId string) *FirewallPoliciesRemoveAssociationCall { +func (c *FirewallPoliciesPatchRuleCall) RequestId(requestId string) *FirewallPoliciesPatchRuleCall { c.urlParams_.Set("requestId", requestId) return c } @@ -12026,32 +12263,36 @@ func (c *FirewallPoliciesRemoveAssociationCall) RequestId(requestId string) *Fir // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *FirewallPoliciesRemoveAssociationCall) Fields(s ...googleapi.Field) *FirewallPoliciesRemoveAssociationCall { +func (c *FirewallPoliciesPatchRuleCall) Fields(s ...googleapi.Field) *FirewallPoliciesPatchRuleCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *FirewallPoliciesRemoveAssociationCall) Context(ctx context.Context) *FirewallPoliciesRemoveAssociationCall { +func (c *FirewallPoliciesPatchRuleCall) Context(ctx context.Context) *FirewallPoliciesPatchRuleCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *FirewallPoliciesRemoveAssociationCall) Header() http.Header { +func (c *FirewallPoliciesPatchRuleCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *FirewallPoliciesRemoveAssociationCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) +func (c *FirewallPoliciesPatchRuleCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.firewallpolicyrule) + if err != nil { + return nil, err + } c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "locations/global/firewallPolicies/{firewallPolicy}/removeAssociation") + urls := googleapi.ResolveRelative(c.s.BasePath, "locations/global/firewallPolicies/{firewallPolicy}/patchRule") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -12064,12 +12305,247 @@ func (c *FirewallPoliciesRemoveAssociationCall) doRequest(alt string) (*http.Res return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "compute.firewallPolicies.removeAssociation" call. +// Do executes the "compute.firewallPolicies.patchRule" call. // Any non-2xx status code is an error. Response headers are in either // *Operation.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *FirewallPoliciesRemoveAssociationCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *FirewallPoliciesPatchRuleCall) Do(opts ...googleapi.CallOption) (*Operation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &Operation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil +} + +type FirewallPoliciesRemoveAssociationCall struct { + s *Service + firewallPolicy string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// RemoveAssociation: Removes an association for the specified firewall policy. +// +// - firewallPolicy: Name of the firewall policy to update. +func (r *FirewallPoliciesService) RemoveAssociation(firewallPolicy string) *FirewallPoliciesRemoveAssociationCall { + c := &FirewallPoliciesRemoveAssociationCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.firewallPolicy = firewallPolicy + return c +} + +// Name sets the optional parameter "name": Name for the attachment that will +// be removed. +func (c *FirewallPoliciesRemoveAssociationCall) Name(name string) *FirewallPoliciesRemoveAssociationCall { + c.urlParams_.Set("name", name) + return c +} + +// RequestId sets the optional parameter "requestId": An optional request ID to +// identify requests. Specify a unique request ID so that if you must retry +// your request, the server will know to ignore the request if it has already +// been completed. For example, consider a situation where you make an initial +// request and the request times out. If you make the request again with the +// same request ID, the server can check if original operation with the same +// request ID was received, and if so, will ignore the second request. This +// prevents clients from accidentally creating duplicate commitments. The +// request ID must be a valid UUID with the exception that zero UUID is not +// supported ( 00000000-0000-0000-0000-000000000000). +func (c *FirewallPoliciesRemoveAssociationCall) RequestId(requestId string) *FirewallPoliciesRemoveAssociationCall { + c.urlParams_.Set("requestId", requestId) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more +// details. +func (c *FirewallPoliciesRemoveAssociationCall) Fields(s ...googleapi.Field) *FirewallPoliciesRemoveAssociationCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *FirewallPoliciesRemoveAssociationCall) Context(ctx context.Context) *FirewallPoliciesRemoveAssociationCall { + c.ctx_ = ctx + return c +} + +// Header returns a http.Header that can be modified by the caller to add +// headers to the request. +func (c *FirewallPoliciesRemoveAssociationCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *FirewallPoliciesRemoveAssociationCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "locations/global/firewallPolicies/{firewallPolicy}/removeAssociation") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "firewallPolicy": c.firewallPolicy, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "compute.firewallPolicies.removeAssociation" call. +// Any non-2xx status code is an error. Response headers are in either +// *Operation.ServerResponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was returned. +func (c *FirewallPoliciesRemoveAssociationCall) Do(opts ...googleapi.CallOption) (*Operation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &Operation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil +} + +type FirewallPoliciesRemovePacketMirroringRuleCall struct { + s *Service + firewallPolicy string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// RemovePacketMirroringRule: Deletes a packet mirroring rule of the specified +// priority. +// +// - firewallPolicy: Name of the firewall policy to update. +func (r *FirewallPoliciesService) RemovePacketMirroringRule(firewallPolicy string) *FirewallPoliciesRemovePacketMirroringRuleCall { + c := &FirewallPoliciesRemovePacketMirroringRuleCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.firewallPolicy = firewallPolicy + return c +} + +// Priority sets the optional parameter "priority": The priority of the rule to +// remove from the firewall policy. +func (c *FirewallPoliciesRemovePacketMirroringRuleCall) Priority(priority int64) *FirewallPoliciesRemovePacketMirroringRuleCall { + c.urlParams_.Set("priority", fmt.Sprint(priority)) + return c +} + +// RequestId sets the optional parameter "requestId": An optional request ID to +// identify requests. Specify a unique request ID so that if you must retry +// your request, the server will know to ignore the request if it has already +// been completed. For example, consider a situation where you make an initial +// request and the request times out. If you make the request again with the +// same request ID, the server can check if original operation with the same +// request ID was received, and if so, will ignore the second request. This +// prevents clients from accidentally creating duplicate commitments. The +// request ID must be a valid UUID with the exception that zero UUID is not +// supported ( 00000000-0000-0000-0000-000000000000). +func (c *FirewallPoliciesRemovePacketMirroringRuleCall) RequestId(requestId string) *FirewallPoliciesRemovePacketMirroringRuleCall { + c.urlParams_.Set("requestId", requestId) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more +// details. +func (c *FirewallPoliciesRemovePacketMirroringRuleCall) Fields(s ...googleapi.Field) *FirewallPoliciesRemovePacketMirroringRuleCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *FirewallPoliciesRemovePacketMirroringRuleCall) Context(ctx context.Context) *FirewallPoliciesRemovePacketMirroringRuleCall { + c.ctx_ = ctx + return c +} + +// Header returns a http.Header that can be modified by the caller to add +// headers to the request. +func (c *FirewallPoliciesRemovePacketMirroringRuleCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *FirewallPoliciesRemovePacketMirroringRuleCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "locations/global/firewallPolicies/{firewallPolicy}/removePacketMirroringRule") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "firewallPolicy": c.firewallPolicy, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "compute.firewallPolicies.removePacketMirroringRule" call. +// Any non-2xx status code is an error. Response headers are in either +// *Operation.ServerResponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was returned. +func (c *FirewallPoliciesRemovePacketMirroringRuleCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -49613,7 +50089,7 @@ func (c *NetworkFirewallPoliciesAddAssociationCall) Do(opts ...googleapi.CallOpt return ret, nil } -type NetworkFirewallPoliciesAddRuleCall struct { +type NetworkFirewallPoliciesAddPacketMirroringRuleCall struct { s *Service project string firewallPolicy string @@ -49623,12 +50099,13 @@ type NetworkFirewallPoliciesAddRuleCall struct { header_ http.Header } -// AddRule: Inserts a rule into a firewall policy. +// AddPacketMirroringRule: Inserts a packet mirroring rule into a firewall +// policy. // // - firewallPolicy: Name of the firewall policy to update. // - project: Project ID for this request. -func (r *NetworkFirewallPoliciesService) AddRule(project string, firewallPolicy string, firewallpolicyrule *FirewallPolicyRule) *NetworkFirewallPoliciesAddRuleCall { - c := &NetworkFirewallPoliciesAddRuleCall{s: r.s, urlParams_: make(gensupport.URLParams)} +func (r *NetworkFirewallPoliciesService) AddPacketMirroringRule(project string, firewallPolicy string, firewallpolicyrule *FirewallPolicyRule) *NetworkFirewallPoliciesAddPacketMirroringRuleCall { + c := &NetworkFirewallPoliciesAddPacketMirroringRuleCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.project = project c.firewallPolicy = firewallPolicy c.firewallpolicyrule = firewallpolicyrule @@ -49638,7 +50115,7 @@ func (r *NetworkFirewallPoliciesService) AddRule(project string, firewallPolicy // MaxPriority sets the optional parameter "maxPriority": When rule.priority is // not specified, auto choose a unused priority between minPriority and // maxPriority>. This field is exclusive with rule.priority. -func (c *NetworkFirewallPoliciesAddRuleCall) MaxPriority(maxPriority int64) *NetworkFirewallPoliciesAddRuleCall { +func (c *NetworkFirewallPoliciesAddPacketMirroringRuleCall) MaxPriority(maxPriority int64) *NetworkFirewallPoliciesAddPacketMirroringRuleCall { c.urlParams_.Set("maxPriority", fmt.Sprint(maxPriority)) return c } @@ -49646,7 +50123,7 @@ func (c *NetworkFirewallPoliciesAddRuleCall) MaxPriority(maxPriority int64) *Net // MinPriority sets the optional parameter "minPriority": When rule.priority is // not specified, auto choose a unused priority between minPriority and // maxPriority>. This field is exclusive with rule.priority. -func (c *NetworkFirewallPoliciesAddRuleCall) MinPriority(minPriority int64) *NetworkFirewallPoliciesAddRuleCall { +func (c *NetworkFirewallPoliciesAddPacketMirroringRuleCall) MinPriority(minPriority int64) *NetworkFirewallPoliciesAddPacketMirroringRuleCall { c.urlParams_.Set("minPriority", fmt.Sprint(minPriority)) return c } @@ -49661,7 +50138,7 @@ func (c *NetworkFirewallPoliciesAddRuleCall) MinPriority(minPriority int64) *Net // prevents clients from accidentally creating duplicate commitments. The // request ID must be a valid UUID with the exception that zero UUID is not // supported ( 00000000-0000-0000-0000-000000000000). -func (c *NetworkFirewallPoliciesAddRuleCall) RequestId(requestId string) *NetworkFirewallPoliciesAddRuleCall { +func (c *NetworkFirewallPoliciesAddPacketMirroringRuleCall) RequestId(requestId string) *NetworkFirewallPoliciesAddPacketMirroringRuleCall { c.urlParams_.Set("requestId", requestId) return c } @@ -49669,27 +50146,27 @@ func (c *NetworkFirewallPoliciesAddRuleCall) RequestId(requestId string) *Networ // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *NetworkFirewallPoliciesAddRuleCall) Fields(s ...googleapi.Field) *NetworkFirewallPoliciesAddRuleCall { +func (c *NetworkFirewallPoliciesAddPacketMirroringRuleCall) Fields(s ...googleapi.Field) *NetworkFirewallPoliciesAddPacketMirroringRuleCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *NetworkFirewallPoliciesAddRuleCall) Context(ctx context.Context) *NetworkFirewallPoliciesAddRuleCall { +func (c *NetworkFirewallPoliciesAddPacketMirroringRuleCall) Context(ctx context.Context) *NetworkFirewallPoliciesAddPacketMirroringRuleCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *NetworkFirewallPoliciesAddRuleCall) Header() http.Header { +func (c *NetworkFirewallPoliciesAddPacketMirroringRuleCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *NetworkFirewallPoliciesAddRuleCall) doRequest(alt string) (*http.Response, error) { +func (c *NetworkFirewallPoliciesAddPacketMirroringRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) var body io.Reader = nil body, err := googleapi.WithoutDataWrapper.JSONReader(c.firewallpolicyrule) @@ -49698,7 +50175,7 @@ func (c *NetworkFirewallPoliciesAddRuleCall) doRequest(alt string) (*http.Respon } c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "projects/{project}/global/firewallPolicies/{firewallPolicy}/addRule") + urls := googleapi.ResolveRelative(c.s.BasePath, "projects/{project}/global/firewallPolicies/{firewallPolicy}/addPacketMirroringRule") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -49712,12 +50189,12 @@ func (c *NetworkFirewallPoliciesAddRuleCall) doRequest(alt string) (*http.Respon return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "compute.networkFirewallPolicies.addRule" call. +// Do executes the "compute.networkFirewallPolicies.addPacketMirroringRule" call. // Any non-2xx status code is an error. Response headers are in either // *Operation.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *NetworkFirewallPoliciesAddRuleCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *NetworkFirewallPoliciesAddPacketMirroringRuleCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -49749,23 +50226,41 @@ func (c *NetworkFirewallPoliciesAddRuleCall) Do(opts ...googleapi.CallOption) (* return ret, nil } -type NetworkFirewallPoliciesCloneRulesCall struct { - s *Service - project string - firewallPolicy string - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type NetworkFirewallPoliciesAddRuleCall struct { + s *Service + project string + firewallPolicy string + firewallpolicyrule *FirewallPolicyRule + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// CloneRules: Copies rules to the specified firewall policy. +// AddRule: Inserts a rule into a firewall policy. // // - firewallPolicy: Name of the firewall policy to update. // - project: Project ID for this request. -func (r *NetworkFirewallPoliciesService) CloneRules(project string, firewallPolicy string) *NetworkFirewallPoliciesCloneRulesCall { - c := &NetworkFirewallPoliciesCloneRulesCall{s: r.s, urlParams_: make(gensupport.URLParams)} +func (r *NetworkFirewallPoliciesService) AddRule(project string, firewallPolicy string, firewallpolicyrule *FirewallPolicyRule) *NetworkFirewallPoliciesAddRuleCall { + c := &NetworkFirewallPoliciesAddRuleCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.project = project c.firewallPolicy = firewallPolicy + c.firewallpolicyrule = firewallpolicyrule + return c +} + +// MaxPriority sets the optional parameter "maxPriority": When rule.priority is +// not specified, auto choose a unused priority between minPriority and +// maxPriority>. This field is exclusive with rule.priority. +func (c *NetworkFirewallPoliciesAddRuleCall) MaxPriority(maxPriority int64) *NetworkFirewallPoliciesAddRuleCall { + c.urlParams_.Set("maxPriority", fmt.Sprint(maxPriority)) + return c +} + +// MinPriority sets the optional parameter "minPriority": When rule.priority is +// not specified, auto choose a unused priority between minPriority and +// maxPriority>. This field is exclusive with rule.priority. +func (c *NetworkFirewallPoliciesAddRuleCall) MinPriority(minPriority int64) *NetworkFirewallPoliciesAddRuleCall { + c.urlParams_.Set("minPriority", fmt.Sprint(minPriority)) return c } @@ -49779,47 +50274,44 @@ func (r *NetworkFirewallPoliciesService) CloneRules(project string, firewallPoli // prevents clients from accidentally creating duplicate commitments. The // request ID must be a valid UUID with the exception that zero UUID is not // supported ( 00000000-0000-0000-0000-000000000000). -func (c *NetworkFirewallPoliciesCloneRulesCall) RequestId(requestId string) *NetworkFirewallPoliciesCloneRulesCall { +func (c *NetworkFirewallPoliciesAddRuleCall) RequestId(requestId string) *NetworkFirewallPoliciesAddRuleCall { c.urlParams_.Set("requestId", requestId) return c } -// SourceFirewallPolicy sets the optional parameter "sourceFirewallPolicy": The -// firewall policy from which to copy rules. -func (c *NetworkFirewallPoliciesCloneRulesCall) SourceFirewallPolicy(sourceFirewallPolicy string) *NetworkFirewallPoliciesCloneRulesCall { - c.urlParams_.Set("sourceFirewallPolicy", sourceFirewallPolicy) - return c -} - // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *NetworkFirewallPoliciesCloneRulesCall) Fields(s ...googleapi.Field) *NetworkFirewallPoliciesCloneRulesCall { +func (c *NetworkFirewallPoliciesAddRuleCall) Fields(s ...googleapi.Field) *NetworkFirewallPoliciesAddRuleCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *NetworkFirewallPoliciesCloneRulesCall) Context(ctx context.Context) *NetworkFirewallPoliciesCloneRulesCall { +func (c *NetworkFirewallPoliciesAddRuleCall) Context(ctx context.Context) *NetworkFirewallPoliciesAddRuleCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *NetworkFirewallPoliciesCloneRulesCall) Header() http.Header { +func (c *NetworkFirewallPoliciesAddRuleCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *NetworkFirewallPoliciesCloneRulesCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) +func (c *NetworkFirewallPoliciesAddRuleCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.firewallpolicyrule) + if err != nil { + return nil, err + } c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "projects/{project}/global/firewallPolicies/{firewallPolicy}/cloneRules") + urls := googleapi.ResolveRelative(c.s.BasePath, "projects/{project}/global/firewallPolicies/{firewallPolicy}/addRule") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -49833,12 +50325,133 @@ func (c *NetworkFirewallPoliciesCloneRulesCall) doRequest(alt string) (*http.Res return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "compute.networkFirewallPolicies.cloneRules" call. +// Do executes the "compute.networkFirewallPolicies.addRule" call. // Any non-2xx status code is an error. Response headers are in either // *Operation.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *NetworkFirewallPoliciesCloneRulesCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *NetworkFirewallPoliciesAddRuleCall) Do(opts ...googleapi.CallOption) (*Operation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &Operation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil +} + +type NetworkFirewallPoliciesCloneRulesCall struct { + s *Service + project string + firewallPolicy string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// CloneRules: Copies rules to the specified firewall policy. +// +// - firewallPolicy: Name of the firewall policy to update. +// - project: Project ID for this request. +func (r *NetworkFirewallPoliciesService) CloneRules(project string, firewallPolicy string) *NetworkFirewallPoliciesCloneRulesCall { + c := &NetworkFirewallPoliciesCloneRulesCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.project = project + c.firewallPolicy = firewallPolicy + return c +} + +// RequestId sets the optional parameter "requestId": An optional request ID to +// identify requests. Specify a unique request ID so that if you must retry +// your request, the server will know to ignore the request if it has already +// been completed. For example, consider a situation where you make an initial +// request and the request times out. If you make the request again with the +// same request ID, the server can check if original operation with the same +// request ID was received, and if so, will ignore the second request. This +// prevents clients from accidentally creating duplicate commitments. The +// request ID must be a valid UUID with the exception that zero UUID is not +// supported ( 00000000-0000-0000-0000-000000000000). +func (c *NetworkFirewallPoliciesCloneRulesCall) RequestId(requestId string) *NetworkFirewallPoliciesCloneRulesCall { + c.urlParams_.Set("requestId", requestId) + return c +} + +// SourceFirewallPolicy sets the optional parameter "sourceFirewallPolicy": The +// firewall policy from which to copy rules. +func (c *NetworkFirewallPoliciesCloneRulesCall) SourceFirewallPolicy(sourceFirewallPolicy string) *NetworkFirewallPoliciesCloneRulesCall { + c.urlParams_.Set("sourceFirewallPolicy", sourceFirewallPolicy) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more +// details. +func (c *NetworkFirewallPoliciesCloneRulesCall) Fields(s ...googleapi.Field) *NetworkFirewallPoliciesCloneRulesCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *NetworkFirewallPoliciesCloneRulesCall) Context(ctx context.Context) *NetworkFirewallPoliciesCloneRulesCall { + c.ctx_ = ctx + return c +} + +// Header returns a http.Header that can be modified by the caller to add +// headers to the request. +func (c *NetworkFirewallPoliciesCloneRulesCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *NetworkFirewallPoliciesCloneRulesCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "projects/{project}/global/firewallPolicies/{firewallPolicy}/cloneRules") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "project": c.project, + "firewallPolicy": c.firewallPolicy, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "compute.networkFirewallPolicies.cloneRules" call. +// Any non-2xx status code is an error. Response headers are in either +// *Operation.ServerResponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was returned. +func (c *NetworkFirewallPoliciesCloneRulesCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -50334,6 +50947,127 @@ func (c *NetworkFirewallPoliciesGetIamPolicyCall) Do(opts ...googleapi.CallOptio return ret, nil } +type NetworkFirewallPoliciesGetPacketMirroringRuleCall struct { + s *Service + project string + firewallPolicy string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// GetPacketMirroringRule: Gets a packet mirroring rule of the specified +// priority. +// +// - firewallPolicy: Name of the firewall policy to which the queried rule +// belongs. +// - project: Project ID for this request. +func (r *NetworkFirewallPoliciesService) GetPacketMirroringRule(project string, firewallPolicy string) *NetworkFirewallPoliciesGetPacketMirroringRuleCall { + c := &NetworkFirewallPoliciesGetPacketMirroringRuleCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.project = project + c.firewallPolicy = firewallPolicy + return c +} + +// Priority sets the optional parameter "priority": The priority of the rule to +// get from the firewall policy. +func (c *NetworkFirewallPoliciesGetPacketMirroringRuleCall) Priority(priority int64) *NetworkFirewallPoliciesGetPacketMirroringRuleCall { + c.urlParams_.Set("priority", fmt.Sprint(priority)) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more +// details. +func (c *NetworkFirewallPoliciesGetPacketMirroringRuleCall) Fields(s ...googleapi.Field) *NetworkFirewallPoliciesGetPacketMirroringRuleCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets an optional parameter which makes the operation fail if the +// object's ETag matches the given value. This is useful for getting updates +// only after the object has changed since the last request. +func (c *NetworkFirewallPoliciesGetPacketMirroringRuleCall) IfNoneMatch(entityTag string) *NetworkFirewallPoliciesGetPacketMirroringRuleCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *NetworkFirewallPoliciesGetPacketMirroringRuleCall) Context(ctx context.Context) *NetworkFirewallPoliciesGetPacketMirroringRuleCall { + c.ctx_ = ctx + return c +} + +// Header returns a http.Header that can be modified by the caller to add +// headers to the request. +func (c *NetworkFirewallPoliciesGetPacketMirroringRuleCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *NetworkFirewallPoliciesGetPacketMirroringRuleCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "projects/{project}/global/firewallPolicies/{firewallPolicy}/getPacketMirroringRule") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "project": c.project, + "firewallPolicy": c.firewallPolicy, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "compute.networkFirewallPolicies.getPacketMirroringRule" call. +// Any non-2xx status code is an error. Response headers are in either +// *FirewallPolicyRule.ServerResponse.Header or (if a response was returned at +// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to +// check whether the returned error was because http.StatusNotModified was +// returned. +func (c *NetworkFirewallPoliciesGetPacketMirroringRuleCall) Do(opts ...googleapi.CallOption) (*FirewallPolicyRule, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &FirewallPolicyRule{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil +} + type NetworkFirewallPoliciesGetRuleCall struct { s *Service project string @@ -50899,6 +51633,134 @@ func (c *NetworkFirewallPoliciesPatchCall) Do(opts ...googleapi.CallOption) (*Op return ret, nil } +type NetworkFirewallPoliciesPatchPacketMirroringRuleCall struct { + s *Service + project string + firewallPolicy string + firewallpolicyrule *FirewallPolicyRule + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// PatchPacketMirroringRule: Patches a packet mirroring rule of the specified +// priority. +// +// - firewallPolicy: Name of the firewall policy to update. +// - project: Project ID for this request. +func (r *NetworkFirewallPoliciesService) PatchPacketMirroringRule(project string, firewallPolicy string, firewallpolicyrule *FirewallPolicyRule) *NetworkFirewallPoliciesPatchPacketMirroringRuleCall { + c := &NetworkFirewallPoliciesPatchPacketMirroringRuleCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.project = project + c.firewallPolicy = firewallPolicy + c.firewallpolicyrule = firewallpolicyrule + return c +} + +// Priority sets the optional parameter "priority": The priority of the rule to +// patch. +func (c *NetworkFirewallPoliciesPatchPacketMirroringRuleCall) Priority(priority int64) *NetworkFirewallPoliciesPatchPacketMirroringRuleCall { + c.urlParams_.Set("priority", fmt.Sprint(priority)) + return c +} + +// RequestId sets the optional parameter "requestId": An optional request ID to +// identify requests. Specify a unique request ID so that if you must retry +// your request, the server will know to ignore the request if it has already +// been completed. For example, consider a situation where you make an initial +// request and the request times out. If you make the request again with the +// same request ID, the server can check if original operation with the same +// request ID was received, and if so, will ignore the second request. This +// prevents clients from accidentally creating duplicate commitments. The +// request ID must be a valid UUID with the exception that zero UUID is not +// supported ( 00000000-0000-0000-0000-000000000000). +func (c *NetworkFirewallPoliciesPatchPacketMirroringRuleCall) RequestId(requestId string) *NetworkFirewallPoliciesPatchPacketMirroringRuleCall { + c.urlParams_.Set("requestId", requestId) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more +// details. +func (c *NetworkFirewallPoliciesPatchPacketMirroringRuleCall) Fields(s ...googleapi.Field) *NetworkFirewallPoliciesPatchPacketMirroringRuleCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *NetworkFirewallPoliciesPatchPacketMirroringRuleCall) Context(ctx context.Context) *NetworkFirewallPoliciesPatchPacketMirroringRuleCall { + c.ctx_ = ctx + return c +} + +// Header returns a http.Header that can be modified by the caller to add +// headers to the request. +func (c *NetworkFirewallPoliciesPatchPacketMirroringRuleCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *NetworkFirewallPoliciesPatchPacketMirroringRuleCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.firewallpolicyrule) + if err != nil { + return nil, err + } + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "projects/{project}/global/firewallPolicies/{firewallPolicy}/patchPacketMirroringRule") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "project": c.project, + "firewallPolicy": c.firewallPolicy, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "compute.networkFirewallPolicies.patchPacketMirroringRule" call. +// Any non-2xx status code is an error. Response headers are in either +// *Operation.ServerResponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was returned. +func (c *NetworkFirewallPoliciesPatchPacketMirroringRuleCall) Do(opts ...googleapi.CallOption) (*Operation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &Operation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil +} + type NetworkFirewallPoliciesPatchRuleCall struct { s *Service project string @@ -51147,6 +52009,128 @@ func (c *NetworkFirewallPoliciesRemoveAssociationCall) Do(opts ...googleapi.Call return ret, nil } +type NetworkFirewallPoliciesRemovePacketMirroringRuleCall struct { + s *Service + project string + firewallPolicy string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// RemovePacketMirroringRule: Deletes a packet mirroring rule of the specified +// priority. +// +// - firewallPolicy: Name of the firewall policy to update. +// - project: Project ID for this request. +func (r *NetworkFirewallPoliciesService) RemovePacketMirroringRule(project string, firewallPolicy string) *NetworkFirewallPoliciesRemovePacketMirroringRuleCall { + c := &NetworkFirewallPoliciesRemovePacketMirroringRuleCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.project = project + c.firewallPolicy = firewallPolicy + return c +} + +// Priority sets the optional parameter "priority": The priority of the rule to +// remove from the firewall policy. +func (c *NetworkFirewallPoliciesRemovePacketMirroringRuleCall) Priority(priority int64) *NetworkFirewallPoliciesRemovePacketMirroringRuleCall { + c.urlParams_.Set("priority", fmt.Sprint(priority)) + return c +} + +// RequestId sets the optional parameter "requestId": An optional request ID to +// identify requests. Specify a unique request ID so that if you must retry +// your request, the server will know to ignore the request if it has already +// been completed. For example, consider a situation where you make an initial +// request and the request times out. If you make the request again with the +// same request ID, the server can check if original operation with the same +// request ID was received, and if so, will ignore the second request. This +// prevents clients from accidentally creating duplicate commitments. The +// request ID must be a valid UUID with the exception that zero UUID is not +// supported ( 00000000-0000-0000-0000-000000000000). +func (c *NetworkFirewallPoliciesRemovePacketMirroringRuleCall) RequestId(requestId string) *NetworkFirewallPoliciesRemovePacketMirroringRuleCall { + c.urlParams_.Set("requestId", requestId) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more +// details. +func (c *NetworkFirewallPoliciesRemovePacketMirroringRuleCall) Fields(s ...googleapi.Field) *NetworkFirewallPoliciesRemovePacketMirroringRuleCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *NetworkFirewallPoliciesRemovePacketMirroringRuleCall) Context(ctx context.Context) *NetworkFirewallPoliciesRemovePacketMirroringRuleCall { + c.ctx_ = ctx + return c +} + +// Header returns a http.Header that can be modified by the caller to add +// headers to the request. +func (c *NetworkFirewallPoliciesRemovePacketMirroringRuleCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *NetworkFirewallPoliciesRemovePacketMirroringRuleCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "projects/{project}/global/firewallPolicies/{firewallPolicy}/removePacketMirroringRule") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "project": c.project, + "firewallPolicy": c.firewallPolicy, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "compute.networkFirewallPolicies.removePacketMirroringRule" call. +// Any non-2xx status code is an error. Response headers are in either +// *Operation.ServerResponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was returned. +func (c *NetworkFirewallPoliciesRemovePacketMirroringRuleCall) Do(opts ...googleapi.CallOption) (*Operation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &Operation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil +} + type NetworkFirewallPoliciesRemoveRuleCall struct { s *Service project string diff --git a/vendor/google.golang.org/api/compute/v0.beta/compute3-gen.go b/vendor/google.golang.org/api/compute/v0.beta/compute3-gen.go index dfbba3c1cc..0b58abb6a2 100644 --- a/vendor/google.golang.org/api/compute/v0.beta/compute3-gen.go +++ b/vendor/google.golang.org/api/compute/v0.beta/compute3-gen.go @@ -25336,7 +25336,13 @@ type RegionsGetCall struct { // quota information (the `quotas` field). To exclude one or more fields, set // your request's `fields` query parameter to only include the fields you need. // For example, to only include the `id` and `selfLink` fields, add the query -// parameter `?fields=id,selfLink` to your request. +// parameter `?fields=id,selfLink` to your request. This method fails if the +// quota information is unavailable for the region and if the organization +// policy constraint compute.requireBasicQuotaInResponse is enforced. This +// constraint, when enforced, disables the fail-open behaviour when quota +// information (the `items.quotas` field) is unavailable for the region. It is +// recommended to use the default setting for the constraint unless your +// application requires the fail-closed behaviour for this method. // // - project: Project ID for this request. // - region: Name of the region resource to return. diff --git a/vendor/google.golang.org/api/compute/v1/compute-api.json b/vendor/google.golang.org/api/compute/v1/compute-api.json index 267496ed6a..679233999a 100644 --- a/vendor/google.golang.org/api/compute/v1/compute-api.json +++ b/vendor/google.golang.org/api/compute/v1/compute-api.json @@ -27980,7 +27980,7 @@ "regions": { "methods": { "get": { - "description": "Returns the specified Region resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request.", + "description": "Returns the specified Region resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. This method fails if the quota information is unavailable for the region and if the organization policy constraint compute.requireBasicQuotaInResponse is enforced. This constraint, when enforced, disables the fail-open behaviour when quota information (the `items.quotas` field) is unavailable for the region. It is recommended to use the default setting for the constraint unless your application requires the fail-closed behaviour for this method.", "flatPath": "projects/{project}/regions/{region}", "httpMethod": "GET", "id": "compute.regions.get", @@ -37421,7 +37421,7 @@ } } }, - "revision": "20240618", + "revision": "20240702", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -40687,6 +40687,7 @@ "type": "integer" }, "usedBy": { + "description": "[Output Only] List of resources referencing given backend service.", "items": { "$ref": "BackendServiceUsedBy" }, @@ -41489,6 +41490,7 @@ "id": "BackendServiceUsedBy", "properties": { "reference": { + "description": "[Output Only] Server-defined URL for resources referencing given BackendService like UrlMaps, TargetTcpProxies, TargetSslProxies and ForwardingRule.", "type": "string" } }, @@ -42242,6 +42244,7 @@ "COMPUTE_OPTIMIZED_C3D", "COMPUTE_OPTIMIZED_H3", "GENERAL_PURPOSE", + "GENERAL_PURPOSE_C4", "GENERAL_PURPOSE_E2", "GENERAL_PURPOSE_N2", "GENERAL_PURPOSE_N2D", @@ -42272,6 +42275,7 @@ "", "", "", + "", "" ], "type": "string" @@ -50039,8 +50043,7 @@ "type": "array" }, "baseInstanceName": { - "description": "The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035.", - "pattern": "[a-z][-a-z0-9]{0,57}", + "description": "The base instance name is a prefix that you want to attach to the names of all VMs in a MIG. The maximum character length is 58 and the name must comply with RFC1035 format. When a VM is created in the group, the MIG appends a hyphen and a random four-character string to the base instance name. If you want the MIG to assign sequential numbers instead of a random string, then end the base instance name with a hyphen followed by one or more hash symbols. The hash symbols indicate the number of digits. For example, a base instance name of \"vm-###\" results in \"vm-001\" as a VM name. @pattern [a-z](([-a-z0-9]{0,57})|([-a-z0-9]{0,52}-#{1,10}(\\\\[[0-9]{1,10}\\\\])?))", "type": "string" }, "creationTimestamp": { @@ -71222,6 +71225,11 @@ "description": "Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). You can only set the automatic restart option for standard instances. Preemptible instances cannot be automatically restarted. By default, this is set to true so an instance is automatically restarted if it is terminated by Compute Engine.", "type": "boolean" }, + "availabilityDomain": { + "description": "Specifies the availability domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance.", + "format": "int32", + "type": "integer" + }, "instanceTerminationAction": { "description": "Specifies the termination action for the instance.", "enum": [ @@ -82684,7 +82692,7 @@ "type": "string" }, "stackType": { - "description": "The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used.", + "description": "The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6, IPV6_ONLY. If not specified, IPV4_ONLY is used if the gateway IP version is IPV4, or IPV4_IPV6 if the gateway IP version is IPV6.", "enum": [ "IPV4_IPV6", "IPV4_ONLY", diff --git a/vendor/google.golang.org/api/compute/v1/compute-gen.go b/vendor/google.golang.org/api/compute/v1/compute-gen.go index 323f5aaf63..29abc286d5 100644 --- a/vendor/google.golang.org/api/compute/v1/compute-gen.go +++ b/vendor/google.golang.org/api/compute/v1/compute-gen.go @@ -1410,9 +1410,9 @@ type AWSV4Signature struct { NullFields []string `json:"-"` } -func (s *AWSV4Signature) MarshalJSON() ([]byte, error) { +func (s AWSV4Signature) MarshalJSON() ([]byte, error) { type NoMethod AWSV4Signature - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AcceleratorConfig: A specification of the type and number of accelerator @@ -1440,9 +1440,9 @@ type AcceleratorConfig struct { NullFields []string `json:"-"` } -func (s *AcceleratorConfig) MarshalJSON() ([]byte, error) { +func (s AcceleratorConfig) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AcceleratorType: Represents an Accelerator Type resource. Google Cloud @@ -1491,9 +1491,9 @@ type AcceleratorType struct { NullFields []string `json:"-"` } -func (s *AcceleratorType) MarshalJSON() ([]byte, error) { +func (s AcceleratorType) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorType - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AcceleratorTypeAggregatedList struct { @@ -1533,9 +1533,9 @@ type AcceleratorTypeAggregatedList struct { NullFields []string `json:"-"` } -func (s *AcceleratorTypeAggregatedList) MarshalJSON() ([]byte, error) { +func (s AcceleratorTypeAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorTypeAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AcceleratorTypeAggregatedListWarning: [Output Only] Informational warning @@ -1619,9 +1619,9 @@ type AcceleratorTypeAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *AcceleratorTypeAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s AcceleratorTypeAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorTypeAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AcceleratorTypeAggregatedListWarningData struct { @@ -1648,9 +1648,9 @@ type AcceleratorTypeAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *AcceleratorTypeAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s AcceleratorTypeAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorTypeAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AcceleratorTypeList: Contains a list of accelerator types. @@ -1688,9 +1688,9 @@ type AcceleratorTypeList struct { NullFields []string `json:"-"` } -func (s *AcceleratorTypeList) MarshalJSON() ([]byte, error) { +func (s AcceleratorTypeList) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorTypeList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AcceleratorTypeListWarning: [Output Only] Informational warning message. @@ -1773,9 +1773,9 @@ type AcceleratorTypeListWarning struct { NullFields []string `json:"-"` } -func (s *AcceleratorTypeListWarning) MarshalJSON() ([]byte, error) { +func (s AcceleratorTypeListWarning) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorTypeListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AcceleratorTypeListWarningData struct { @@ -1802,9 +1802,9 @@ type AcceleratorTypeListWarningData struct { NullFields []string `json:"-"` } -func (s *AcceleratorTypeListWarningData) MarshalJSON() ([]byte, error) { +func (s AcceleratorTypeListWarningData) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorTypeListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AcceleratorTypesScopedList struct { @@ -1827,9 +1827,9 @@ type AcceleratorTypesScopedList struct { NullFields []string `json:"-"` } -func (s *AcceleratorTypesScopedList) MarshalJSON() ([]byte, error) { +func (s AcceleratorTypesScopedList) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorTypesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AcceleratorTypesScopedListWarning: [Output Only] An informational warning @@ -1913,9 +1913,9 @@ type AcceleratorTypesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *AcceleratorTypesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s AcceleratorTypesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorTypesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AcceleratorTypesScopedListWarningData struct { @@ -1942,9 +1942,9 @@ type AcceleratorTypesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *AcceleratorTypesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s AcceleratorTypesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorTypesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AccessConfig: An access configuration attached to an instance's network @@ -2024,9 +2024,9 @@ type AccessConfig struct { NullFields []string `json:"-"` } -func (s *AccessConfig) MarshalJSON() ([]byte, error) { +func (s AccessConfig) MarshalJSON() ([]byte, error) { type NoMethod AccessConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Address: Represents an IP Address resource. Google Compute Engine has two IP @@ -2192,9 +2192,9 @@ type Address struct { NullFields []string `json:"-"` } -func (s *Address) MarshalJSON() ([]byte, error) { +func (s Address) MarshalJSON() ([]byte, error) { type NoMethod Address - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AddressAggregatedList struct { @@ -2233,9 +2233,9 @@ type AddressAggregatedList struct { NullFields []string `json:"-"` } -func (s *AddressAggregatedList) MarshalJSON() ([]byte, error) { +func (s AddressAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod AddressAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AddressAggregatedListWarning: [Output Only] Informational warning message. @@ -2318,9 +2318,9 @@ type AddressAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *AddressAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s AddressAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod AddressAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AddressAggregatedListWarningData struct { @@ -2347,9 +2347,9 @@ type AddressAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *AddressAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s AddressAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod AddressAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AddressList: Contains a list of addresses. @@ -2387,9 +2387,9 @@ type AddressList struct { NullFields []string `json:"-"` } -func (s *AddressList) MarshalJSON() ([]byte, error) { +func (s AddressList) MarshalJSON() ([]byte, error) { type NoMethod AddressList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AddressListWarning: [Output Only] Informational warning message. @@ -2472,9 +2472,9 @@ type AddressListWarning struct { NullFields []string `json:"-"` } -func (s *AddressListWarning) MarshalJSON() ([]byte, error) { +func (s AddressListWarning) MarshalJSON() ([]byte, error) { type NoMethod AddressListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AddressListWarningData struct { @@ -2501,9 +2501,9 @@ type AddressListWarningData struct { NullFields []string `json:"-"` } -func (s *AddressListWarningData) MarshalJSON() ([]byte, error) { +func (s AddressListWarningData) MarshalJSON() ([]byte, error) { type NoMethod AddressListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AddressesScopedList struct { @@ -2525,9 +2525,9 @@ type AddressesScopedList struct { NullFields []string `json:"-"` } -func (s *AddressesScopedList) MarshalJSON() ([]byte, error) { +func (s AddressesScopedList) MarshalJSON() ([]byte, error) { type NoMethod AddressesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AddressesScopedListWarning: [Output Only] Informational warning which @@ -2611,9 +2611,9 @@ type AddressesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *AddressesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s AddressesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod AddressesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AddressesScopedListWarningData struct { @@ -2640,9 +2640,9 @@ type AddressesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *AddressesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s AddressesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod AddressesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AdvancedMachineFeatures: Specifies options for controlling advanced machine @@ -2689,9 +2689,9 @@ type AdvancedMachineFeatures struct { NullFields []string `json:"-"` } -func (s *AdvancedMachineFeatures) MarshalJSON() ([]byte, error) { +func (s AdvancedMachineFeatures) MarshalJSON() ([]byte, error) { type NoMethod AdvancedMachineFeatures - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AliasIpRange: An alias IP range attached to an instance's network interface. @@ -2719,9 +2719,9 @@ type AliasIpRange struct { NullFields []string `json:"-"` } -func (s *AliasIpRange) MarshalJSON() ([]byte, error) { +func (s AliasIpRange) MarshalJSON() ([]byte, error) { type NoMethod AliasIpRange - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AllocationAggregateReservation: This reservation type is specified by total @@ -2764,9 +2764,9 @@ type AllocationAggregateReservation struct { NullFields []string `json:"-"` } -func (s *AllocationAggregateReservation) MarshalJSON() ([]byte, error) { +func (s AllocationAggregateReservation) MarshalJSON() ([]byte, error) { type NoMethod AllocationAggregateReservation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AllocationAggregateReservationReservedResourceInfo struct { @@ -2785,9 +2785,9 @@ type AllocationAggregateReservationReservedResourceInfo struct { NullFields []string `json:"-"` } -func (s *AllocationAggregateReservationReservedResourceInfo) MarshalJSON() ([]byte, error) { +func (s AllocationAggregateReservationReservedResourceInfo) MarshalJSON() ([]byte, error) { type NoMethod AllocationAggregateReservationReservedResourceInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AllocationAggregateReservationReservedResourceInfoAccelerator struct { @@ -2809,9 +2809,9 @@ type AllocationAggregateReservationReservedResourceInfoAccelerator struct { NullFields []string `json:"-"` } -func (s *AllocationAggregateReservationReservedResourceInfoAccelerator) MarshalJSON() ([]byte, error) { +func (s AllocationAggregateReservationReservedResourceInfoAccelerator) MarshalJSON() ([]byte, error) { type NoMethod AllocationAggregateReservationReservedResourceInfoAccelerator - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AllocationResourceStatus: [Output Only] Contains output only fields. @@ -2831,9 +2831,9 @@ type AllocationResourceStatus struct { NullFields []string `json:"-"` } -func (s *AllocationResourceStatus) MarshalJSON() ([]byte, error) { +func (s AllocationResourceStatus) MarshalJSON() ([]byte, error) { type NoMethod AllocationResourceStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AllocationResourceStatusSpecificSKUAllocation: Contains Properties set for @@ -2855,9 +2855,9 @@ type AllocationResourceStatusSpecificSKUAllocation struct { NullFields []string `json:"-"` } -func (s *AllocationResourceStatusSpecificSKUAllocation) MarshalJSON() ([]byte, error) { +func (s AllocationResourceStatusSpecificSKUAllocation) MarshalJSON() ([]byte, error) { type NoMethod AllocationResourceStatusSpecificSKUAllocation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk struct { @@ -2884,9 +2884,9 @@ type AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk stru NullFields []string `json:"-"` } -func (s *AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk) MarshalJSON() ([]byte, error) { +func (s AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk) MarshalJSON() ([]byte, error) { type NoMethod AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AllocationSpecificSKUAllocationReservedInstanceProperties: Properties of the @@ -2920,9 +2920,9 @@ type AllocationSpecificSKUAllocationReservedInstanceProperties struct { NullFields []string `json:"-"` } -func (s *AllocationSpecificSKUAllocationReservedInstanceProperties) MarshalJSON() ([]byte, error) { +func (s AllocationSpecificSKUAllocationReservedInstanceProperties) MarshalJSON() ([]byte, error) { type NoMethod AllocationSpecificSKUAllocationReservedInstanceProperties - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AllocationSpecificSKUReservation: This reservation type allows to pre @@ -2959,9 +2959,9 @@ type AllocationSpecificSKUReservation struct { NullFields []string `json:"-"` } -func (s *AllocationSpecificSKUReservation) MarshalJSON() ([]byte, error) { +func (s AllocationSpecificSKUReservation) MarshalJSON() ([]byte, error) { type NoMethod AllocationSpecificSKUReservation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AttachedDisk: An instance-attached disk resource. @@ -3089,9 +3089,9 @@ type AttachedDisk struct { NullFields []string `json:"-"` } -func (s *AttachedDisk) MarshalJSON() ([]byte, error) { +func (s AttachedDisk) MarshalJSON() ([]byte, error) { type NoMethod AttachedDisk - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AttachedDiskInitializeParams: [Input Only] Specifies the parameters for a @@ -3229,9 +3229,9 @@ type AttachedDiskInitializeParams struct { NullFields []string `json:"-"` } -func (s *AttachedDiskInitializeParams) MarshalJSON() ([]byte, error) { +func (s AttachedDiskInitializeParams) MarshalJSON() ([]byte, error) { type NoMethod AttachedDiskInitializeParams - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AuditConfig: Specifies the audit configuration for a service. The @@ -3272,9 +3272,9 @@ type AuditConfig struct { NullFields []string `json:"-"` } -func (s *AuditConfig) MarshalJSON() ([]byte, error) { +func (s AuditConfig) MarshalJSON() ([]byte, error) { type NoMethod AuditConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AuditLogConfig: Provides the configuration for logging a type of @@ -3309,9 +3309,9 @@ type AuditLogConfig struct { NullFields []string `json:"-"` } -func (s *AuditLogConfig) MarshalJSON() ([]byte, error) { +func (s AuditLogConfig) MarshalJSON() ([]byte, error) { type NoMethod AuditLogConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Autoscaler: Represents an Autoscaler resource. Google Compute Engine has two @@ -3402,9 +3402,9 @@ type Autoscaler struct { NullFields []string `json:"-"` } -func (s *Autoscaler) MarshalJSON() ([]byte, error) { +func (s Autoscaler) MarshalJSON() ([]byte, error) { type NoMethod Autoscaler - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AutoscalerAggregatedList struct { @@ -3444,9 +3444,9 @@ type AutoscalerAggregatedList struct { NullFields []string `json:"-"` } -func (s *AutoscalerAggregatedList) MarshalJSON() ([]byte, error) { +func (s AutoscalerAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod AutoscalerAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AutoscalerAggregatedListWarning: [Output Only] Informational warning @@ -3530,9 +3530,9 @@ type AutoscalerAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *AutoscalerAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s AutoscalerAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod AutoscalerAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AutoscalerAggregatedListWarningData struct { @@ -3559,9 +3559,9 @@ type AutoscalerAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *AutoscalerAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s AutoscalerAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod AutoscalerAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AutoscalerList: Contains a list of Autoscaler resources. @@ -3599,9 +3599,9 @@ type AutoscalerList struct { NullFields []string `json:"-"` } -func (s *AutoscalerList) MarshalJSON() ([]byte, error) { +func (s AutoscalerList) MarshalJSON() ([]byte, error) { type NoMethod AutoscalerList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AutoscalerListWarning: [Output Only] Informational warning message. @@ -3684,9 +3684,9 @@ type AutoscalerListWarning struct { NullFields []string `json:"-"` } -func (s *AutoscalerListWarning) MarshalJSON() ([]byte, error) { +func (s AutoscalerListWarning) MarshalJSON() ([]byte, error) { type NoMethod AutoscalerListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AutoscalerListWarningData struct { @@ -3713,9 +3713,9 @@ type AutoscalerListWarningData struct { NullFields []string `json:"-"` } -func (s *AutoscalerListWarningData) MarshalJSON() ([]byte, error) { +func (s AutoscalerListWarningData) MarshalJSON() ([]byte, error) { type NoMethod AutoscalerListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AutoscalerStatusDetails struct { @@ -3814,9 +3814,9 @@ type AutoscalerStatusDetails struct { NullFields []string `json:"-"` } -func (s *AutoscalerStatusDetails) MarshalJSON() ([]byte, error) { +func (s AutoscalerStatusDetails) MarshalJSON() ([]byte, error) { type NoMethod AutoscalerStatusDetails - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AutoscalersScopedList struct { @@ -3838,9 +3838,9 @@ type AutoscalersScopedList struct { NullFields []string `json:"-"` } -func (s *AutoscalersScopedList) MarshalJSON() ([]byte, error) { +func (s AutoscalersScopedList) MarshalJSON() ([]byte, error) { type NoMethod AutoscalersScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AutoscalersScopedListWarning: [Output Only] Informational warning which @@ -3924,9 +3924,9 @@ type AutoscalersScopedListWarning struct { NullFields []string `json:"-"` } -func (s *AutoscalersScopedListWarning) MarshalJSON() ([]byte, error) { +func (s AutoscalersScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod AutoscalersScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type AutoscalersScopedListWarningData struct { @@ -3953,9 +3953,9 @@ type AutoscalersScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *AutoscalersScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s AutoscalersScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod AutoscalersScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AutoscalingPolicy: Cloud Autoscaler policy. @@ -4025,9 +4025,9 @@ type AutoscalingPolicy struct { NullFields []string `json:"-"` } -func (s *AutoscalingPolicy) MarshalJSON() ([]byte, error) { +func (s AutoscalingPolicy) MarshalJSON() ([]byte, error) { type NoMethod AutoscalingPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AutoscalingPolicyCpuUtilization: CPU utilization policy. @@ -4068,9 +4068,9 @@ type AutoscalingPolicyCpuUtilization struct { NullFields []string `json:"-"` } -func (s *AutoscalingPolicyCpuUtilization) MarshalJSON() ([]byte, error) { +func (s AutoscalingPolicyCpuUtilization) MarshalJSON() ([]byte, error) { type NoMethod AutoscalingPolicyCpuUtilization - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *AutoscalingPolicyCpuUtilization) UnmarshalJSON(data []byte) error { @@ -4162,9 +4162,9 @@ type AutoscalingPolicyCustomMetricUtilization struct { NullFields []string `json:"-"` } -func (s *AutoscalingPolicyCustomMetricUtilization) MarshalJSON() ([]byte, error) { +func (s AutoscalingPolicyCustomMetricUtilization) MarshalJSON() ([]byte, error) { type NoMethod AutoscalingPolicyCustomMetricUtilization - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *AutoscalingPolicyCustomMetricUtilization) UnmarshalJSON(data []byte) error { @@ -4203,9 +4203,9 @@ type AutoscalingPolicyLoadBalancingUtilization struct { NullFields []string `json:"-"` } -func (s *AutoscalingPolicyLoadBalancingUtilization) MarshalJSON() ([]byte, error) { +func (s AutoscalingPolicyLoadBalancingUtilization) MarshalJSON() ([]byte, error) { type NoMethod AutoscalingPolicyLoadBalancingUtilization - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *AutoscalingPolicyLoadBalancingUtilization) UnmarshalJSON(data []byte) error { @@ -4247,9 +4247,9 @@ type AutoscalingPolicyScaleInControl struct { NullFields []string `json:"-"` } -func (s *AutoscalingPolicyScaleInControl) MarshalJSON() ([]byte, error) { +func (s AutoscalingPolicyScaleInControl) MarshalJSON() ([]byte, error) { type NoMethod AutoscalingPolicyScaleInControl - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AutoscalingPolicyScalingSchedule: Scaling based on user-defined schedule. @@ -4299,9 +4299,9 @@ type AutoscalingPolicyScalingSchedule struct { NullFields []string `json:"-"` } -func (s *AutoscalingPolicyScalingSchedule) MarshalJSON() ([]byte, error) { +func (s AutoscalingPolicyScalingSchedule) MarshalJSON() ([]byte, error) { type NoMethod AutoscalingPolicyScalingSchedule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Backend: Message containing information of one individual backend. @@ -4404,9 +4404,9 @@ type Backend struct { NullFields []string `json:"-"` } -func (s *Backend) MarshalJSON() ([]byte, error) { +func (s Backend) MarshalJSON() ([]byte, error) { type NoMethod Backend - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *Backend) UnmarshalJSON(data []byte) error { @@ -4489,9 +4489,9 @@ type BackendBucket struct { NullFields []string `json:"-"` } -func (s *BackendBucket) MarshalJSON() ([]byte, error) { +func (s BackendBucket) MarshalJSON() ([]byte, error) { type NoMethod BackendBucket - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendBucketCdnPolicy: Message containing Cloud CDN configuration for a @@ -4620,9 +4620,9 @@ type BackendBucketCdnPolicy struct { NullFields []string `json:"-"` } -func (s *BackendBucketCdnPolicy) MarshalJSON() ([]byte, error) { +func (s BackendBucketCdnPolicy) MarshalJSON() ([]byte, error) { type NoMethod BackendBucketCdnPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendBucketCdnPolicyBypassCacheOnRequestHeader: Bypass the cache when the @@ -4646,9 +4646,9 @@ type BackendBucketCdnPolicyBypassCacheOnRequestHeader struct { NullFields []string `json:"-"` } -func (s *BackendBucketCdnPolicyBypassCacheOnRequestHeader) MarshalJSON() ([]byte, error) { +func (s BackendBucketCdnPolicyBypassCacheOnRequestHeader) MarshalJSON() ([]byte, error) { type NoMethod BackendBucketCdnPolicyBypassCacheOnRequestHeader - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendBucketCdnPolicyCacheKeyPolicy: Message containing what to include in @@ -4674,9 +4674,9 @@ type BackendBucketCdnPolicyCacheKeyPolicy struct { NullFields []string `json:"-"` } -func (s *BackendBucketCdnPolicyCacheKeyPolicy) MarshalJSON() ([]byte, error) { +func (s BackendBucketCdnPolicyCacheKeyPolicy) MarshalJSON() ([]byte, error) { type NoMethod BackendBucketCdnPolicyCacheKeyPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendBucketCdnPolicyNegativeCachingPolicy: Specify CDN TTLs for response @@ -4704,9 +4704,9 @@ type BackendBucketCdnPolicyNegativeCachingPolicy struct { NullFields []string `json:"-"` } -func (s *BackendBucketCdnPolicyNegativeCachingPolicy) MarshalJSON() ([]byte, error) { +func (s BackendBucketCdnPolicyNegativeCachingPolicy) MarshalJSON() ([]byte, error) { type NoMethod BackendBucketCdnPolicyNegativeCachingPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendBucketList: Contains a list of BackendBucket resources. @@ -4743,9 +4743,9 @@ type BackendBucketList struct { NullFields []string `json:"-"` } -func (s *BackendBucketList) MarshalJSON() ([]byte, error) { +func (s BackendBucketList) MarshalJSON() ([]byte, error) { type NoMethod BackendBucketList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendBucketListWarning: [Output Only] Informational warning message. @@ -4828,9 +4828,9 @@ type BackendBucketListWarning struct { NullFields []string `json:"-"` } -func (s *BackendBucketListWarning) MarshalJSON() ([]byte, error) { +func (s BackendBucketListWarning) MarshalJSON() ([]byte, error) { type NoMethod BackendBucketListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BackendBucketListWarningData struct { @@ -4857,9 +4857,9 @@ type BackendBucketListWarningData struct { NullFields []string `json:"-"` } -func (s *BackendBucketListWarningData) MarshalJSON() ([]byte, error) { +func (s BackendBucketListWarningData) MarshalJSON() ([]byte, error) { type NoMethod BackendBucketListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendService: Represents a Backend Service resource. A backend service @@ -5200,8 +5200,9 @@ type BackendService struct { // this backend service. Not supported when the backend service is referenced // by a URL map that is bound to target gRPC proxy that has // validateForProxyless field set to true. Instead, use maxStreamDuration. - TimeoutSec int64 `json:"timeoutSec,omitempty"` - UsedBy []*BackendServiceUsedBy `json:"usedBy,omitempty"` + TimeoutSec int64 `json:"timeoutSec,omitempty"` + // UsedBy: [Output Only] List of resources referencing given backend service. + UsedBy []*BackendServiceUsedBy `json:"usedBy,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` @@ -5218,9 +5219,9 @@ type BackendService struct { NullFields []string `json:"-"` } -func (s *BackendService) MarshalJSON() ([]byte, error) { +func (s BackendService) MarshalJSON() ([]byte, error) { type NoMethod BackendService - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceAggregatedList: Contains a list of BackendServicesScopedList. @@ -5259,9 +5260,9 @@ type BackendServiceAggregatedList struct { NullFields []string `json:"-"` } -func (s *BackendServiceAggregatedList) MarshalJSON() ([]byte, error) { +func (s BackendServiceAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceAggregatedListWarning: [Output Only] Informational warning @@ -5345,9 +5346,9 @@ type BackendServiceAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *BackendServiceAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s BackendServiceAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BackendServiceAggregatedListWarningData struct { @@ -5374,9 +5375,9 @@ type BackendServiceAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *BackendServiceAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s BackendServiceAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceCdnPolicy: Message containing Cloud CDN configuration for a @@ -5505,9 +5506,9 @@ type BackendServiceCdnPolicy struct { NullFields []string `json:"-"` } -func (s *BackendServiceCdnPolicy) MarshalJSON() ([]byte, error) { +func (s BackendServiceCdnPolicy) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceCdnPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceCdnPolicyBypassCacheOnRequestHeader: Bypass the cache when the @@ -5531,9 +5532,9 @@ type BackendServiceCdnPolicyBypassCacheOnRequestHeader struct { NullFields []string `json:"-"` } -func (s *BackendServiceCdnPolicyBypassCacheOnRequestHeader) MarshalJSON() ([]byte, error) { +func (s BackendServiceCdnPolicyBypassCacheOnRequestHeader) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceCdnPolicyBypassCacheOnRequestHeader - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceCdnPolicyNegativeCachingPolicy: Specify CDN TTLs for response @@ -5561,9 +5562,9 @@ type BackendServiceCdnPolicyNegativeCachingPolicy struct { NullFields []string `json:"-"` } -func (s *BackendServiceCdnPolicyNegativeCachingPolicy) MarshalJSON() ([]byte, error) { +func (s BackendServiceCdnPolicyNegativeCachingPolicy) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceCdnPolicyNegativeCachingPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceConnectionTrackingPolicy: Connection Tracking configuration @@ -5633,9 +5634,9 @@ type BackendServiceConnectionTrackingPolicy struct { NullFields []string `json:"-"` } -func (s *BackendServiceConnectionTrackingPolicy) MarshalJSON() ([]byte, error) { +func (s BackendServiceConnectionTrackingPolicy) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceConnectionTrackingPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceFailoverPolicy: For load balancers that have configurable @@ -5689,9 +5690,9 @@ type BackendServiceFailoverPolicy struct { NullFields []string `json:"-"` } -func (s *BackendServiceFailoverPolicy) MarshalJSON() ([]byte, error) { +func (s BackendServiceFailoverPolicy) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceFailoverPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *BackendServiceFailoverPolicy) UnmarshalJSON(data []byte) error { @@ -5734,9 +5735,9 @@ type BackendServiceGroupHealth struct { NullFields []string `json:"-"` } -func (s *BackendServiceGroupHealth) MarshalJSON() ([]byte, error) { +func (s BackendServiceGroupHealth) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceGroupHealth - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceIAP: Identity-Aware Proxy @@ -5767,9 +5768,9 @@ type BackendServiceIAP struct { NullFields []string `json:"-"` } -func (s *BackendServiceIAP) MarshalJSON() ([]byte, error) { +func (s BackendServiceIAP) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceIAP - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceList: Contains a list of BackendService resources. @@ -5807,9 +5808,9 @@ type BackendServiceList struct { NullFields []string `json:"-"` } -func (s *BackendServiceList) MarshalJSON() ([]byte, error) { +func (s BackendServiceList) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceListWarning: [Output Only] Informational warning message. @@ -5892,9 +5893,9 @@ type BackendServiceListWarning struct { NullFields []string `json:"-"` } -func (s *BackendServiceListWarning) MarshalJSON() ([]byte, error) { +func (s BackendServiceListWarning) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BackendServiceListWarningData struct { @@ -5921,9 +5922,9 @@ type BackendServiceListWarningData struct { NullFields []string `json:"-"` } -func (s *BackendServiceListWarningData) MarshalJSON() ([]byte, error) { +func (s BackendServiceListWarningData) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceListUsable: Contains a list of usable BackendService @@ -5962,9 +5963,9 @@ type BackendServiceListUsable struct { NullFields []string `json:"-"` } -func (s *BackendServiceListUsable) MarshalJSON() ([]byte, error) { +func (s BackendServiceListUsable) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceListUsable - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceListUsableWarning: [Output Only] Informational warning @@ -6048,9 +6049,9 @@ type BackendServiceListUsableWarning struct { NullFields []string `json:"-"` } -func (s *BackendServiceListUsableWarning) MarshalJSON() ([]byte, error) { +func (s BackendServiceListUsableWarning) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceListUsableWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BackendServiceListUsableWarningData struct { @@ -6077,9 +6078,9 @@ type BackendServiceListUsableWarningData struct { NullFields []string `json:"-"` } -func (s *BackendServiceListUsableWarningData) MarshalJSON() ([]byte, error) { +func (s BackendServiceListUsableWarningData) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceListUsableWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceLocalityLoadBalancingPolicyConfig: Container for either a @@ -6101,9 +6102,9 @@ type BackendServiceLocalityLoadBalancingPolicyConfig struct { NullFields []string `json:"-"` } -func (s *BackendServiceLocalityLoadBalancingPolicyConfig) MarshalJSON() ([]byte, error) { +func (s BackendServiceLocalityLoadBalancingPolicyConfig) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceLocalityLoadBalancingPolicyConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy: The @@ -6134,9 +6135,9 @@ type BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy struct { NullFields []string `json:"-"` } -func (s *BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy) MarshalJSON() ([]byte, error) { +func (s BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceLocalityLoadBalancingPolicyConfigPolicy: The configuration for @@ -6191,9 +6192,9 @@ type BackendServiceLocalityLoadBalancingPolicyConfigPolicy struct { NullFields []string `json:"-"` } -func (s *BackendServiceLocalityLoadBalancingPolicyConfigPolicy) MarshalJSON() ([]byte, error) { +func (s BackendServiceLocalityLoadBalancingPolicyConfigPolicy) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceLocalityLoadBalancingPolicyConfigPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServiceLogConfig: The available logging options for the load balancer @@ -6237,9 +6238,9 @@ type BackendServiceLogConfig struct { NullFields []string `json:"-"` } -func (s *BackendServiceLogConfig) MarshalJSON() ([]byte, error) { +func (s BackendServiceLogConfig) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceLogConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *BackendServiceLogConfig) UnmarshalJSON(data []byte) error { @@ -6271,12 +6272,15 @@ type BackendServiceReference struct { NullFields []string `json:"-"` } -func (s *BackendServiceReference) MarshalJSON() ([]byte, error) { +func (s BackendServiceReference) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceReference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BackendServiceUsedBy struct { + // Reference: [Output Only] Server-defined URL for resources referencing given + // BackendService like UrlMaps, TargetTcpProxies, TargetSslProxies and + // ForwardingRule. Reference string `json:"reference,omitempty"` // ForceSendFields is a list of field names (e.g. "Reference") to // unconditionally include in API requests. By default, fields with empty or @@ -6291,9 +6295,9 @@ type BackendServiceUsedBy struct { NullFields []string `json:"-"` } -func (s *BackendServiceUsedBy) MarshalJSON() ([]byte, error) { +func (s BackendServiceUsedBy) MarshalJSON() ([]byte, error) { type NoMethod BackendServiceUsedBy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BackendServicesScopedList struct { @@ -6315,9 +6319,9 @@ type BackendServicesScopedList struct { NullFields []string `json:"-"` } -func (s *BackendServicesScopedList) MarshalJSON() ([]byte, error) { +func (s BackendServicesScopedList) MarshalJSON() ([]byte, error) { type NoMethod BackendServicesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BackendServicesScopedListWarning: Informational warning which replaces the @@ -6401,9 +6405,9 @@ type BackendServicesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *BackendServicesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s BackendServicesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod BackendServicesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BackendServicesScopedListWarningData struct { @@ -6430,9 +6434,9 @@ type BackendServicesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *BackendServicesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s BackendServicesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod BackendServicesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BfdPacket struct { @@ -6518,9 +6522,9 @@ type BfdPacket struct { NullFields []string `json:"-"` } -func (s *BfdPacket) MarshalJSON() ([]byte, error) { +func (s BfdPacket) MarshalJSON() ([]byte, error) { type NoMethod BfdPacket - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BfdStatus: Next free: 15 @@ -6594,9 +6598,9 @@ type BfdStatus struct { NullFields []string `json:"-"` } -func (s *BfdStatus) MarshalJSON() ([]byte, error) { +func (s BfdStatus) MarshalJSON() ([]byte, error) { type NoMethod BfdStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BfdStatusPacketCounts struct { @@ -6625,9 +6629,9 @@ type BfdStatusPacketCounts struct { NullFields []string `json:"-"` } -func (s *BfdStatusPacketCounts) MarshalJSON() ([]byte, error) { +func (s BfdStatusPacketCounts) MarshalJSON() ([]byte, error) { type NoMethod BfdStatusPacketCounts - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Binding: Associates `members`, or principals, with a `role`. @@ -6726,9 +6730,9 @@ type Binding struct { NullFields []string `json:"-"` } -func (s *Binding) MarshalJSON() ([]byte, error) { +func (s Binding) MarshalJSON() ([]byte, error) { type NoMethod Binding - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BulkInsertDiskResource: A transient resource used in @@ -6755,9 +6759,9 @@ type BulkInsertDiskResource struct { NullFields []string `json:"-"` } -func (s *BulkInsertDiskResource) MarshalJSON() ([]byte, error) { +func (s BulkInsertDiskResource) MarshalJSON() ([]byte, error) { type NoMethod BulkInsertDiskResource - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BulkInsertInstanceResource: A transient resource used in @@ -6817,9 +6821,9 @@ type BulkInsertInstanceResource struct { NullFields []string `json:"-"` } -func (s *BulkInsertInstanceResource) MarshalJSON() ([]byte, error) { +func (s BulkInsertInstanceResource) MarshalJSON() ([]byte, error) { type NoMethod BulkInsertInstanceResource - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BulkInsertInstanceResourcePerInstanceProperties: Per-instance properties to @@ -6843,9 +6847,9 @@ type BulkInsertInstanceResourcePerInstanceProperties struct { NullFields []string `json:"-"` } -func (s *BulkInsertInstanceResourcePerInstanceProperties) MarshalJSON() ([]byte, error) { +func (s BulkInsertInstanceResourcePerInstanceProperties) MarshalJSON() ([]byte, error) { type NoMethod BulkInsertInstanceResourcePerInstanceProperties - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type BulkInsertOperationStatus struct { @@ -6880,9 +6884,9 @@ type BulkInsertOperationStatus struct { NullFields []string `json:"-"` } -func (s *BulkInsertOperationStatus) MarshalJSON() ([]byte, error) { +func (s BulkInsertOperationStatus) MarshalJSON() ([]byte, error) { type NoMethod BulkInsertOperationStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type CacheInvalidationRule struct { @@ -6903,9 +6907,9 @@ type CacheInvalidationRule struct { NullFields []string `json:"-"` } -func (s *CacheInvalidationRule) MarshalJSON() ([]byte, error) { +func (s CacheInvalidationRule) MarshalJSON() ([]byte, error) { type NoMethod CacheInvalidationRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CacheKeyPolicy: Message containing what to include in the cache key for a @@ -6949,9 +6953,9 @@ type CacheKeyPolicy struct { NullFields []string `json:"-"` } -func (s *CacheKeyPolicy) MarshalJSON() ([]byte, error) { +func (s CacheKeyPolicy) MarshalJSON() ([]byte, error) { type NoMethod CacheKeyPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CircuitBreakers: Settings controlling the volume of requests, connections @@ -6995,9 +6999,9 @@ type CircuitBreakers struct { NullFields []string `json:"-"` } -func (s *CircuitBreakers) MarshalJSON() ([]byte, error) { +func (s CircuitBreakers) MarshalJSON() ([]byte, error) { type NoMethod CircuitBreakers - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Commitment: Represents a regional Commitment resource. Creating a commitment @@ -7110,6 +7114,7 @@ type Commitment struct { // "COMPUTE_OPTIMIZED_C3D" // "COMPUTE_OPTIMIZED_H3" // "GENERAL_PURPOSE" + // "GENERAL_PURPOSE_C4" // "GENERAL_PURPOSE_E2" // "GENERAL_PURPOSE_N2" // "GENERAL_PURPOSE_N2D" @@ -7137,9 +7142,9 @@ type Commitment struct { NullFields []string `json:"-"` } -func (s *Commitment) MarshalJSON() ([]byte, error) { +func (s Commitment) MarshalJSON() ([]byte, error) { type NoMethod Commitment - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type CommitmentAggregatedList struct { @@ -7178,9 +7183,9 @@ type CommitmentAggregatedList struct { NullFields []string `json:"-"` } -func (s *CommitmentAggregatedList) MarshalJSON() ([]byte, error) { +func (s CommitmentAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod CommitmentAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CommitmentAggregatedListWarning: [Output Only] Informational warning @@ -7264,9 +7269,9 @@ type CommitmentAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *CommitmentAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s CommitmentAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod CommitmentAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type CommitmentAggregatedListWarningData struct { @@ -7293,9 +7298,9 @@ type CommitmentAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *CommitmentAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s CommitmentAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod CommitmentAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CommitmentList: Contains a list of Commitment resources. @@ -7333,9 +7338,9 @@ type CommitmentList struct { NullFields []string `json:"-"` } -func (s *CommitmentList) MarshalJSON() ([]byte, error) { +func (s CommitmentList) MarshalJSON() ([]byte, error) { type NoMethod CommitmentList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CommitmentListWarning: [Output Only] Informational warning message. @@ -7418,9 +7423,9 @@ type CommitmentListWarning struct { NullFields []string `json:"-"` } -func (s *CommitmentListWarning) MarshalJSON() ([]byte, error) { +func (s CommitmentListWarning) MarshalJSON() ([]byte, error) { type NoMethod CommitmentListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type CommitmentListWarningData struct { @@ -7447,9 +7452,9 @@ type CommitmentListWarningData struct { NullFields []string `json:"-"` } -func (s *CommitmentListWarningData) MarshalJSON() ([]byte, error) { +func (s CommitmentListWarningData) MarshalJSON() ([]byte, error) { type NoMethod CommitmentListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type CommitmentsScopedList struct { @@ -7471,9 +7476,9 @@ type CommitmentsScopedList struct { NullFields []string `json:"-"` } -func (s *CommitmentsScopedList) MarshalJSON() ([]byte, error) { +func (s CommitmentsScopedList) MarshalJSON() ([]byte, error) { type NoMethod CommitmentsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CommitmentsScopedListWarning: [Output Only] Informational warning which @@ -7557,9 +7562,9 @@ type CommitmentsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *CommitmentsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s CommitmentsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod CommitmentsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type CommitmentsScopedListWarningData struct { @@ -7586,9 +7591,9 @@ type CommitmentsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *CommitmentsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s CommitmentsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod CommitmentsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Condition: This is deprecated and has no effect. Do not use. @@ -7641,9 +7646,9 @@ type Condition struct { NullFields []string `json:"-"` } -func (s *Condition) MarshalJSON() ([]byte, error) { +func (s Condition) MarshalJSON() ([]byte, error) { type NoMethod Condition - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ConfidentialInstanceConfig: A set of Confidential Instance options. @@ -7673,9 +7678,9 @@ type ConfidentialInstanceConfig struct { NullFields []string `json:"-"` } -func (s *ConfidentialInstanceConfig) MarshalJSON() ([]byte, error) { +func (s ConfidentialInstanceConfig) MarshalJSON() ([]byte, error) { type NoMethod ConfidentialInstanceConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ConnectionDraining: Message containing connection draining configuration. @@ -7697,9 +7702,9 @@ type ConnectionDraining struct { NullFields []string `json:"-"` } -func (s *ConnectionDraining) MarshalJSON() ([]byte, error) { +func (s ConnectionDraining) MarshalJSON() ([]byte, error) { type NoMethod ConnectionDraining - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ConsistentHashLoadBalancerSettings: This message defines settings for a @@ -7733,9 +7738,9 @@ type ConsistentHashLoadBalancerSettings struct { NullFields []string `json:"-"` } -func (s *ConsistentHashLoadBalancerSettings) MarshalJSON() ([]byte, error) { +func (s ConsistentHashLoadBalancerSettings) MarshalJSON() ([]byte, error) { type NoMethod ConsistentHashLoadBalancerSettings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ConsistentHashLoadBalancerSettingsHttpCookie: The information about the HTTP @@ -7761,9 +7766,9 @@ type ConsistentHashLoadBalancerSettingsHttpCookie struct { NullFields []string `json:"-"` } -func (s *ConsistentHashLoadBalancerSettingsHttpCookie) MarshalJSON() ([]byte, error) { +func (s ConsistentHashLoadBalancerSettingsHttpCookie) MarshalJSON() ([]byte, error) { type NoMethod ConsistentHashLoadBalancerSettingsHttpCookie - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CorsPolicy: The specification for allowing client-side cross-origin @@ -7812,9 +7817,9 @@ type CorsPolicy struct { NullFields []string `json:"-"` } -func (s *CorsPolicy) MarshalJSON() ([]byte, error) { +func (s CorsPolicy) MarshalJSON() ([]byte, error) { type NoMethod CorsPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CustomErrorResponsePolicy: Specifies the custom error response policy that @@ -7855,9 +7860,9 @@ type CustomErrorResponsePolicy struct { NullFields []string `json:"-"` } -func (s *CustomErrorResponsePolicy) MarshalJSON() ([]byte, error) { +func (s CustomErrorResponsePolicy) MarshalJSON() ([]byte, error) { type NoMethod CustomErrorResponsePolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CustomErrorResponsePolicyCustomErrorResponseRule: Specifies the mapping @@ -7897,9 +7902,9 @@ type CustomErrorResponsePolicyCustomErrorResponseRule struct { NullFields []string `json:"-"` } -func (s *CustomErrorResponsePolicyCustomErrorResponseRule) MarshalJSON() ([]byte, error) { +func (s CustomErrorResponsePolicyCustomErrorResponseRule) MarshalJSON() ([]byte, error) { type NoMethod CustomErrorResponsePolicyCustomErrorResponseRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type CustomerEncryptionKey struct { @@ -7950,9 +7955,9 @@ type CustomerEncryptionKey struct { NullFields []string `json:"-"` } -func (s *CustomerEncryptionKey) MarshalJSON() ([]byte, error) { +func (s CustomerEncryptionKey) MarshalJSON() ([]byte, error) { type NoMethod CustomerEncryptionKey - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type CustomerEncryptionKeyProtectedDisk struct { @@ -7976,9 +7981,9 @@ type CustomerEncryptionKeyProtectedDisk struct { NullFields []string `json:"-"` } -func (s *CustomerEncryptionKeyProtectedDisk) MarshalJSON() ([]byte, error) { +func (s CustomerEncryptionKeyProtectedDisk) MarshalJSON() ([]byte, error) { type NoMethod CustomerEncryptionKeyProtectedDisk - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DeprecationStatus: Deprecation status for a public resource. @@ -8027,9 +8032,9 @@ type DeprecationStatus struct { NullFields []string `json:"-"` } -func (s *DeprecationStatus) MarshalJSON() ([]byte, error) { +func (s DeprecationStatus) MarshalJSON() ([]byte, error) { type NoMethod DeprecationStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Disk: Represents a Persistent Disk resource. Google Compute Engine has two @@ -8321,9 +8326,9 @@ type Disk struct { NullFields []string `json:"-"` } -func (s *Disk) MarshalJSON() ([]byte, error) { +func (s Disk) MarshalJSON() ([]byte, error) { type NoMethod Disk - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskAggregatedList struct { @@ -8362,9 +8367,9 @@ type DiskAggregatedList struct { NullFields []string `json:"-"` } -func (s *DiskAggregatedList) MarshalJSON() ([]byte, error) { +func (s DiskAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod DiskAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DiskAggregatedListWarning: [Output Only] Informational warning message. @@ -8447,9 +8452,9 @@ type DiskAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *DiskAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s DiskAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod DiskAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskAggregatedListWarningData struct { @@ -8476,9 +8481,9 @@ type DiskAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *DiskAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s DiskAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod DiskAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskAsyncReplication struct { @@ -8514,9 +8519,9 @@ type DiskAsyncReplication struct { NullFields []string `json:"-"` } -func (s *DiskAsyncReplication) MarshalJSON() ([]byte, error) { +func (s DiskAsyncReplication) MarshalJSON() ([]byte, error) { type NoMethod DiskAsyncReplication - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskAsyncReplicationList struct { @@ -8534,9 +8539,9 @@ type DiskAsyncReplicationList struct { NullFields []string `json:"-"` } -func (s *DiskAsyncReplicationList) MarshalJSON() ([]byte, error) { +func (s DiskAsyncReplicationList) MarshalJSON() ([]byte, error) { type NoMethod DiskAsyncReplicationList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DiskInstantiationConfig: A specification of the desired way to instantiate a @@ -8599,9 +8604,9 @@ type DiskInstantiationConfig struct { NullFields []string `json:"-"` } -func (s *DiskInstantiationConfig) MarshalJSON() ([]byte, error) { +func (s DiskInstantiationConfig) MarshalJSON() ([]byte, error) { type NoMethod DiskInstantiationConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DiskList: A list of Disk resources. @@ -8639,9 +8644,9 @@ type DiskList struct { NullFields []string `json:"-"` } -func (s *DiskList) MarshalJSON() ([]byte, error) { +func (s DiskList) MarshalJSON() ([]byte, error) { type NoMethod DiskList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DiskListWarning: [Output Only] Informational warning message. @@ -8724,9 +8729,9 @@ type DiskListWarning struct { NullFields []string `json:"-"` } -func (s *DiskListWarning) MarshalJSON() ([]byte, error) { +func (s DiskListWarning) MarshalJSON() ([]byte, error) { type NoMethod DiskListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskListWarningData struct { @@ -8753,9 +8758,9 @@ type DiskListWarningData struct { NullFields []string `json:"-"` } -func (s *DiskListWarningData) MarshalJSON() ([]byte, error) { +func (s DiskListWarningData) MarshalJSON() ([]byte, error) { type NoMethod DiskListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskMoveRequest struct { @@ -8782,9 +8787,9 @@ type DiskMoveRequest struct { NullFields []string `json:"-"` } -func (s *DiskMoveRequest) MarshalJSON() ([]byte, error) { +func (s DiskMoveRequest) MarshalJSON() ([]byte, error) { type NoMethod DiskMoveRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DiskParams: Additional disk params. @@ -8807,9 +8812,9 @@ type DiskParams struct { NullFields []string `json:"-"` } -func (s *DiskParams) MarshalJSON() ([]byte, error) { +func (s DiskParams) MarshalJSON() ([]byte, error) { type NoMethod DiskParams - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskResourceStatus struct { @@ -8829,9 +8834,9 @@ type DiskResourceStatus struct { NullFields []string `json:"-"` } -func (s *DiskResourceStatus) MarshalJSON() ([]byte, error) { +func (s DiskResourceStatus) MarshalJSON() ([]byte, error) { type NoMethod DiskResourceStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskResourceStatusAsyncReplicationStatus struct { @@ -8857,9 +8862,9 @@ type DiskResourceStatusAsyncReplicationStatus struct { NullFields []string `json:"-"` } -func (s *DiskResourceStatusAsyncReplicationStatus) MarshalJSON() ([]byte, error) { +func (s DiskResourceStatusAsyncReplicationStatus) MarshalJSON() ([]byte, error) { type NoMethod DiskResourceStatusAsyncReplicationStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DiskType: Represents a Disk Type resource. Google Compute Engine has two @@ -8918,9 +8923,9 @@ type DiskType struct { NullFields []string `json:"-"` } -func (s *DiskType) MarshalJSON() ([]byte, error) { +func (s DiskType) MarshalJSON() ([]byte, error) { type NoMethod DiskType - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskTypeAggregatedList struct { @@ -8958,9 +8963,9 @@ type DiskTypeAggregatedList struct { NullFields []string `json:"-"` } -func (s *DiskTypeAggregatedList) MarshalJSON() ([]byte, error) { +func (s DiskTypeAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod DiskTypeAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DiskTypeAggregatedListWarning: [Output Only] Informational warning message. @@ -9043,9 +9048,9 @@ type DiskTypeAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *DiskTypeAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s DiskTypeAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod DiskTypeAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskTypeAggregatedListWarningData struct { @@ -9072,9 +9077,9 @@ type DiskTypeAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *DiskTypeAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s DiskTypeAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod DiskTypeAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DiskTypeList: Contains a list of disk types. @@ -9112,9 +9117,9 @@ type DiskTypeList struct { NullFields []string `json:"-"` } -func (s *DiskTypeList) MarshalJSON() ([]byte, error) { +func (s DiskTypeList) MarshalJSON() ([]byte, error) { type NoMethod DiskTypeList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DiskTypeListWarning: [Output Only] Informational warning message. @@ -9197,9 +9202,9 @@ type DiskTypeListWarning struct { NullFields []string `json:"-"` } -func (s *DiskTypeListWarning) MarshalJSON() ([]byte, error) { +func (s DiskTypeListWarning) MarshalJSON() ([]byte, error) { type NoMethod DiskTypeListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskTypeListWarningData struct { @@ -9226,9 +9231,9 @@ type DiskTypeListWarningData struct { NullFields []string `json:"-"` } -func (s *DiskTypeListWarningData) MarshalJSON() ([]byte, error) { +func (s DiskTypeListWarningData) MarshalJSON() ([]byte, error) { type NoMethod DiskTypeListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskTypesScopedList struct { @@ -9250,9 +9255,9 @@ type DiskTypesScopedList struct { NullFields []string `json:"-"` } -func (s *DiskTypesScopedList) MarshalJSON() ([]byte, error) { +func (s DiskTypesScopedList) MarshalJSON() ([]byte, error) { type NoMethod DiskTypesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DiskTypesScopedListWarning: [Output Only] Informational warning which @@ -9336,9 +9341,9 @@ type DiskTypesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *DiskTypesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s DiskTypesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod DiskTypesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DiskTypesScopedListWarningData struct { @@ -9365,9 +9370,9 @@ type DiskTypesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *DiskTypesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s DiskTypesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod DiskTypesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DisksAddResourcePoliciesRequest struct { @@ -9387,9 +9392,9 @@ type DisksAddResourcePoliciesRequest struct { NullFields []string `json:"-"` } -func (s *DisksAddResourcePoliciesRequest) MarshalJSON() ([]byte, error) { +func (s DisksAddResourcePoliciesRequest) MarshalJSON() ([]byte, error) { type NoMethod DisksAddResourcePoliciesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DisksRemoveResourcePoliciesRequest struct { @@ -9408,9 +9413,9 @@ type DisksRemoveResourcePoliciesRequest struct { NullFields []string `json:"-"` } -func (s *DisksRemoveResourcePoliciesRequest) MarshalJSON() ([]byte, error) { +func (s DisksRemoveResourcePoliciesRequest) MarshalJSON() ([]byte, error) { type NoMethod DisksRemoveResourcePoliciesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DisksResizeRequest struct { @@ -9429,9 +9434,9 @@ type DisksResizeRequest struct { NullFields []string `json:"-"` } -func (s *DisksResizeRequest) MarshalJSON() ([]byte, error) { +func (s DisksResizeRequest) MarshalJSON() ([]byte, error) { type NoMethod DisksResizeRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DisksScopedList struct { @@ -9453,9 +9458,9 @@ type DisksScopedList struct { NullFields []string `json:"-"` } -func (s *DisksScopedList) MarshalJSON() ([]byte, error) { +func (s DisksScopedList) MarshalJSON() ([]byte, error) { type NoMethod DisksScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DisksScopedListWarning: [Output Only] Informational warning which replaces @@ -9539,9 +9544,9 @@ type DisksScopedListWarning struct { NullFields []string `json:"-"` } -func (s *DisksScopedListWarning) MarshalJSON() ([]byte, error) { +func (s DisksScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod DisksScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DisksScopedListWarningData struct { @@ -9568,9 +9573,9 @@ type DisksScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *DisksScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s DisksScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod DisksScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DisksStartAsyncReplicationRequest struct { @@ -9597,9 +9602,9 @@ type DisksStartAsyncReplicationRequest struct { NullFields []string `json:"-"` } -func (s *DisksStartAsyncReplicationRequest) MarshalJSON() ([]byte, error) { +func (s DisksStartAsyncReplicationRequest) MarshalJSON() ([]byte, error) { type NoMethod DisksStartAsyncReplicationRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DisksStopGroupAsyncReplicationResource: A transient resource used in @@ -9627,9 +9632,9 @@ type DisksStopGroupAsyncReplicationResource struct { NullFields []string `json:"-"` } -func (s *DisksStopGroupAsyncReplicationResource) MarshalJSON() ([]byte, error) { +func (s DisksStopGroupAsyncReplicationResource) MarshalJSON() ([]byte, error) { type NoMethod DisksStopGroupAsyncReplicationResource - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DisplayDevice: A set of Display Device options @@ -9649,9 +9654,9 @@ type DisplayDevice struct { NullFields []string `json:"-"` } -func (s *DisplayDevice) MarshalJSON() ([]byte, error) { +func (s DisplayDevice) MarshalJSON() ([]byte, error) { type NoMethod DisplayDevice - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DistributionPolicy struct { @@ -9694,9 +9699,9 @@ type DistributionPolicy struct { NullFields []string `json:"-"` } -func (s *DistributionPolicy) MarshalJSON() ([]byte, error) { +func (s DistributionPolicy) MarshalJSON() ([]byte, error) { type NoMethod DistributionPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type DistributionPolicyZoneConfiguration struct { @@ -9716,9 +9721,9 @@ type DistributionPolicyZoneConfiguration struct { NullFields []string `json:"-"` } -func (s *DistributionPolicyZoneConfiguration) MarshalJSON() ([]byte, error) { +func (s DistributionPolicyZoneConfiguration) MarshalJSON() ([]byte, error) { type NoMethod DistributionPolicyZoneConfiguration - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Duration: A Duration represents a fixed-length span of time represented as a @@ -9747,9 +9752,9 @@ type Duration struct { NullFields []string `json:"-"` } -func (s *Duration) MarshalJSON() ([]byte, error) { +func (s Duration) MarshalJSON() ([]byte, error) { type NoMethod Duration - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ErrorInfo: Describes the cause of the error with structured details. Example @@ -9795,9 +9800,9 @@ type ErrorInfo struct { NullFields []string `json:"-"` } -func (s *ErrorInfo) MarshalJSON() ([]byte, error) { +func (s ErrorInfo) MarshalJSON() ([]byte, error) { type NoMethod ErrorInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ExchangedPeeringRoute struct { @@ -9834,9 +9839,9 @@ type ExchangedPeeringRoute struct { NullFields []string `json:"-"` } -func (s *ExchangedPeeringRoute) MarshalJSON() ([]byte, error) { +func (s ExchangedPeeringRoute) MarshalJSON() ([]byte, error) { type NoMethod ExchangedPeeringRoute - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ExchangedPeeringRoutesList struct { @@ -9873,9 +9878,9 @@ type ExchangedPeeringRoutesList struct { NullFields []string `json:"-"` } -func (s *ExchangedPeeringRoutesList) MarshalJSON() ([]byte, error) { +func (s ExchangedPeeringRoutesList) MarshalJSON() ([]byte, error) { type NoMethod ExchangedPeeringRoutesList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ExchangedPeeringRoutesListWarning: [Output Only] Informational warning @@ -9959,9 +9964,9 @@ type ExchangedPeeringRoutesListWarning struct { NullFields []string `json:"-"` } -func (s *ExchangedPeeringRoutesListWarning) MarshalJSON() ([]byte, error) { +func (s ExchangedPeeringRoutesListWarning) MarshalJSON() ([]byte, error) { type NoMethod ExchangedPeeringRoutesListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ExchangedPeeringRoutesListWarningData struct { @@ -9988,9 +9993,9 @@ type ExchangedPeeringRoutesListWarningData struct { NullFields []string `json:"-"` } -func (s *ExchangedPeeringRoutesListWarningData) MarshalJSON() ([]byte, error) { +func (s ExchangedPeeringRoutesListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ExchangedPeeringRoutesListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Expr: Represents a textual expression in the Common Expression Language @@ -10036,9 +10041,9 @@ type Expr struct { NullFields []string `json:"-"` } -func (s *Expr) MarshalJSON() ([]byte, error) { +func (s Expr) MarshalJSON() ([]byte, error) { type NoMethod Expr - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ExternalVpnGateway: Represents an external VPN gateway. External VPN gateway @@ -10131,9 +10136,9 @@ type ExternalVpnGateway struct { NullFields []string `json:"-"` } -func (s *ExternalVpnGateway) MarshalJSON() ([]byte, error) { +func (s ExternalVpnGateway) MarshalJSON() ([]byte, error) { type NoMethod ExternalVpnGateway - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ExternalVpnGatewayInterface: The interface for the external VPN gateway. @@ -10168,9 +10173,9 @@ type ExternalVpnGatewayInterface struct { NullFields []string `json:"-"` } -func (s *ExternalVpnGatewayInterface) MarshalJSON() ([]byte, error) { +func (s ExternalVpnGatewayInterface) MarshalJSON() ([]byte, error) { type NoMethod ExternalVpnGatewayInterface - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ExternalVpnGatewayList: Response to the list request, and contains a list of @@ -10210,9 +10215,9 @@ type ExternalVpnGatewayList struct { NullFields []string `json:"-"` } -func (s *ExternalVpnGatewayList) MarshalJSON() ([]byte, error) { +func (s ExternalVpnGatewayList) MarshalJSON() ([]byte, error) { type NoMethod ExternalVpnGatewayList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ExternalVpnGatewayListWarning: [Output Only] Informational warning message. @@ -10295,9 +10300,9 @@ type ExternalVpnGatewayListWarning struct { NullFields []string `json:"-"` } -func (s *ExternalVpnGatewayListWarning) MarshalJSON() ([]byte, error) { +func (s ExternalVpnGatewayListWarning) MarshalJSON() ([]byte, error) { type NoMethod ExternalVpnGatewayListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ExternalVpnGatewayListWarningData struct { @@ -10324,9 +10329,9 @@ type ExternalVpnGatewayListWarningData struct { NullFields []string `json:"-"` } -func (s *ExternalVpnGatewayListWarningData) MarshalJSON() ([]byte, error) { +func (s ExternalVpnGatewayListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ExternalVpnGatewayListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FileContentBuffer struct { @@ -10352,9 +10357,9 @@ type FileContentBuffer struct { NullFields []string `json:"-"` } -func (s *FileContentBuffer) MarshalJSON() ([]byte, error) { +func (s FileContentBuffer) MarshalJSON() ([]byte, error) { type NoMethod FileContentBuffer - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Firewall: Represents a Firewall Rule resource. Firewall rules allow or deny @@ -10488,9 +10493,9 @@ type Firewall struct { NullFields []string `json:"-"` } -func (s *Firewall) MarshalJSON() ([]byte, error) { +func (s Firewall) MarshalJSON() ([]byte, error) { type NoMethod Firewall - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FirewallAllowed struct { @@ -10518,9 +10523,9 @@ type FirewallAllowed struct { NullFields []string `json:"-"` } -func (s *FirewallAllowed) MarshalJSON() ([]byte, error) { +func (s FirewallAllowed) MarshalJSON() ([]byte, error) { type NoMethod FirewallAllowed - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FirewallDenied struct { @@ -10548,9 +10553,9 @@ type FirewallDenied struct { NullFields []string `json:"-"` } -func (s *FirewallDenied) MarshalJSON() ([]byte, error) { +func (s FirewallDenied) MarshalJSON() ([]byte, error) { type NoMethod FirewallDenied - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FirewallList: Contains a list of firewalls. @@ -10588,9 +10593,9 @@ type FirewallList struct { NullFields []string `json:"-"` } -func (s *FirewallList) MarshalJSON() ([]byte, error) { +func (s FirewallList) MarshalJSON() ([]byte, error) { type NoMethod FirewallList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FirewallListWarning: [Output Only] Informational warning message. @@ -10673,9 +10678,9 @@ type FirewallListWarning struct { NullFields []string `json:"-"` } -func (s *FirewallListWarning) MarshalJSON() ([]byte, error) { +func (s FirewallListWarning) MarshalJSON() ([]byte, error) { type NoMethod FirewallListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FirewallListWarningData struct { @@ -10702,9 +10707,9 @@ type FirewallListWarningData struct { NullFields []string `json:"-"` } -func (s *FirewallListWarningData) MarshalJSON() ([]byte, error) { +func (s FirewallListWarningData) MarshalJSON() ([]byte, error) { type NoMethod FirewallListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FirewallLogConfig: The available logging options for a firewall rule. @@ -10733,9 +10738,9 @@ type FirewallLogConfig struct { NullFields []string `json:"-"` } -func (s *FirewallLogConfig) MarshalJSON() ([]byte, error) { +func (s FirewallLogConfig) MarshalJSON() ([]byte, error) { type NoMethod FirewallLogConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FirewallPoliciesListAssociationsResponse struct { @@ -10761,9 +10766,9 @@ type FirewallPoliciesListAssociationsResponse struct { NullFields []string `json:"-"` } -func (s *FirewallPoliciesListAssociationsResponse) MarshalJSON() ([]byte, error) { +func (s FirewallPoliciesListAssociationsResponse) MarshalJSON() ([]byte, error) { type NoMethod FirewallPoliciesListAssociationsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FirewallPolicy: Represents a Firewall Policy resource. @@ -10851,9 +10856,9 @@ type FirewallPolicy struct { NullFields []string `json:"-"` } -func (s *FirewallPolicy) MarshalJSON() ([]byte, error) { +func (s FirewallPolicy) MarshalJSON() ([]byte, error) { type NoMethod FirewallPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FirewallPolicyAssociation struct { @@ -10885,9 +10890,9 @@ type FirewallPolicyAssociation struct { NullFields []string `json:"-"` } -func (s *FirewallPolicyAssociation) MarshalJSON() ([]byte, error) { +func (s FirewallPolicyAssociation) MarshalJSON() ([]byte, error) { type NoMethod FirewallPolicyAssociation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FirewallPolicyList struct { @@ -10922,9 +10927,9 @@ type FirewallPolicyList struct { NullFields []string `json:"-"` } -func (s *FirewallPolicyList) MarshalJSON() ([]byte, error) { +func (s FirewallPolicyList) MarshalJSON() ([]byte, error) { type NoMethod FirewallPolicyList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FirewallPolicyListWarning: [Output Only] Informational warning message. @@ -11007,9 +11012,9 @@ type FirewallPolicyListWarning struct { NullFields []string `json:"-"` } -func (s *FirewallPolicyListWarning) MarshalJSON() ([]byte, error) { +func (s FirewallPolicyListWarning) MarshalJSON() ([]byte, error) { type NoMethod FirewallPolicyListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FirewallPolicyListWarningData struct { @@ -11036,9 +11041,9 @@ type FirewallPolicyListWarningData struct { NullFields []string `json:"-"` } -func (s *FirewallPolicyListWarningData) MarshalJSON() ([]byte, error) { +func (s FirewallPolicyListWarningData) MarshalJSON() ([]byte, error) { type NoMethod FirewallPolicyListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FirewallPolicyRule: Represents a rule that describes one or more match @@ -11125,9 +11130,9 @@ type FirewallPolicyRule struct { NullFields []string `json:"-"` } -func (s *FirewallPolicyRule) MarshalJSON() ([]byte, error) { +func (s FirewallPolicyRule) MarshalJSON() ([]byte, error) { type NoMethod FirewallPolicyRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FirewallPolicyRuleMatcher: Represents a match condition that incoming @@ -11188,9 +11193,9 @@ type FirewallPolicyRuleMatcher struct { NullFields []string `json:"-"` } -func (s *FirewallPolicyRuleMatcher) MarshalJSON() ([]byte, error) { +func (s FirewallPolicyRuleMatcher) MarshalJSON() ([]byte, error) { type NoMethod FirewallPolicyRuleMatcher - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FirewallPolicyRuleMatcherLayer4Config struct { @@ -11218,9 +11223,9 @@ type FirewallPolicyRuleMatcherLayer4Config struct { NullFields []string `json:"-"` } -func (s *FirewallPolicyRuleMatcherLayer4Config) MarshalJSON() ([]byte, error) { +func (s FirewallPolicyRuleMatcherLayer4Config) MarshalJSON() ([]byte, error) { type NoMethod FirewallPolicyRuleMatcherLayer4Config - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type FirewallPolicyRuleSecureTag struct { @@ -11247,9 +11252,9 @@ type FirewallPolicyRuleSecureTag struct { NullFields []string `json:"-"` } -func (s *FirewallPolicyRuleSecureTag) MarshalJSON() ([]byte, error) { +func (s FirewallPolicyRuleSecureTag) MarshalJSON() ([]byte, error) { type NoMethod FirewallPolicyRuleSecureTag - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FixedOrPercent: Encapsulates numeric value that can be either absolute or @@ -11281,9 +11286,9 @@ type FixedOrPercent struct { NullFields []string `json:"-"` } -func (s *FixedOrPercent) MarshalJSON() ([]byte, error) { +func (s FixedOrPercent) MarshalJSON() ([]byte, error) { type NoMethod FixedOrPercent - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ForwardingRule: Represents a Forwarding Rule resource. Forwarding rule @@ -11598,9 +11603,9 @@ type ForwardingRule struct { NullFields []string `json:"-"` } -func (s *ForwardingRule) MarshalJSON() ([]byte, error) { +func (s ForwardingRule) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ForwardingRuleAggregatedList struct { @@ -11639,9 +11644,9 @@ type ForwardingRuleAggregatedList struct { NullFields []string `json:"-"` } -func (s *ForwardingRuleAggregatedList) MarshalJSON() ([]byte, error) { +func (s ForwardingRuleAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRuleAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ForwardingRuleAggregatedListWarning: [Output Only] Informational warning @@ -11725,9 +11730,9 @@ type ForwardingRuleAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *ForwardingRuleAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s ForwardingRuleAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRuleAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ForwardingRuleAggregatedListWarningData struct { @@ -11754,9 +11759,9 @@ type ForwardingRuleAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *ForwardingRuleAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s ForwardingRuleAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRuleAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ForwardingRuleList: Contains a list of ForwardingRule resources. @@ -11793,9 +11798,9 @@ type ForwardingRuleList struct { NullFields []string `json:"-"` } -func (s *ForwardingRuleList) MarshalJSON() ([]byte, error) { +func (s ForwardingRuleList) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRuleList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ForwardingRuleListWarning: [Output Only] Informational warning message. @@ -11878,9 +11883,9 @@ type ForwardingRuleListWarning struct { NullFields []string `json:"-"` } -func (s *ForwardingRuleListWarning) MarshalJSON() ([]byte, error) { +func (s ForwardingRuleListWarning) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRuleListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ForwardingRuleListWarningData struct { @@ -11907,9 +11912,9 @@ type ForwardingRuleListWarningData struct { NullFields []string `json:"-"` } -func (s *ForwardingRuleListWarningData) MarshalJSON() ([]byte, error) { +func (s ForwardingRuleListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRuleListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ForwardingRuleReference struct { @@ -11927,9 +11932,9 @@ type ForwardingRuleReference struct { NullFields []string `json:"-"` } -func (s *ForwardingRuleReference) MarshalJSON() ([]byte, error) { +func (s ForwardingRuleReference) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRuleReference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ForwardingRuleServiceDirectoryRegistration: Describes the auto-registration @@ -11960,9 +11965,9 @@ type ForwardingRuleServiceDirectoryRegistration struct { NullFields []string `json:"-"` } -func (s *ForwardingRuleServiceDirectoryRegistration) MarshalJSON() ([]byte, error) { +func (s ForwardingRuleServiceDirectoryRegistration) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRuleServiceDirectoryRegistration - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ForwardingRulesScopedList struct { @@ -11984,9 +11989,9 @@ type ForwardingRulesScopedList struct { NullFields []string `json:"-"` } -func (s *ForwardingRulesScopedList) MarshalJSON() ([]byte, error) { +func (s ForwardingRulesScopedList) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRulesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ForwardingRulesScopedListWarning: Informational warning which replaces the @@ -12070,9 +12075,9 @@ type ForwardingRulesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *ForwardingRulesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s ForwardingRulesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRulesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ForwardingRulesScopedListWarningData struct { @@ -12099,9 +12104,9 @@ type ForwardingRulesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *ForwardingRulesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s ForwardingRulesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ForwardingRulesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type GRPCHealthCheck struct { @@ -12160,9 +12165,9 @@ type GRPCHealthCheck struct { NullFields []string `json:"-"` } -func (s *GRPCHealthCheck) MarshalJSON() ([]byte, error) { +func (s GRPCHealthCheck) MarshalJSON() ([]byte, error) { type NoMethod GRPCHealthCheck - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type GlobalAddressesMoveRequest struct { @@ -12189,9 +12194,9 @@ type GlobalAddressesMoveRequest struct { NullFields []string `json:"-"` } -func (s *GlobalAddressesMoveRequest) MarshalJSON() ([]byte, error) { +func (s GlobalAddressesMoveRequest) MarshalJSON() ([]byte, error) { type NoMethod GlobalAddressesMoveRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type GlobalNetworkEndpointGroupsAttachEndpointsRequest struct { @@ -12210,9 +12215,9 @@ type GlobalNetworkEndpointGroupsAttachEndpointsRequest struct { NullFields []string `json:"-"` } -func (s *GlobalNetworkEndpointGroupsAttachEndpointsRequest) MarshalJSON() ([]byte, error) { +func (s GlobalNetworkEndpointGroupsAttachEndpointsRequest) MarshalJSON() ([]byte, error) { type NoMethod GlobalNetworkEndpointGroupsAttachEndpointsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type GlobalNetworkEndpointGroupsDetachEndpointsRequest struct { @@ -12231,9 +12236,9 @@ type GlobalNetworkEndpointGroupsDetachEndpointsRequest struct { NullFields []string `json:"-"` } -func (s *GlobalNetworkEndpointGroupsDetachEndpointsRequest) MarshalJSON() ([]byte, error) { +func (s GlobalNetworkEndpointGroupsDetachEndpointsRequest) MarshalJSON() ([]byte, error) { type NoMethod GlobalNetworkEndpointGroupsDetachEndpointsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type GlobalOrganizationSetPolicyRequest struct { @@ -12261,9 +12266,9 @@ type GlobalOrganizationSetPolicyRequest struct { NullFields []string `json:"-"` } -func (s *GlobalOrganizationSetPolicyRequest) MarshalJSON() ([]byte, error) { +func (s GlobalOrganizationSetPolicyRequest) MarshalJSON() ([]byte, error) { type NoMethod GlobalOrganizationSetPolicyRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type GlobalSetLabelsRequest struct { @@ -12292,9 +12297,9 @@ type GlobalSetLabelsRequest struct { NullFields []string `json:"-"` } -func (s *GlobalSetLabelsRequest) MarshalJSON() ([]byte, error) { +func (s GlobalSetLabelsRequest) MarshalJSON() ([]byte, error) { type NoMethod GlobalSetLabelsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type GlobalSetPolicyRequest struct { @@ -12322,9 +12327,9 @@ type GlobalSetPolicyRequest struct { NullFields []string `json:"-"` } -func (s *GlobalSetPolicyRequest) MarshalJSON() ([]byte, error) { +func (s GlobalSetPolicyRequest) MarshalJSON() ([]byte, error) { type NoMethod GlobalSetPolicyRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GuestAttributes: A guest attributes entry. @@ -12359,9 +12364,9 @@ type GuestAttributes struct { NullFields []string `json:"-"` } -func (s *GuestAttributes) MarshalJSON() ([]byte, error) { +func (s GuestAttributes) MarshalJSON() ([]byte, error) { type NoMethod GuestAttributes - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GuestAttributesEntry: A guest attributes namespace/key/value entry. @@ -12385,9 +12390,9 @@ type GuestAttributesEntry struct { NullFields []string `json:"-"` } -func (s *GuestAttributesEntry) MarshalJSON() ([]byte, error) { +func (s GuestAttributesEntry) MarshalJSON() ([]byte, error) { type NoMethod GuestAttributesEntry - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GuestAttributesValue: Array of guest attribute namespace/key/value tuples. @@ -12406,9 +12411,9 @@ type GuestAttributesValue struct { NullFields []string `json:"-"` } -func (s *GuestAttributesValue) MarshalJSON() ([]byte, error) { +func (s GuestAttributesValue) MarshalJSON() ([]byte, error) { type NoMethod GuestAttributesValue - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GuestOsFeature: Guest OS features. @@ -12447,9 +12452,9 @@ type GuestOsFeature struct { NullFields []string `json:"-"` } -func (s *GuestOsFeature) MarshalJSON() ([]byte, error) { +func (s GuestOsFeature) MarshalJSON() ([]byte, error) { type NoMethod GuestOsFeature - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HTTP2HealthCheck struct { @@ -12523,9 +12528,9 @@ type HTTP2HealthCheck struct { NullFields []string `json:"-"` } -func (s *HTTP2HealthCheck) MarshalJSON() ([]byte, error) { +func (s HTTP2HealthCheck) MarshalJSON() ([]byte, error) { type NoMethod HTTP2HealthCheck - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HTTPHealthCheck struct { @@ -12600,9 +12605,9 @@ type HTTPHealthCheck struct { NullFields []string `json:"-"` } -func (s *HTTPHealthCheck) MarshalJSON() ([]byte, error) { +func (s HTTPHealthCheck) MarshalJSON() ([]byte, error) { type NoMethod HTTPHealthCheck - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HTTPSHealthCheck struct { @@ -12676,9 +12681,9 @@ type HTTPSHealthCheck struct { NullFields []string `json:"-"` } -func (s *HTTPSHealthCheck) MarshalJSON() ([]byte, error) { +func (s HTTPSHealthCheck) MarshalJSON() ([]byte, error) { type NoMethod HTTPSHealthCheck - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HealthCheck: Represents a health check resource. Google Compute Engine has @@ -12767,9 +12772,9 @@ type HealthCheck struct { NullFields []string `json:"-"` } -func (s *HealthCheck) MarshalJSON() ([]byte, error) { +func (s HealthCheck) MarshalJSON() ([]byte, error) { type NoMethod HealthCheck - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HealthCheckList: Contains a list of HealthCheck resources. @@ -12806,9 +12811,9 @@ type HealthCheckList struct { NullFields []string `json:"-"` } -func (s *HealthCheckList) MarshalJSON() ([]byte, error) { +func (s HealthCheckList) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HealthCheckListWarning: [Output Only] Informational warning message. @@ -12891,9 +12896,9 @@ type HealthCheckListWarning struct { NullFields []string `json:"-"` } -func (s *HealthCheckListWarning) MarshalJSON() ([]byte, error) { +func (s HealthCheckListWarning) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HealthCheckListWarningData struct { @@ -12920,9 +12925,9 @@ type HealthCheckListWarningData struct { NullFields []string `json:"-"` } -func (s *HealthCheckListWarningData) MarshalJSON() ([]byte, error) { +func (s HealthCheckListWarningData) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HealthCheckLogConfig: Configuration of logging on a health check. If logging @@ -12944,9 +12949,9 @@ type HealthCheckLogConfig struct { NullFields []string `json:"-"` } -func (s *HealthCheckLogConfig) MarshalJSON() ([]byte, error) { +func (s HealthCheckLogConfig) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckLogConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HealthCheckReference: A full or valid partial URL to a health check. For @@ -12969,9 +12974,9 @@ type HealthCheckReference struct { NullFields []string `json:"-"` } -func (s *HealthCheckReference) MarshalJSON() ([]byte, error) { +func (s HealthCheckReference) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckReference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HealthCheckService: Represents a Health-Check as a Service resource. @@ -13066,9 +13071,9 @@ type HealthCheckService struct { NullFields []string `json:"-"` } -func (s *HealthCheckService) MarshalJSON() ([]byte, error) { +func (s HealthCheckService) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckService - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HealthCheckServiceReference: A full or valid partial URL to a health check @@ -13092,9 +13097,9 @@ type HealthCheckServiceReference struct { NullFields []string `json:"-"` } -func (s *HealthCheckServiceReference) MarshalJSON() ([]byte, error) { +func (s HealthCheckServiceReference) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckServiceReference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HealthCheckServicesList struct { @@ -13131,9 +13136,9 @@ type HealthCheckServicesList struct { NullFields []string `json:"-"` } -func (s *HealthCheckServicesList) MarshalJSON() ([]byte, error) { +func (s HealthCheckServicesList) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckServicesList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HealthCheckServicesListWarning: [Output Only] Informational warning message. @@ -13216,9 +13221,9 @@ type HealthCheckServicesListWarning struct { NullFields []string `json:"-"` } -func (s *HealthCheckServicesListWarning) MarshalJSON() ([]byte, error) { +func (s HealthCheckServicesListWarning) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckServicesListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HealthCheckServicesListWarningData struct { @@ -13245,9 +13250,9 @@ type HealthCheckServicesListWarningData struct { NullFields []string `json:"-"` } -func (s *HealthCheckServicesListWarningData) MarshalJSON() ([]byte, error) { +func (s HealthCheckServicesListWarningData) MarshalJSON() ([]byte, error) { type NoMethod HealthCheckServicesListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HealthChecksAggregatedList struct { @@ -13285,9 +13290,9 @@ type HealthChecksAggregatedList struct { NullFields []string `json:"-"` } -func (s *HealthChecksAggregatedList) MarshalJSON() ([]byte, error) { +func (s HealthChecksAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod HealthChecksAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HealthChecksAggregatedListWarning: [Output Only] Informational warning @@ -13371,9 +13376,9 @@ type HealthChecksAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *HealthChecksAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s HealthChecksAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod HealthChecksAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HealthChecksAggregatedListWarningData struct { @@ -13400,9 +13405,9 @@ type HealthChecksAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *HealthChecksAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s HealthChecksAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod HealthChecksAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HealthChecksScopedList struct { @@ -13424,9 +13429,9 @@ type HealthChecksScopedList struct { NullFields []string `json:"-"` } -func (s *HealthChecksScopedList) MarshalJSON() ([]byte, error) { +func (s HealthChecksScopedList) MarshalJSON() ([]byte, error) { type NoMethod HealthChecksScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HealthChecksScopedListWarning: Informational warning which replaces the list @@ -13510,9 +13515,9 @@ type HealthChecksScopedListWarning struct { NullFields []string `json:"-"` } -func (s *HealthChecksScopedListWarning) MarshalJSON() ([]byte, error) { +func (s HealthChecksScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod HealthChecksScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HealthChecksScopedListWarningData struct { @@ -13539,9 +13544,9 @@ type HealthChecksScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *HealthChecksScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s HealthChecksScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod HealthChecksScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HealthStatus struct { @@ -13599,9 +13604,9 @@ type HealthStatus struct { NullFields []string `json:"-"` } -func (s *HealthStatus) MarshalJSON() ([]byte, error) { +func (s HealthStatus) MarshalJSON() ([]byte, error) { type NoMethod HealthStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HealthStatusForNetworkEndpoint struct { @@ -13639,9 +13644,9 @@ type HealthStatusForNetworkEndpoint struct { NullFields []string `json:"-"` } -func (s *HealthStatusForNetworkEndpoint) MarshalJSON() ([]byte, error) { +func (s HealthStatusForNetworkEndpoint) MarshalJSON() ([]byte, error) { type NoMethod HealthStatusForNetworkEndpoint - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Help: Provides links to documentation or for performing an out of band @@ -13666,9 +13671,9 @@ type Help struct { NullFields []string `json:"-"` } -func (s *Help) MarshalJSON() ([]byte, error) { +func (s Help) MarshalJSON() ([]byte, error) { type NoMethod Help - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HelpLink: Describes a URL link. @@ -13690,9 +13695,9 @@ type HelpLink struct { NullFields []string `json:"-"` } -func (s *HelpLink) MarshalJSON() ([]byte, error) { +func (s HelpLink) MarshalJSON() ([]byte, error) { type NoMethod HelpLink - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HostRule: UrlMaps A host-matching rule for a URL. If matched, will use the @@ -13724,9 +13729,9 @@ type HostRule struct { NullFields []string `json:"-"` } -func (s *HostRule) MarshalJSON() ([]byte, error) { +func (s HostRule) MarshalJSON() ([]byte, error) { type NoMethod HostRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpFaultAbort: Specification for how requests are aborted as part of fault @@ -13755,9 +13760,9 @@ type HttpFaultAbort struct { NullFields []string `json:"-"` } -func (s *HttpFaultAbort) MarshalJSON() ([]byte, error) { +func (s HttpFaultAbort) MarshalJSON() ([]byte, error) { type NoMethod HttpFaultAbort - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *HttpFaultAbort) UnmarshalJSON(data []byte) error { @@ -13796,9 +13801,9 @@ type HttpFaultDelay struct { NullFields []string `json:"-"` } -func (s *HttpFaultDelay) MarshalJSON() ([]byte, error) { +func (s HttpFaultDelay) MarshalJSON() ([]byte, error) { type NoMethod HttpFaultDelay - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *HttpFaultDelay) UnmarshalJSON(data []byte) error { @@ -13841,9 +13846,9 @@ type HttpFaultInjection struct { NullFields []string `json:"-"` } -func (s *HttpFaultInjection) MarshalJSON() ([]byte, error) { +func (s HttpFaultInjection) MarshalJSON() ([]byte, error) { type NoMethod HttpFaultInjection - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpHeaderAction: The request and response header transformations that take @@ -13875,9 +13880,9 @@ type HttpHeaderAction struct { NullFields []string `json:"-"` } -func (s *HttpHeaderAction) MarshalJSON() ([]byte, error) { +func (s HttpHeaderAction) MarshalJSON() ([]byte, error) { type NoMethod HttpHeaderAction - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpHeaderMatch: matchRule criteria for request header matches. @@ -13946,9 +13951,9 @@ type HttpHeaderMatch struct { NullFields []string `json:"-"` } -func (s *HttpHeaderMatch) MarshalJSON() ([]byte, error) { +func (s HttpHeaderMatch) MarshalJSON() ([]byte, error) { type NoMethod HttpHeaderMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpHeaderOption: Specification determining how headers are added to @@ -13975,9 +13980,9 @@ type HttpHeaderOption struct { NullFields []string `json:"-"` } -func (s *HttpHeaderOption) MarshalJSON() ([]byte, error) { +func (s HttpHeaderOption) MarshalJSON() ([]byte, error) { type NoMethod HttpHeaderOption - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpHealthCheck: Represents a legacy HTTP Health Check resource. Legacy HTTP @@ -14048,9 +14053,9 @@ type HttpHealthCheck struct { NullFields []string `json:"-"` } -func (s *HttpHealthCheck) MarshalJSON() ([]byte, error) { +func (s HttpHealthCheck) MarshalJSON() ([]byte, error) { type NoMethod HttpHealthCheck - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpHealthCheckList: Contains a list of HttpHealthCheck resources. @@ -14087,9 +14092,9 @@ type HttpHealthCheckList struct { NullFields []string `json:"-"` } -func (s *HttpHealthCheckList) MarshalJSON() ([]byte, error) { +func (s HttpHealthCheckList) MarshalJSON() ([]byte, error) { type NoMethod HttpHealthCheckList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpHealthCheckListWarning: [Output Only] Informational warning message. @@ -14172,9 +14177,9 @@ type HttpHealthCheckListWarning struct { NullFields []string `json:"-"` } -func (s *HttpHealthCheckListWarning) MarshalJSON() ([]byte, error) { +func (s HttpHealthCheckListWarning) MarshalJSON() ([]byte, error) { type NoMethod HttpHealthCheckListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HttpHealthCheckListWarningData struct { @@ -14201,9 +14206,9 @@ type HttpHealthCheckListWarningData struct { NullFields []string `json:"-"` } -func (s *HttpHealthCheckListWarningData) MarshalJSON() ([]byte, error) { +func (s HttpHealthCheckListWarningData) MarshalJSON() ([]byte, error) { type NoMethod HttpHealthCheckListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpQueryParameterMatch: HttpRouteRuleMatch criteria for a request's query @@ -14240,9 +14245,9 @@ type HttpQueryParameterMatch struct { NullFields []string `json:"-"` } -func (s *HttpQueryParameterMatch) MarshalJSON() ([]byte, error) { +func (s HttpQueryParameterMatch) MarshalJSON() ([]byte, error) { type NoMethod HttpQueryParameterMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRedirectAction: Specifies settings for an HTTP redirect. @@ -14303,9 +14308,9 @@ type HttpRedirectAction struct { NullFields []string `json:"-"` } -func (s *HttpRedirectAction) MarshalJSON() ([]byte, error) { +func (s HttpRedirectAction) MarshalJSON() ([]byte, error) { type NoMethod HttpRedirectAction - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRetryPolicy: The retry policy associates with HttpRouteRule @@ -14357,9 +14362,9 @@ type HttpRetryPolicy struct { NullFields []string `json:"-"` } -func (s *HttpRetryPolicy) MarshalJSON() ([]byte, error) { +func (s HttpRetryPolicy) MarshalJSON() ([]byte, error) { type NoMethod HttpRetryPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HttpRouteAction struct { @@ -14437,9 +14442,9 @@ type HttpRouteAction struct { NullFields []string `json:"-"` } -func (s *HttpRouteAction) MarshalJSON() ([]byte, error) { +func (s HttpRouteAction) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteAction - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteRule: The HttpRouteRule setting specifies how to match an HTTP @@ -14539,9 +14544,9 @@ type HttpRouteRule struct { NullFields []string `json:"-"` } -func (s *HttpRouteRule) MarshalJSON() ([]byte, error) { +func (s HttpRouteRule) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteRuleMatch: HttpRouteRuleMatch specifies a set of criteria for @@ -14615,9 +14620,9 @@ type HttpRouteRuleMatch struct { NullFields []string `json:"-"` } -func (s *HttpRouteRuleMatch) MarshalJSON() ([]byte, error) { +func (s HttpRouteRuleMatch) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteRuleMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpsHealthCheck: Represents a legacy HTTPS Health Check resource. Legacy @@ -14687,9 +14692,9 @@ type HttpsHealthCheck struct { NullFields []string `json:"-"` } -func (s *HttpsHealthCheck) MarshalJSON() ([]byte, error) { +func (s HttpsHealthCheck) MarshalJSON() ([]byte, error) { type NoMethod HttpsHealthCheck - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpsHealthCheckList: Contains a list of HttpsHealthCheck resources. @@ -14726,9 +14731,9 @@ type HttpsHealthCheckList struct { NullFields []string `json:"-"` } -func (s *HttpsHealthCheckList) MarshalJSON() ([]byte, error) { +func (s HttpsHealthCheckList) MarshalJSON() ([]byte, error) { type NoMethod HttpsHealthCheckList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpsHealthCheckListWarning: [Output Only] Informational warning message. @@ -14811,9 +14816,9 @@ type HttpsHealthCheckListWarning struct { NullFields []string `json:"-"` } -func (s *HttpsHealthCheckListWarning) MarshalJSON() ([]byte, error) { +func (s HttpsHealthCheckListWarning) MarshalJSON() ([]byte, error) { type NoMethod HttpsHealthCheckListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type HttpsHealthCheckListWarningData struct { @@ -14840,9 +14845,9 @@ type HttpsHealthCheckListWarningData struct { NullFields []string `json:"-"` } -func (s *HttpsHealthCheckListWarningData) MarshalJSON() ([]byte, error) { +func (s HttpsHealthCheckListWarningData) MarshalJSON() ([]byte, error) { type NoMethod HttpsHealthCheckListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Image: Represents an Image resource. You can use images to create boot disks @@ -15017,9 +15022,9 @@ type Image struct { NullFields []string `json:"-"` } -func (s *Image) MarshalJSON() ([]byte, error) { +func (s Image) MarshalJSON() ([]byte, error) { type NoMethod Image - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ImageRawDisk: The parameters of the raw disk image. @@ -15056,9 +15061,9 @@ type ImageRawDisk struct { NullFields []string `json:"-"` } -func (s *ImageRawDisk) MarshalJSON() ([]byte, error) { +func (s ImageRawDisk) MarshalJSON() ([]byte, error) { type NoMethod ImageRawDisk - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ImageFamilyView struct { @@ -15081,9 +15086,9 @@ type ImageFamilyView struct { NullFields []string `json:"-"` } -func (s *ImageFamilyView) MarshalJSON() ([]byte, error) { +func (s ImageFamilyView) MarshalJSON() ([]byte, error) { type NoMethod ImageFamilyView - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ImageList: Contains a list of images. @@ -15120,9 +15125,9 @@ type ImageList struct { NullFields []string `json:"-"` } -func (s *ImageList) MarshalJSON() ([]byte, error) { +func (s ImageList) MarshalJSON() ([]byte, error) { type NoMethod ImageList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ImageListWarning: [Output Only] Informational warning message. @@ -15205,9 +15210,9 @@ type ImageListWarning struct { NullFields []string `json:"-"` } -func (s *ImageListWarning) MarshalJSON() ([]byte, error) { +func (s ImageListWarning) MarshalJSON() ([]byte, error) { type NoMethod ImageListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ImageListWarningData struct { @@ -15234,9 +15239,9 @@ type ImageListWarningData struct { NullFields []string `json:"-"` } -func (s *ImageListWarningData) MarshalJSON() ([]byte, error) { +func (s ImageListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ImageListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InitialStateConfig: Initial State for shielded instance, these are public @@ -15263,9 +15268,9 @@ type InitialStateConfig struct { NullFields []string `json:"-"` } -func (s *InitialStateConfig) MarshalJSON() ([]byte, error) { +func (s InitialStateConfig) MarshalJSON() ([]byte, error) { type NoMethod InitialStateConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Instance: Represents an Instance resource. An instance is a virtual machine @@ -15489,9 +15494,9 @@ type Instance struct { NullFields []string `json:"-"` } -func (s *Instance) MarshalJSON() ([]byte, error) { +func (s Instance) MarshalJSON() ([]byte, error) { type NoMethod Instance - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceAggregatedList struct { @@ -15530,9 +15535,9 @@ type InstanceAggregatedList struct { NullFields []string `json:"-"` } -func (s *InstanceAggregatedList) MarshalJSON() ([]byte, error) { +func (s InstanceAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod InstanceAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceAggregatedListWarning: [Output Only] Informational warning message. @@ -15615,9 +15620,9 @@ type InstanceAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *InstanceAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s InstanceAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceAggregatedListWarningData struct { @@ -15644,9 +15649,9 @@ type InstanceAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceConsumptionData struct { @@ -15667,9 +15672,9 @@ type InstanceConsumptionData struct { NullFields []string `json:"-"` } -func (s *InstanceConsumptionData) MarshalJSON() ([]byte, error) { +func (s InstanceConsumptionData) MarshalJSON() ([]byte, error) { type NoMethod InstanceConsumptionData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceConsumptionInfo struct { @@ -15697,9 +15702,9 @@ type InstanceConsumptionInfo struct { NullFields []string `json:"-"` } -func (s *InstanceConsumptionInfo) MarshalJSON() ([]byte, error) { +func (s InstanceConsumptionInfo) MarshalJSON() ([]byte, error) { type NoMethod InstanceConsumptionInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroup: Represents an Instance Group resource. Instance Groups can be @@ -15774,9 +15779,9 @@ type InstanceGroup struct { NullFields []string `json:"-"` } -func (s *InstanceGroup) MarshalJSON() ([]byte, error) { +func (s InstanceGroup) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroup - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupAggregatedList struct { @@ -15815,9 +15820,9 @@ type InstanceGroupAggregatedList struct { NullFields []string `json:"-"` } -func (s *InstanceGroupAggregatedList) MarshalJSON() ([]byte, error) { +func (s InstanceGroupAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupAggregatedListWarning: [Output Only] Informational warning @@ -15901,9 +15906,9 @@ type InstanceGroupAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *InstanceGroupAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s InstanceGroupAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupAggregatedListWarningData struct { @@ -15930,9 +15935,9 @@ type InstanceGroupAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceGroupAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceGroupAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupList: A list of InstanceGroup resources. @@ -15970,9 +15975,9 @@ type InstanceGroupList struct { NullFields []string `json:"-"` } -func (s *InstanceGroupList) MarshalJSON() ([]byte, error) { +func (s InstanceGroupList) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupListWarning: [Output Only] Informational warning message. @@ -16055,9 +16060,9 @@ type InstanceGroupListWarning struct { NullFields []string `json:"-"` } -func (s *InstanceGroupListWarning) MarshalJSON() ([]byte, error) { +func (s InstanceGroupListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupListWarningData struct { @@ -16084,9 +16089,9 @@ type InstanceGroupListWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceGroupListWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceGroupListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManager: Represents a Managed Instance Group resource. An @@ -16101,10 +16106,16 @@ type InstanceGroupManager struct { // AutoHealingPolicies: The autohealing policy for this managed instance group. // You can specify only one value. AutoHealingPolicies []*InstanceGroupManagerAutoHealingPolicy `json:"autoHealingPolicies,omitempty"` - // BaseInstanceName: The base instance name to use for instances in this group. - // The value must be 1-58 characters long. Instances are named by appending a - // hyphen and a random four-character string to the base instance name. The - // base instance name must comply with RFC1035. + // BaseInstanceName: The base instance name is a prefix that you want to attach + // to the names of all VMs in a MIG. The maximum character length is 58 and the + // name must comply with RFC1035 format. When a VM is created in the group, the + // MIG appends a hyphen and a random four-character string to the base instance + // name. If you want the MIG to assign sequential numbers instead of a random + // string, then end the base instance name with a hyphen followed by one or + // more hash symbols. The hash symbols indicate the number of digits. For + // example, a base instance name of "vm-###" results in "vm-001" as a VM name. + // @pattern a-z + // (([-a-z0-9]{0,57})|([-a-z0-9]{0,52}-#{1,10}(\\[[0-9]{1,10}\\])?)) BaseInstanceName string `json:"baseInstanceName,omitempty"` // CreationTimestamp: [Output Only] The creation timestamp for this managed // instance group in RFC3339 text format. @@ -16209,9 +16220,9 @@ type InstanceGroupManager struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManager) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManager) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManager - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerActionsSummary struct { @@ -16280,9 +16291,9 @@ type InstanceGroupManagerActionsSummary struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerActionsSummary) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerActionsSummary) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerActionsSummary - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerAggregatedList struct { @@ -16322,9 +16333,9 @@ type InstanceGroupManagerAggregatedList struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerAggregatedList) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagerAggregatedListWarning: [Output Only] Informational @@ -16408,9 +16419,9 @@ type InstanceGroupManagerAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerAggregatedListWarningData struct { @@ -16437,9 +16448,9 @@ type InstanceGroupManagerAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerAllInstancesConfig struct { @@ -16463,9 +16474,9 @@ type InstanceGroupManagerAllInstancesConfig struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerAllInstancesConfig) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerAllInstancesConfig) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerAllInstancesConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerAutoHealingPolicy struct { @@ -16493,9 +16504,9 @@ type InstanceGroupManagerAutoHealingPolicy struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerAutoHealingPolicy) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerAutoHealingPolicy) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerAutoHealingPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerInstanceLifecyclePolicy struct { @@ -16535,9 +16546,9 @@ type InstanceGroupManagerInstanceLifecyclePolicy struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerInstanceLifecyclePolicy) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerInstanceLifecyclePolicy) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerInstanceLifecyclePolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagerList: [Output Only] A list of managed instance groups. @@ -16575,9 +16586,9 @@ type InstanceGroupManagerList struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerList) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerList) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagerListWarning: [Output Only] Informational warning @@ -16661,9 +16672,9 @@ type InstanceGroupManagerListWarning struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerListWarning) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerListWarningData struct { @@ -16690,9 +16701,9 @@ type InstanceGroupManagerListWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerListWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagerResizeRequest: InstanceGroupManagerResizeRequest @@ -16762,9 +16773,9 @@ type InstanceGroupManagerResizeRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerResizeRequestStatus struct { @@ -16796,9 +16807,9 @@ type InstanceGroupManagerResizeRequestStatus struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequestStatus) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequestStatus) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequestStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagerResizeRequestStatusError: [Output only] Fatal errors @@ -16823,9 +16834,9 @@ type InstanceGroupManagerResizeRequestStatusError struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequestStatusError) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequestStatusError) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequestStatusError - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerResizeRequestStatusErrorErrors struct { @@ -16854,9 +16865,9 @@ type InstanceGroupManagerResizeRequestStatusErrorErrors struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequestStatusErrorErrors) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequestStatusErrorErrors) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequestStatusErrorErrors - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerResizeRequestStatusErrorErrorsErrorDetails struct { @@ -16877,9 +16888,9 @@ type InstanceGroupManagerResizeRequestStatusErrorErrorsErrorDetails struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequestStatusErrorErrorsErrorDetails) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequestStatusErrorErrorsErrorDetails) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequestStatusErrorErrorsErrorDetails - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerResizeRequestStatusLastAttempt struct { @@ -16898,9 +16909,9 @@ type InstanceGroupManagerResizeRequestStatusLastAttempt struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequestStatusLastAttempt) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequestStatusLastAttempt) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequestStatusLastAttempt - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagerResizeRequestStatusLastAttemptError: Errors that @@ -16922,9 +16933,9 @@ type InstanceGroupManagerResizeRequestStatusLastAttemptError struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequestStatusLastAttemptError) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequestStatusLastAttemptError) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequestStatusLastAttemptError - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrors struct { @@ -16953,9 +16964,9 @@ type InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrors struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrors) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrors) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrors - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrorsErrorDetails struct { @@ -16976,9 +16987,9 @@ type InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrorsErrorDetails s NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrorsErrorDetails) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrorsErrorDetails) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequestStatusLastAttemptErrorErrorsErrorDetails - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagerResizeRequestsListResponse: [Output Only] A list of @@ -17017,9 +17028,9 @@ type InstanceGroupManagerResizeRequestsListResponse struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequestsListResponse) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequestsListResponse) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequestsListResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagerResizeRequestsListResponseWarning: [Output Only] @@ -17103,9 +17114,9 @@ type InstanceGroupManagerResizeRequestsListResponseWarning struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequestsListResponseWarning) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequestsListResponseWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequestsListResponseWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerResizeRequestsListResponseWarningData struct { @@ -17132,9 +17143,9 @@ type InstanceGroupManagerResizeRequestsListResponseWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerResizeRequestsListResponseWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerResizeRequestsListResponseWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerResizeRequestsListResponseWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerStatus struct { @@ -17170,9 +17181,9 @@ type InstanceGroupManagerStatus struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerStatus) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerStatus) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerStatusAllInstancesConfig struct { @@ -17195,9 +17206,9 @@ type InstanceGroupManagerStatusAllInstancesConfig struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerStatusAllInstancesConfig) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerStatusAllInstancesConfig) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerStatusAllInstancesConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerStatusStateful struct { @@ -17224,9 +17235,9 @@ type InstanceGroupManagerStatusStateful struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerStatusStateful) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerStatusStateful) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerStatusStateful - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerStatusStatefulPerInstanceConfigs struct { @@ -17247,9 +17258,9 @@ type InstanceGroupManagerStatusStatefulPerInstanceConfigs struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerStatusStatefulPerInstanceConfigs) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerStatusStatefulPerInstanceConfigs) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerStatusStatefulPerInstanceConfigs - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerStatusVersionTarget struct { @@ -17271,9 +17282,9 @@ type InstanceGroupManagerStatusVersionTarget struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerStatusVersionTarget) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerStatusVersionTarget) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerStatusVersionTarget - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerUpdatePolicy struct { @@ -17375,9 +17386,9 @@ type InstanceGroupManagerUpdatePolicy struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerUpdatePolicy) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerUpdatePolicy) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerUpdatePolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagerVersion struct { @@ -17415,9 +17426,9 @@ type InstanceGroupManagerVersion struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagerVersion) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagerVersion) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagerVersion - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersAbandonInstancesRequest struct { @@ -17437,9 +17448,9 @@ type InstanceGroupManagersAbandonInstancesRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersAbandonInstancesRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersAbandonInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersAbandonInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagersApplyUpdatesRequest: @@ -17496,9 +17507,9 @@ type InstanceGroupManagersApplyUpdatesRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersApplyUpdatesRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersApplyUpdatesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersApplyUpdatesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagersCreateInstancesRequest: @@ -17519,9 +17530,9 @@ type InstanceGroupManagersCreateInstancesRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersCreateInstancesRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersCreateInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersCreateInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersDeleteInstancesRequest struct { @@ -17551,9 +17562,9 @@ type InstanceGroupManagersDeleteInstancesRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersDeleteInstancesRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersDeleteInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersDeleteInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagersDeletePerInstanceConfigsReq: @@ -17575,9 +17586,9 @@ type InstanceGroupManagersDeletePerInstanceConfigsReq struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersDeletePerInstanceConfigsReq) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersDeletePerInstanceConfigsReq) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersDeletePerInstanceConfigsReq - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersListErrorsResponse struct { @@ -17605,9 +17616,9 @@ type InstanceGroupManagersListErrorsResponse struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersListErrorsResponse) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersListErrorsResponse) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersListErrorsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersListManagedInstancesResponse struct { @@ -17636,9 +17647,9 @@ type InstanceGroupManagersListManagedInstancesResponse struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersListManagedInstancesResponse) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersListManagedInstancesResponse) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersListManagedInstancesResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersListPerInstanceConfigsResp struct { @@ -17668,9 +17679,9 @@ type InstanceGroupManagersListPerInstanceConfigsResp struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersListPerInstanceConfigsResp) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersListPerInstanceConfigsResp) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersListPerInstanceConfigsResp - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagersListPerInstanceConfigsRespWarning: [Output Only] @@ -17754,9 +17765,9 @@ type InstanceGroupManagersListPerInstanceConfigsRespWarning struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersListPerInstanceConfigsRespWarning) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersListPerInstanceConfigsRespWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersListPerInstanceConfigsRespWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersListPerInstanceConfigsRespWarningData struct { @@ -17783,9 +17794,9 @@ type InstanceGroupManagersListPerInstanceConfigsRespWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersListPerInstanceConfigsRespWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersListPerInstanceConfigsRespWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersListPerInstanceConfigsRespWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagersPatchPerInstanceConfigsReq: @@ -17807,9 +17818,9 @@ type InstanceGroupManagersPatchPerInstanceConfigsReq struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersPatchPerInstanceConfigsReq) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersPatchPerInstanceConfigsReq) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersPatchPerInstanceConfigsReq - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersRecreateInstancesRequest struct { @@ -17829,9 +17840,9 @@ type InstanceGroupManagersRecreateInstancesRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersRecreateInstancesRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersRecreateInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersRecreateInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersScopedList struct { @@ -17854,9 +17865,9 @@ type InstanceGroupManagersScopedList struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersScopedList) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersScopedList) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagersScopedListWarning: [Output Only] The warning that @@ -17940,9 +17951,9 @@ type InstanceGroupManagersScopedListWarning struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersScopedListWarning) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersScopedListWarningData struct { @@ -17969,9 +17980,9 @@ type InstanceGroupManagersScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersSetInstanceTemplateRequest struct { @@ -17994,9 +18005,9 @@ type InstanceGroupManagersSetInstanceTemplateRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersSetInstanceTemplateRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersSetInstanceTemplateRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersSetInstanceTemplateRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupManagersSetTargetPoolsRequest struct { @@ -18025,9 +18036,9 @@ type InstanceGroupManagersSetTargetPoolsRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersSetTargetPoolsRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersSetTargetPoolsRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersSetTargetPoolsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupManagersUpdatePerInstanceConfigsReq: @@ -18049,9 +18060,9 @@ type InstanceGroupManagersUpdatePerInstanceConfigsReq struct { NullFields []string `json:"-"` } -func (s *InstanceGroupManagersUpdatePerInstanceConfigsReq) MarshalJSON() ([]byte, error) { +func (s InstanceGroupManagersUpdatePerInstanceConfigsReq) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupManagersUpdatePerInstanceConfigsReq - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupsAddInstancesRequest struct { @@ -18070,9 +18081,9 @@ type InstanceGroupsAddInstancesRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupsAddInstancesRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupsAddInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupsAddInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupsListInstances struct { @@ -18110,9 +18121,9 @@ type InstanceGroupsListInstances struct { NullFields []string `json:"-"` } -func (s *InstanceGroupsListInstances) MarshalJSON() ([]byte, error) { +func (s InstanceGroupsListInstances) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupsListInstances - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupsListInstancesWarning: [Output Only] Informational warning @@ -18196,9 +18207,9 @@ type InstanceGroupsListInstancesWarning struct { NullFields []string `json:"-"` } -func (s *InstanceGroupsListInstancesWarning) MarshalJSON() ([]byte, error) { +func (s InstanceGroupsListInstancesWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupsListInstancesWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupsListInstancesWarningData struct { @@ -18225,9 +18236,9 @@ type InstanceGroupsListInstancesWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceGroupsListInstancesWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceGroupsListInstancesWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupsListInstancesWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupsListInstancesRequest struct { @@ -18254,9 +18265,9 @@ type InstanceGroupsListInstancesRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupsListInstancesRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupsListInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupsListInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupsRemoveInstancesRequest struct { @@ -18275,9 +18286,9 @@ type InstanceGroupsRemoveInstancesRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupsRemoveInstancesRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupsRemoveInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupsRemoveInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupsScopedList struct { @@ -18300,9 +18311,9 @@ type InstanceGroupsScopedList struct { NullFields []string `json:"-"` } -func (s *InstanceGroupsScopedList) MarshalJSON() ([]byte, error) { +func (s InstanceGroupsScopedList) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceGroupsScopedListWarning: [Output Only] An informational warning that @@ -18386,9 +18397,9 @@ type InstanceGroupsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *InstanceGroupsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s InstanceGroupsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupsScopedListWarningData struct { @@ -18415,9 +18426,9 @@ type InstanceGroupsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceGroupsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceGroupsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceGroupsSetNamedPortsRequest struct { @@ -18444,9 +18455,9 @@ type InstanceGroupsSetNamedPortsRequest struct { NullFields []string `json:"-"` } -func (s *InstanceGroupsSetNamedPortsRequest) MarshalJSON() ([]byte, error) { +func (s InstanceGroupsSetNamedPortsRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceGroupsSetNamedPortsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceList: Contains a list of instances. @@ -18484,9 +18495,9 @@ type InstanceList struct { NullFields []string `json:"-"` } -func (s *InstanceList) MarshalJSON() ([]byte, error) { +func (s InstanceList) MarshalJSON() ([]byte, error) { type NoMethod InstanceList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceListWarning: [Output Only] Informational warning message. @@ -18569,9 +18580,9 @@ type InstanceListWarning struct { NullFields []string `json:"-"` } -func (s *InstanceListWarning) MarshalJSON() ([]byte, error) { +func (s InstanceListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceListWarningData struct { @@ -18598,9 +18609,9 @@ type InstanceListWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceListWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceListReferrers: Contains a list of instance referrers. @@ -18638,9 +18649,9 @@ type InstanceListReferrers struct { NullFields []string `json:"-"` } -func (s *InstanceListReferrers) MarshalJSON() ([]byte, error) { +func (s InstanceListReferrers) MarshalJSON() ([]byte, error) { type NoMethod InstanceListReferrers - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceListReferrersWarning: [Output Only] Informational warning message. @@ -18723,9 +18734,9 @@ type InstanceListReferrersWarning struct { NullFields []string `json:"-"` } -func (s *InstanceListReferrersWarning) MarshalJSON() ([]byte, error) { +func (s InstanceListReferrersWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceListReferrersWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceListReferrersWarningData struct { @@ -18752,9 +18763,9 @@ type InstanceListReferrersWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceListReferrersWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceListReferrersWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceListReferrersWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceManagedByIgmError struct { @@ -18780,9 +18791,9 @@ type InstanceManagedByIgmError struct { NullFields []string `json:"-"` } -func (s *InstanceManagedByIgmError) MarshalJSON() ([]byte, error) { +func (s InstanceManagedByIgmError) MarshalJSON() ([]byte, error) { type NoMethod InstanceManagedByIgmError - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceManagedByIgmErrorInstanceActionDetails struct { @@ -18841,9 +18852,9 @@ type InstanceManagedByIgmErrorInstanceActionDetails struct { NullFields []string `json:"-"` } -func (s *InstanceManagedByIgmErrorInstanceActionDetails) MarshalJSON() ([]byte, error) { +func (s InstanceManagedByIgmErrorInstanceActionDetails) MarshalJSON() ([]byte, error) { type NoMethod InstanceManagedByIgmErrorInstanceActionDetails - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceManagedByIgmErrorManagedInstanceError struct { @@ -18864,9 +18875,9 @@ type InstanceManagedByIgmErrorManagedInstanceError struct { NullFields []string `json:"-"` } -func (s *InstanceManagedByIgmErrorManagedInstanceError) MarshalJSON() ([]byte, error) { +func (s InstanceManagedByIgmErrorManagedInstanceError) MarshalJSON() ([]byte, error) { type NoMethod InstanceManagedByIgmErrorManagedInstanceError - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceMoveRequest struct { @@ -18896,9 +18907,9 @@ type InstanceMoveRequest struct { NullFields []string `json:"-"` } -func (s *InstanceMoveRequest) MarshalJSON() ([]byte, error) { +func (s InstanceMoveRequest) MarshalJSON() ([]byte, error) { type NoMethod InstanceMoveRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceParams: Additional instance params. @@ -18921,9 +18932,9 @@ type InstanceParams struct { NullFields []string `json:"-"` } -func (s *InstanceParams) MarshalJSON() ([]byte, error) { +func (s InstanceParams) MarshalJSON() ([]byte, error) { type NoMethod InstanceParams - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceProperties struct { @@ -19041,9 +19052,9 @@ type InstanceProperties struct { NullFields []string `json:"-"` } -func (s *InstanceProperties) MarshalJSON() ([]byte, error) { +func (s InstanceProperties) MarshalJSON() ([]byte, error) { type NoMethod InstanceProperties - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstancePropertiesPatch: Represents the change that you want to make to the @@ -19067,9 +19078,9 @@ type InstancePropertiesPatch struct { NullFields []string `json:"-"` } -func (s *InstancePropertiesPatch) MarshalJSON() ([]byte, error) { +func (s InstancePropertiesPatch) MarshalJSON() ([]byte, error) { type NoMethod InstancePropertiesPatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceReference struct { @@ -19089,9 +19100,9 @@ type InstanceReference struct { NullFields []string `json:"-"` } -func (s *InstanceReference) MarshalJSON() ([]byte, error) { +func (s InstanceReference) MarshalJSON() ([]byte, error) { type NoMethod InstanceReference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceSettings: Represents a Instance Settings resource. You can use @@ -19134,9 +19145,9 @@ type InstanceSettings struct { NullFields []string `json:"-"` } -func (s *InstanceSettings) MarshalJSON() ([]byte, error) { +func (s InstanceSettings) MarshalJSON() ([]byte, error) { type NoMethod InstanceSettings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceSettingsMetadata struct { @@ -19159,9 +19170,9 @@ type InstanceSettingsMetadata struct { NullFields []string `json:"-"` } -func (s *InstanceSettingsMetadata) MarshalJSON() ([]byte, error) { +func (s InstanceSettingsMetadata) MarshalJSON() ([]byte, error) { type NoMethod InstanceSettingsMetadata - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceTemplate: Represents an Instance Template resource. Google Compute @@ -19228,9 +19239,9 @@ type InstanceTemplate struct { NullFields []string `json:"-"` } -func (s *InstanceTemplate) MarshalJSON() ([]byte, error) { +func (s InstanceTemplate) MarshalJSON() ([]byte, error) { type NoMethod InstanceTemplate - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceTemplateAggregatedList: Contains a list of @@ -19268,9 +19279,9 @@ type InstanceTemplateAggregatedList struct { NullFields []string `json:"-"` } -func (s *InstanceTemplateAggregatedList) MarshalJSON() ([]byte, error) { +func (s InstanceTemplateAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod InstanceTemplateAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceTemplateAggregatedListWarning: [Output Only] Informational warning @@ -19354,9 +19365,9 @@ type InstanceTemplateAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *InstanceTemplateAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s InstanceTemplateAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceTemplateAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceTemplateAggregatedListWarningData struct { @@ -19383,9 +19394,9 @@ type InstanceTemplateAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceTemplateAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceTemplateAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceTemplateAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceTemplateList: A list of instance templates. @@ -19423,9 +19434,9 @@ type InstanceTemplateList struct { NullFields []string `json:"-"` } -func (s *InstanceTemplateList) MarshalJSON() ([]byte, error) { +func (s InstanceTemplateList) MarshalJSON() ([]byte, error) { type NoMethod InstanceTemplateList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceTemplateListWarning: [Output Only] Informational warning message. @@ -19508,9 +19519,9 @@ type InstanceTemplateListWarning struct { NullFields []string `json:"-"` } -func (s *InstanceTemplateListWarning) MarshalJSON() ([]byte, error) { +func (s InstanceTemplateListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceTemplateListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceTemplateListWarningData struct { @@ -19537,9 +19548,9 @@ type InstanceTemplateListWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceTemplateListWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceTemplateListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceTemplateListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceTemplatesScopedList struct { @@ -19562,9 +19573,9 @@ type InstanceTemplatesScopedList struct { NullFields []string `json:"-"` } -func (s *InstanceTemplatesScopedList) MarshalJSON() ([]byte, error) { +func (s InstanceTemplatesScopedList) MarshalJSON() ([]byte, error) { type NoMethod InstanceTemplatesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstanceTemplatesScopedListWarning: [Output Only] An informational warning @@ -19648,9 +19659,9 @@ type InstanceTemplatesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *InstanceTemplatesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s InstanceTemplatesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstanceTemplatesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceTemplatesScopedListWarningData struct { @@ -19677,9 +19688,9 @@ type InstanceTemplatesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *InstanceTemplatesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s InstanceTemplatesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstanceTemplatesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstanceWithNamedPorts struct { @@ -19720,9 +19731,9 @@ type InstanceWithNamedPorts struct { NullFields []string `json:"-"` } -func (s *InstanceWithNamedPorts) MarshalJSON() ([]byte, error) { +func (s InstanceWithNamedPorts) MarshalJSON() ([]byte, error) { type NoMethod InstanceWithNamedPorts - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesAddResourcePoliciesRequest struct { @@ -19741,9 +19752,9 @@ type InstancesAddResourcePoliciesRequest struct { NullFields []string `json:"-"` } -func (s *InstancesAddResourcePoliciesRequest) MarshalJSON() ([]byte, error) { +func (s InstancesAddResourcePoliciesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstancesAddResourcePoliciesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesBulkInsertOperationMetadata struct { @@ -19763,9 +19774,9 @@ type InstancesBulkInsertOperationMetadata struct { NullFields []string `json:"-"` } -func (s *InstancesBulkInsertOperationMetadata) MarshalJSON() ([]byte, error) { +func (s InstancesBulkInsertOperationMetadata) MarshalJSON() ([]byte, error) { type NoMethod InstancesBulkInsertOperationMetadata - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesGetEffectiveFirewallsResponse struct { @@ -19789,9 +19800,9 @@ type InstancesGetEffectiveFirewallsResponse struct { NullFields []string `json:"-"` } -func (s *InstancesGetEffectiveFirewallsResponse) MarshalJSON() ([]byte, error) { +func (s InstancesGetEffectiveFirewallsResponse) MarshalJSON() ([]byte, error) { type NoMethod InstancesGetEffectiveFirewallsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy struct { @@ -19826,9 +19837,9 @@ type InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy struct { NullFields []string `json:"-"` } -func (s *InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy) MarshalJSON() ([]byte, error) { +func (s InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy) MarshalJSON() ([]byte, error) { type NoMethod InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesRemoveResourcePoliciesRequest struct { @@ -19847,9 +19858,9 @@ type InstancesRemoveResourcePoliciesRequest struct { NullFields []string `json:"-"` } -func (s *InstancesRemoveResourcePoliciesRequest) MarshalJSON() ([]byte, error) { +func (s InstancesRemoveResourcePoliciesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstancesRemoveResourcePoliciesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesScopedList struct { @@ -19871,9 +19882,9 @@ type InstancesScopedList struct { NullFields []string `json:"-"` } -func (s *InstancesScopedList) MarshalJSON() ([]byte, error) { +func (s InstancesScopedList) MarshalJSON() ([]byte, error) { type NoMethod InstancesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstancesScopedListWarning: [Output Only] Informational warning which @@ -19957,9 +19968,9 @@ type InstancesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *InstancesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s InstancesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstancesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesScopedListWarningData struct { @@ -19986,9 +19997,9 @@ type InstancesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *InstancesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s InstancesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstancesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesSetLabelsRequest struct { @@ -20010,9 +20021,9 @@ type InstancesSetLabelsRequest struct { NullFields []string `json:"-"` } -func (s *InstancesSetLabelsRequest) MarshalJSON() ([]byte, error) { +func (s InstancesSetLabelsRequest) MarshalJSON() ([]byte, error) { type NoMethod InstancesSetLabelsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesSetMachineResourcesRequest struct { @@ -20032,9 +20043,9 @@ type InstancesSetMachineResourcesRequest struct { NullFields []string `json:"-"` } -func (s *InstancesSetMachineResourcesRequest) MarshalJSON() ([]byte, error) { +func (s InstancesSetMachineResourcesRequest) MarshalJSON() ([]byte, error) { type NoMethod InstancesSetMachineResourcesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesSetMachineTypeRequest struct { @@ -20055,9 +20066,9 @@ type InstancesSetMachineTypeRequest struct { NullFields []string `json:"-"` } -func (s *InstancesSetMachineTypeRequest) MarshalJSON() ([]byte, error) { +func (s InstancesSetMachineTypeRequest) MarshalJSON() ([]byte, error) { type NoMethod InstancesSetMachineTypeRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesSetMinCpuPlatformRequest struct { @@ -20076,9 +20087,9 @@ type InstancesSetMinCpuPlatformRequest struct { NullFields []string `json:"-"` } -func (s *InstancesSetMinCpuPlatformRequest) MarshalJSON() ([]byte, error) { +func (s InstancesSetMinCpuPlatformRequest) MarshalJSON() ([]byte, error) { type NoMethod InstancesSetMinCpuPlatformRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesSetNameRequest struct { @@ -20101,9 +20112,9 @@ type InstancesSetNameRequest struct { NullFields []string `json:"-"` } -func (s *InstancesSetNameRequest) MarshalJSON() ([]byte, error) { +func (s InstancesSetNameRequest) MarshalJSON() ([]byte, error) { type NoMethod InstancesSetNameRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesSetSecurityPolicyRequest struct { @@ -20128,9 +20139,9 @@ type InstancesSetSecurityPolicyRequest struct { NullFields []string `json:"-"` } -func (s *InstancesSetSecurityPolicyRequest) MarshalJSON() ([]byte, error) { +func (s InstancesSetSecurityPolicyRequest) MarshalJSON() ([]byte, error) { type NoMethod InstancesSetSecurityPolicyRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesSetServiceAccountRequest struct { @@ -20151,9 +20162,9 @@ type InstancesSetServiceAccountRequest struct { NullFields []string `json:"-"` } -func (s *InstancesSetServiceAccountRequest) MarshalJSON() ([]byte, error) { +func (s InstancesSetServiceAccountRequest) MarshalJSON() ([]byte, error) { type NoMethod InstancesSetServiceAccountRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstancesStartWithEncryptionKeyRequest struct { @@ -20175,9 +20186,9 @@ type InstancesStartWithEncryptionKeyRequest struct { NullFields []string `json:"-"` } -func (s *InstancesStartWithEncryptionKeyRequest) MarshalJSON() ([]byte, error) { +func (s InstancesStartWithEncryptionKeyRequest) MarshalJSON() ([]byte, error) { type NoMethod InstancesStartWithEncryptionKeyRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstantSnapshot: Represents a InstantSnapshot resource. You can use instant @@ -20287,9 +20298,9 @@ type InstantSnapshot struct { NullFields []string `json:"-"` } -func (s *InstantSnapshot) MarshalJSON() ([]byte, error) { +func (s InstantSnapshot) MarshalJSON() ([]byte, error) { type NoMethod InstantSnapshot - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstantSnapshotAggregatedList struct { @@ -20329,9 +20340,9 @@ type InstantSnapshotAggregatedList struct { NullFields []string `json:"-"` } -func (s *InstantSnapshotAggregatedList) MarshalJSON() ([]byte, error) { +func (s InstantSnapshotAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod InstantSnapshotAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstantSnapshotAggregatedListWarning: [Output Only] Informational warning @@ -20415,9 +20426,9 @@ type InstantSnapshotAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *InstantSnapshotAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s InstantSnapshotAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstantSnapshotAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstantSnapshotAggregatedListWarningData struct { @@ -20444,9 +20455,9 @@ type InstantSnapshotAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *InstantSnapshotAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s InstantSnapshotAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstantSnapshotAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstantSnapshotList: Contains a list of InstantSnapshot resources. @@ -20483,9 +20494,9 @@ type InstantSnapshotList struct { NullFields []string `json:"-"` } -func (s *InstantSnapshotList) MarshalJSON() ([]byte, error) { +func (s InstantSnapshotList) MarshalJSON() ([]byte, error) { type NoMethod InstantSnapshotList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstantSnapshotListWarning: [Output Only] Informational warning message. @@ -20568,9 +20579,9 @@ type InstantSnapshotListWarning struct { NullFields []string `json:"-"` } -func (s *InstantSnapshotListWarning) MarshalJSON() ([]byte, error) { +func (s InstantSnapshotListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstantSnapshotListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstantSnapshotListWarningData struct { @@ -20597,9 +20608,9 @@ type InstantSnapshotListWarningData struct { NullFields []string `json:"-"` } -func (s *InstantSnapshotListWarningData) MarshalJSON() ([]byte, error) { +func (s InstantSnapshotListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstantSnapshotListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstantSnapshotResourceStatus struct { @@ -20618,9 +20629,9 @@ type InstantSnapshotResourceStatus struct { NullFields []string `json:"-"` } -func (s *InstantSnapshotResourceStatus) MarshalJSON() ([]byte, error) { +func (s InstantSnapshotResourceStatus) MarshalJSON() ([]byte, error) { type NoMethod InstantSnapshotResourceStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstantSnapshotsScopedList struct { @@ -20643,9 +20654,9 @@ type InstantSnapshotsScopedList struct { NullFields []string `json:"-"` } -func (s *InstantSnapshotsScopedList) MarshalJSON() ([]byte, error) { +func (s InstantSnapshotsScopedList) MarshalJSON() ([]byte, error) { type NoMethod InstantSnapshotsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InstantSnapshotsScopedListWarning: [Output Only] Informational warning which @@ -20729,9 +20740,9 @@ type InstantSnapshotsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *InstantSnapshotsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s InstantSnapshotsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InstantSnapshotsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InstantSnapshotsScopedListWarningData struct { @@ -20758,9 +20769,9 @@ type InstantSnapshotsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *InstantSnapshotsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s InstantSnapshotsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InstantSnapshotsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Int64RangeMatch: HttpRouteRuleMatch criteria for field values that must stay @@ -20784,9 +20795,9 @@ type Int64RangeMatch struct { NullFields []string `json:"-"` } -func (s *Int64RangeMatch) MarshalJSON() ([]byte, error) { +func (s Int64RangeMatch) MarshalJSON() ([]byte, error) { type NoMethod Int64RangeMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Interconnect: Represents an Interconnect resource. An Interconnect resource @@ -20974,9 +20985,9 @@ type Interconnect struct { NullFields []string `json:"-"` } -func (s *Interconnect) MarshalJSON() ([]byte, error) { +func (s Interconnect) MarshalJSON() ([]byte, error) { type NoMethod Interconnect - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectAttachment: Represents an Interconnect Attachment (VLAN) @@ -21273,9 +21284,9 @@ type InterconnectAttachment struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachment) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachment) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachment - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectAttachmentAggregatedList struct { @@ -21315,9 +21326,9 @@ type InterconnectAttachmentAggregatedList struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentAggregatedList) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectAttachmentAggregatedListWarning: [Output Only] Informational @@ -21401,9 +21412,9 @@ type InterconnectAttachmentAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectAttachmentAggregatedListWarningData struct { @@ -21430,9 +21441,9 @@ type InterconnectAttachmentAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectAttachmentConfigurationConstraints struct { @@ -21472,9 +21483,9 @@ type InterconnectAttachmentConfigurationConstraints struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentConfigurationConstraints) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentConfigurationConstraints) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentConfigurationConstraints - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange struct { @@ -21493,9 +21504,9 @@ type InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectAttachmentList: Response to the list request, and contains a @@ -21534,9 +21545,9 @@ type InterconnectAttachmentList struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentList) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentList) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectAttachmentListWarning: [Output Only] Informational warning @@ -21620,9 +21631,9 @@ type InterconnectAttachmentListWarning struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentListWarning) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentListWarning) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectAttachmentListWarningData struct { @@ -21649,9 +21660,9 @@ type InterconnectAttachmentListWarningData struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentListWarningData) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectAttachmentPartnerMetadata: Informational metadata about Partner @@ -21683,9 +21694,9 @@ type InterconnectAttachmentPartnerMetadata struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentPartnerMetadata) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentPartnerMetadata) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentPartnerMetadata - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectAttachmentPrivateInfo: Information for an interconnect @@ -21707,9 +21718,9 @@ type InterconnectAttachmentPrivateInfo struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentPrivateInfo) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentPrivateInfo) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentPrivateInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectAttachmentsScopedList struct { @@ -21732,9 +21743,9 @@ type InterconnectAttachmentsScopedList struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentsScopedList) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentsScopedList) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectAttachmentsScopedListWarning: Informational warning which @@ -21818,9 +21829,9 @@ type InterconnectAttachmentsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectAttachmentsScopedListWarningData struct { @@ -21847,9 +21858,9 @@ type InterconnectAttachmentsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *InterconnectAttachmentsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s InterconnectAttachmentsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InterconnectAttachmentsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectCircuitInfo: Describes a single physical circuit between the @@ -21877,9 +21888,9 @@ type InterconnectCircuitInfo struct { NullFields []string `json:"-"` } -func (s *InterconnectCircuitInfo) MarshalJSON() ([]byte, error) { +func (s InterconnectCircuitInfo) MarshalJSON() ([]byte, error) { type NoMethod InterconnectCircuitInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectDiagnostics: Diagnostics information about the Interconnect @@ -21927,9 +21938,9 @@ type InterconnectDiagnostics struct { NullFields []string `json:"-"` } -func (s *InterconnectDiagnostics) MarshalJSON() ([]byte, error) { +func (s InterconnectDiagnostics) MarshalJSON() ([]byte, error) { type NoMethod InterconnectDiagnostics - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectDiagnosticsARPEntry: Describing the ARP neighbor entries seen on @@ -21952,9 +21963,9 @@ type InterconnectDiagnosticsARPEntry struct { NullFields []string `json:"-"` } -func (s *InterconnectDiagnosticsARPEntry) MarshalJSON() ([]byte, error) { +func (s InterconnectDiagnosticsARPEntry) MarshalJSON() ([]byte, error) { type NoMethod InterconnectDiagnosticsARPEntry - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectDiagnosticsLinkLACPStatus struct { @@ -21986,9 +21997,9 @@ type InterconnectDiagnosticsLinkLACPStatus struct { NullFields []string `json:"-"` } -func (s *InterconnectDiagnosticsLinkLACPStatus) MarshalJSON() ([]byte, error) { +func (s InterconnectDiagnosticsLinkLACPStatus) MarshalJSON() ([]byte, error) { type NoMethod InterconnectDiagnosticsLinkLACPStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectDiagnosticsLinkOpticalPower struct { @@ -22029,9 +22040,9 @@ type InterconnectDiagnosticsLinkOpticalPower struct { NullFields []string `json:"-"` } -func (s *InterconnectDiagnosticsLinkOpticalPower) MarshalJSON() ([]byte, error) { +func (s InterconnectDiagnosticsLinkOpticalPower) MarshalJSON() ([]byte, error) { type NoMethod InterconnectDiagnosticsLinkOpticalPower - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *InterconnectDiagnosticsLinkOpticalPower) UnmarshalJSON(data []byte) error { @@ -22088,9 +22099,9 @@ type InterconnectDiagnosticsLinkStatus struct { NullFields []string `json:"-"` } -func (s *InterconnectDiagnosticsLinkStatus) MarshalJSON() ([]byte, error) { +func (s InterconnectDiagnosticsLinkStatus) MarshalJSON() ([]byte, error) { type NoMethod InterconnectDiagnosticsLinkStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectDiagnosticsMacsecStatus: Describes the status of MACsec @@ -22114,9 +22125,9 @@ type InterconnectDiagnosticsMacsecStatus struct { NullFields []string `json:"-"` } -func (s *InterconnectDiagnosticsMacsecStatus) MarshalJSON() ([]byte, error) { +func (s InterconnectDiagnosticsMacsecStatus) MarshalJSON() ([]byte, error) { type NoMethod InterconnectDiagnosticsMacsecStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectList: Response to the list request, and contains a list of @@ -22155,9 +22166,9 @@ type InterconnectList struct { NullFields []string `json:"-"` } -func (s *InterconnectList) MarshalJSON() ([]byte, error) { +func (s InterconnectList) MarshalJSON() ([]byte, error) { type NoMethod InterconnectList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectListWarning: [Output Only] Informational warning message. @@ -22240,9 +22251,9 @@ type InterconnectListWarning struct { NullFields []string `json:"-"` } -func (s *InterconnectListWarning) MarshalJSON() ([]byte, error) { +func (s InterconnectListWarning) MarshalJSON() ([]byte, error) { type NoMethod InterconnectListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectListWarningData struct { @@ -22269,9 +22280,9 @@ type InterconnectListWarningData struct { NullFields []string `json:"-"` } -func (s *InterconnectListWarningData) MarshalJSON() ([]byte, error) { +func (s InterconnectListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InterconnectListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectLocation: Represents an Interconnect Attachment (VLAN) Location @@ -22378,9 +22389,9 @@ type InterconnectLocation struct { NullFields []string `json:"-"` } -func (s *InterconnectLocation) MarshalJSON() ([]byte, error) { +func (s InterconnectLocation) MarshalJSON() ([]byte, error) { type NoMethod InterconnectLocation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectLocationList: Response to the list request, and contains a list @@ -22419,9 +22430,9 @@ type InterconnectLocationList struct { NullFields []string `json:"-"` } -func (s *InterconnectLocationList) MarshalJSON() ([]byte, error) { +func (s InterconnectLocationList) MarshalJSON() ([]byte, error) { type NoMethod InterconnectLocationList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectLocationListWarning: [Output Only] Informational warning @@ -22505,9 +22516,9 @@ type InterconnectLocationListWarning struct { NullFields []string `json:"-"` } -func (s *InterconnectLocationListWarning) MarshalJSON() ([]byte, error) { +func (s InterconnectLocationListWarning) MarshalJSON() ([]byte, error) { type NoMethod InterconnectLocationListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectLocationListWarningData struct { @@ -22534,9 +22545,9 @@ type InterconnectLocationListWarningData struct { NullFields []string `json:"-"` } -func (s *InterconnectLocationListWarningData) MarshalJSON() ([]byte, error) { +func (s InterconnectLocationListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InterconnectLocationListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectLocationRegionInfo: Information about any potential @@ -22573,9 +22584,9 @@ type InterconnectLocationRegionInfo struct { NullFields []string `json:"-"` } -func (s *InterconnectLocationRegionInfo) MarshalJSON() ([]byte, error) { +func (s InterconnectLocationRegionInfo) MarshalJSON() ([]byte, error) { type NoMethod InterconnectLocationRegionInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectMacsec: Configuration information for enabling Media Access @@ -22608,9 +22619,9 @@ type InterconnectMacsec struct { NullFields []string `json:"-"` } -func (s *InterconnectMacsec) MarshalJSON() ([]byte, error) { +func (s InterconnectMacsec) MarshalJSON() ([]byte, error) { type NoMethod InterconnectMacsec - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectMacsecConfig: MACsec configuration information for the @@ -22635,9 +22646,9 @@ type InterconnectMacsecConfig struct { NullFields []string `json:"-"` } -func (s *InterconnectMacsecConfig) MarshalJSON() ([]byte, error) { +func (s InterconnectMacsecConfig) MarshalJSON() ([]byte, error) { type NoMethod InterconnectMacsecConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectMacsecConfigPreSharedKey: Describes a pre-shared key used to @@ -22664,9 +22675,9 @@ type InterconnectMacsecConfigPreSharedKey struct { NullFields []string `json:"-"` } -func (s *InterconnectMacsecConfigPreSharedKey) MarshalJSON() ([]byte, error) { +func (s InterconnectMacsecConfigPreSharedKey) MarshalJSON() ([]byte, error) { type NoMethod InterconnectMacsecConfigPreSharedKey - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectMacsecPreSharedKey: Describes a pre-shared key used to setup @@ -22698,9 +22709,9 @@ type InterconnectMacsecPreSharedKey struct { NullFields []string `json:"-"` } -func (s *InterconnectMacsecPreSharedKey) MarshalJSON() ([]byte, error) { +func (s InterconnectMacsecPreSharedKey) MarshalJSON() ([]byte, error) { type NoMethod InterconnectMacsecPreSharedKey - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectOutageNotification: Description of a planned outage on this @@ -22778,9 +22789,9 @@ type InterconnectOutageNotification struct { NullFields []string `json:"-"` } -func (s *InterconnectOutageNotification) MarshalJSON() ([]byte, error) { +func (s InterconnectOutageNotification) MarshalJSON() ([]byte, error) { type NoMethod InterconnectOutageNotification - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectRemoteLocation: Represents a Cross-Cloud Interconnect Remote @@ -22887,9 +22898,9 @@ type InterconnectRemoteLocation struct { NullFields []string `json:"-"` } -func (s *InterconnectRemoteLocation) MarshalJSON() ([]byte, error) { +func (s InterconnectRemoteLocation) MarshalJSON() ([]byte, error) { type NoMethod InterconnectRemoteLocation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectRemoteLocationConstraints struct { @@ -22948,9 +22959,9 @@ type InterconnectRemoteLocationConstraints struct { NullFields []string `json:"-"` } -func (s *InterconnectRemoteLocationConstraints) MarshalJSON() ([]byte, error) { +func (s InterconnectRemoteLocationConstraints) MarshalJSON() ([]byte, error) { type NoMethod InterconnectRemoteLocationConstraints - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectRemoteLocationConstraintsSubnetLengthRange struct { @@ -22969,9 +22980,9 @@ type InterconnectRemoteLocationConstraintsSubnetLengthRange struct { NullFields []string `json:"-"` } -func (s *InterconnectRemoteLocationConstraintsSubnetLengthRange) MarshalJSON() ([]byte, error) { +func (s InterconnectRemoteLocationConstraintsSubnetLengthRange) MarshalJSON() ([]byte, error) { type NoMethod InterconnectRemoteLocationConstraintsSubnetLengthRange - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectRemoteLocationList: Response to the list request, and contains a @@ -23011,9 +23022,9 @@ type InterconnectRemoteLocationList struct { NullFields []string `json:"-"` } -func (s *InterconnectRemoteLocationList) MarshalJSON() ([]byte, error) { +func (s InterconnectRemoteLocationList) MarshalJSON() ([]byte, error) { type NoMethod InterconnectRemoteLocationList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectRemoteLocationListWarning: [Output Only] Informational warning @@ -23097,9 +23108,9 @@ type InterconnectRemoteLocationListWarning struct { NullFields []string `json:"-"` } -func (s *InterconnectRemoteLocationListWarning) MarshalJSON() ([]byte, error) { +func (s InterconnectRemoteLocationListWarning) MarshalJSON() ([]byte, error) { type NoMethod InterconnectRemoteLocationListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectRemoteLocationListWarningData struct { @@ -23126,9 +23137,9 @@ type InterconnectRemoteLocationListWarningData struct { NullFields []string `json:"-"` } -func (s *InterconnectRemoteLocationListWarningData) MarshalJSON() ([]byte, error) { +func (s InterconnectRemoteLocationListWarningData) MarshalJSON() ([]byte, error) { type NoMethod InterconnectRemoteLocationListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type InterconnectRemoteLocationPermittedConnections struct { @@ -23148,9 +23159,9 @@ type InterconnectRemoteLocationPermittedConnections struct { NullFields []string `json:"-"` } -func (s *InterconnectRemoteLocationPermittedConnections) MarshalJSON() ([]byte, error) { +func (s InterconnectRemoteLocationPermittedConnections) MarshalJSON() ([]byte, error) { type NoMethod InterconnectRemoteLocationPermittedConnections - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectsGetDiagnosticsResponse: Response for the @@ -23173,9 +23184,9 @@ type InterconnectsGetDiagnosticsResponse struct { NullFields []string `json:"-"` } -func (s *InterconnectsGetDiagnosticsResponse) MarshalJSON() ([]byte, error) { +func (s InterconnectsGetDiagnosticsResponse) MarshalJSON() ([]byte, error) { type NoMethod InterconnectsGetDiagnosticsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // InterconnectsGetMacsecConfigResponse: Response for the @@ -23200,9 +23211,9 @@ type InterconnectsGetMacsecConfigResponse struct { NullFields []string `json:"-"` } -func (s *InterconnectsGetMacsecConfigResponse) MarshalJSON() ([]byte, error) { +func (s InterconnectsGetMacsecConfigResponse) MarshalJSON() ([]byte, error) { type NoMethod InterconnectsGetMacsecConfigResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // License: Represents a License resource. A License represents billing and @@ -23252,9 +23263,9 @@ type License struct { NullFields []string `json:"-"` } -func (s *License) MarshalJSON() ([]byte, error) { +func (s License) MarshalJSON() ([]byte, error) { type NoMethod License - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LicenseCode: Represents a License Code resource. A License Code is a unique @@ -23312,9 +23323,9 @@ type LicenseCode struct { NullFields []string `json:"-"` } -func (s *LicenseCode) MarshalJSON() ([]byte, error) { +func (s LicenseCode) MarshalJSON() ([]byte, error) { type NoMethod LicenseCode - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type LicenseCodeLicenseAlias struct { @@ -23335,9 +23346,9 @@ type LicenseCodeLicenseAlias struct { NullFields []string `json:"-"` } -func (s *LicenseCodeLicenseAlias) MarshalJSON() ([]byte, error) { +func (s LicenseCodeLicenseAlias) MarshalJSON() ([]byte, error) { type NoMethod LicenseCodeLicenseAlias - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LicenseResourceCommitment: Commitment for a particular license resource. @@ -23362,9 +23373,9 @@ type LicenseResourceCommitment struct { NullFields []string `json:"-"` } -func (s *LicenseResourceCommitment) MarshalJSON() ([]byte, error) { +func (s LicenseResourceCommitment) MarshalJSON() ([]byte, error) { type NoMethod LicenseResourceCommitment - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type LicenseResourceRequirements struct { @@ -23387,9 +23398,9 @@ type LicenseResourceRequirements struct { NullFields []string `json:"-"` } -func (s *LicenseResourceRequirements) MarshalJSON() ([]byte, error) { +func (s LicenseResourceRequirements) MarshalJSON() ([]byte, error) { type NoMethod LicenseResourceRequirements - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type LicensesListResponse struct { @@ -23423,9 +23434,9 @@ type LicensesListResponse struct { NullFields []string `json:"-"` } -func (s *LicensesListResponse) MarshalJSON() ([]byte, error) { +func (s LicensesListResponse) MarshalJSON() ([]byte, error) { type NoMethod LicensesListResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LicensesListResponseWarning: [Output Only] Informational warning message. @@ -23508,9 +23519,9 @@ type LicensesListResponseWarning struct { NullFields []string `json:"-"` } -func (s *LicensesListResponseWarning) MarshalJSON() ([]byte, error) { +func (s LicensesListResponseWarning) MarshalJSON() ([]byte, error) { type NoMethod LicensesListResponseWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type LicensesListResponseWarningData struct { @@ -23537,9 +23548,9 @@ type LicensesListResponseWarningData struct { NullFields []string `json:"-"` } -func (s *LicensesListResponseWarningData) MarshalJSON() ([]byte, error) { +func (s LicensesListResponseWarningData) MarshalJSON() ([]byte, error) { type NoMethod LicensesListResponseWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type LocalDisk struct { @@ -23564,9 +23575,9 @@ type LocalDisk struct { NullFields []string `json:"-"` } -func (s *LocalDisk) MarshalJSON() ([]byte, error) { +func (s LocalDisk) MarshalJSON() ([]byte, error) { type NoMethod LocalDisk - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LocalizedMessage: Provides a localized error message that is safe to return @@ -23591,9 +23602,9 @@ type LocalizedMessage struct { NullFields []string `json:"-"` } -func (s *LocalizedMessage) MarshalJSON() ([]byte, error) { +func (s LocalizedMessage) MarshalJSON() ([]byte, error) { type NoMethod LocalizedMessage - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LocationPolicy: Configuration for location policy among multiple possible @@ -23634,9 +23645,9 @@ type LocationPolicy struct { NullFields []string `json:"-"` } -func (s *LocationPolicy) MarshalJSON() ([]byte, error) { +func (s LocationPolicy) MarshalJSON() ([]byte, error) { type NoMethod LocationPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type LocationPolicyLocation struct { @@ -23663,9 +23674,9 @@ type LocationPolicyLocation struct { NullFields []string `json:"-"` } -func (s *LocationPolicyLocation) MarshalJSON() ([]byte, error) { +func (s LocationPolicyLocation) MarshalJSON() ([]byte, error) { type NoMethod LocationPolicyLocation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LocationPolicyLocationConstraints: Per-zone constraints on location policy @@ -23687,9 +23698,9 @@ type LocationPolicyLocationConstraints struct { NullFields []string `json:"-"` } -func (s *LocationPolicyLocationConstraints) MarshalJSON() ([]byte, error) { +func (s LocationPolicyLocationConstraints) MarshalJSON() ([]byte, error) { type NoMethod LocationPolicyLocationConstraints - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LogConfig: This is deprecated and has no effect. Do not use. @@ -23713,9 +23724,9 @@ type LogConfig struct { NullFields []string `json:"-"` } -func (s *LogConfig) MarshalJSON() ([]byte, error) { +func (s LogConfig) MarshalJSON() ([]byte, error) { type NoMethod LogConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LogConfigCloudAuditOptions: This is deprecated and has no effect. Do not @@ -23741,9 +23752,9 @@ type LogConfigCloudAuditOptions struct { NullFields []string `json:"-"` } -func (s *LogConfigCloudAuditOptions) MarshalJSON() ([]byte, error) { +func (s LogConfigCloudAuditOptions) MarshalJSON() ([]byte, error) { type NoMethod LogConfigCloudAuditOptions - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LogConfigCounterOptions: This is deprecated and has no effect. Do not use. @@ -23767,9 +23778,9 @@ type LogConfigCounterOptions struct { NullFields []string `json:"-"` } -func (s *LogConfigCounterOptions) MarshalJSON() ([]byte, error) { +func (s LogConfigCounterOptions) MarshalJSON() ([]byte, error) { type NoMethod LogConfigCounterOptions - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LogConfigCounterOptionsCustomField: This is deprecated and has no effect. Do @@ -23792,9 +23803,9 @@ type LogConfigCounterOptionsCustomField struct { NullFields []string `json:"-"` } -func (s *LogConfigCounterOptionsCustomField) MarshalJSON() ([]byte, error) { +func (s LogConfigCounterOptionsCustomField) MarshalJSON() ([]byte, error) { type NoMethod LogConfigCounterOptionsCustomField - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LogConfigDataAccessOptions: This is deprecated and has no effect. Do not @@ -23819,9 +23830,9 @@ type LogConfigDataAccessOptions struct { NullFields []string `json:"-"` } -func (s *LogConfigDataAccessOptions) MarshalJSON() ([]byte, error) { +func (s LogConfigDataAccessOptions) MarshalJSON() ([]byte, error) { type NoMethod LogConfigDataAccessOptions - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MachineImage: Represents a machine image resource. A machine image is a @@ -23921,9 +23932,9 @@ type MachineImage struct { NullFields []string `json:"-"` } -func (s *MachineImage) MarshalJSON() ([]byte, error) { +func (s MachineImage) MarshalJSON() ([]byte, error) { type NoMethod MachineImage - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MachineImageList: A list of machine images. @@ -23961,9 +23972,9 @@ type MachineImageList struct { NullFields []string `json:"-"` } -func (s *MachineImageList) MarshalJSON() ([]byte, error) { +func (s MachineImageList) MarshalJSON() ([]byte, error) { type NoMethod MachineImageList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MachineImageListWarning: [Output Only] Informational warning message. @@ -24046,9 +24057,9 @@ type MachineImageListWarning struct { NullFields []string `json:"-"` } -func (s *MachineImageListWarning) MarshalJSON() ([]byte, error) { +func (s MachineImageListWarning) MarshalJSON() ([]byte, error) { type NoMethod MachineImageListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type MachineImageListWarningData struct { @@ -24075,9 +24086,9 @@ type MachineImageListWarningData struct { NullFields []string `json:"-"` } -func (s *MachineImageListWarningData) MarshalJSON() ([]byte, error) { +func (s MachineImageListWarningData) MarshalJSON() ([]byte, error) { type NoMethod MachineImageListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MachineType: Represents a Machine Type resource. You can use specific @@ -24143,9 +24154,9 @@ type MachineType struct { NullFields []string `json:"-"` } -func (s *MachineType) MarshalJSON() ([]byte, error) { +func (s MachineType) MarshalJSON() ([]byte, error) { type NoMethod MachineType - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type MachineTypeAccelerators struct { @@ -24167,9 +24178,9 @@ type MachineTypeAccelerators struct { NullFields []string `json:"-"` } -func (s *MachineTypeAccelerators) MarshalJSON() ([]byte, error) { +func (s MachineTypeAccelerators) MarshalJSON() ([]byte, error) { type NoMethod MachineTypeAccelerators - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type MachineTypeScratchDisks struct { @@ -24188,9 +24199,9 @@ type MachineTypeScratchDisks struct { NullFields []string `json:"-"` } -func (s *MachineTypeScratchDisks) MarshalJSON() ([]byte, error) { +func (s MachineTypeScratchDisks) MarshalJSON() ([]byte, error) { type NoMethod MachineTypeScratchDisks - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type MachineTypeAggregatedList struct { @@ -24229,9 +24240,9 @@ type MachineTypeAggregatedList struct { NullFields []string `json:"-"` } -func (s *MachineTypeAggregatedList) MarshalJSON() ([]byte, error) { +func (s MachineTypeAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod MachineTypeAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MachineTypeAggregatedListWarning: [Output Only] Informational warning @@ -24315,9 +24326,9 @@ type MachineTypeAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *MachineTypeAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s MachineTypeAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod MachineTypeAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type MachineTypeAggregatedListWarningData struct { @@ -24344,9 +24355,9 @@ type MachineTypeAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *MachineTypeAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s MachineTypeAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod MachineTypeAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MachineTypeList: Contains a list of machine types. @@ -24384,9 +24395,9 @@ type MachineTypeList struct { NullFields []string `json:"-"` } -func (s *MachineTypeList) MarshalJSON() ([]byte, error) { +func (s MachineTypeList) MarshalJSON() ([]byte, error) { type NoMethod MachineTypeList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MachineTypeListWarning: [Output Only] Informational warning message. @@ -24469,9 +24480,9 @@ type MachineTypeListWarning struct { NullFields []string `json:"-"` } -func (s *MachineTypeListWarning) MarshalJSON() ([]byte, error) { +func (s MachineTypeListWarning) MarshalJSON() ([]byte, error) { type NoMethod MachineTypeListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type MachineTypeListWarningData struct { @@ -24498,9 +24509,9 @@ type MachineTypeListWarningData struct { NullFields []string `json:"-"` } -func (s *MachineTypeListWarningData) MarshalJSON() ([]byte, error) { +func (s MachineTypeListWarningData) MarshalJSON() ([]byte, error) { type NoMethod MachineTypeListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type MachineTypesScopedList struct { @@ -24522,9 +24533,9 @@ type MachineTypesScopedList struct { NullFields []string `json:"-"` } -func (s *MachineTypesScopedList) MarshalJSON() ([]byte, error) { +func (s MachineTypesScopedList) MarshalJSON() ([]byte, error) { type NoMethod MachineTypesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MachineTypesScopedListWarning: [Output Only] An informational warning that @@ -24608,9 +24619,9 @@ type MachineTypesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *MachineTypesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s MachineTypesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod MachineTypesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type MachineTypesScopedListWarningData struct { @@ -24637,9 +24648,9 @@ type MachineTypesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *MachineTypesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s MachineTypesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod MachineTypesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ManagedInstance: A Managed Instance resource. @@ -24749,9 +24760,9 @@ type ManagedInstance struct { NullFields []string `json:"-"` } -func (s *ManagedInstance) MarshalJSON() ([]byte, error) { +func (s ManagedInstance) MarshalJSON() ([]byte, error) { type NoMethod ManagedInstance - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ManagedInstanceInstanceHealth struct { @@ -24788,9 +24799,9 @@ type ManagedInstanceInstanceHealth struct { NullFields []string `json:"-"` } -func (s *ManagedInstanceInstanceHealth) MarshalJSON() ([]byte, error) { +func (s ManagedInstanceInstanceHealth) MarshalJSON() ([]byte, error) { type NoMethod ManagedInstanceInstanceHealth - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ManagedInstanceLastAttempt struct { @@ -24810,9 +24821,9 @@ type ManagedInstanceLastAttempt struct { NullFields []string `json:"-"` } -func (s *ManagedInstanceLastAttempt) MarshalJSON() ([]byte, error) { +func (s ManagedInstanceLastAttempt) MarshalJSON() ([]byte, error) { type NoMethod ManagedInstanceLastAttempt - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ManagedInstanceLastAttemptErrors: [Output Only] Encountered errors during @@ -24834,9 +24845,9 @@ type ManagedInstanceLastAttemptErrors struct { NullFields []string `json:"-"` } -func (s *ManagedInstanceLastAttemptErrors) MarshalJSON() ([]byte, error) { +func (s ManagedInstanceLastAttemptErrors) MarshalJSON() ([]byte, error) { type NoMethod ManagedInstanceLastAttemptErrors - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ManagedInstanceLastAttemptErrorsErrors struct { @@ -24865,9 +24876,9 @@ type ManagedInstanceLastAttemptErrorsErrors struct { NullFields []string `json:"-"` } -func (s *ManagedInstanceLastAttemptErrorsErrors) MarshalJSON() ([]byte, error) { +func (s ManagedInstanceLastAttemptErrorsErrors) MarshalJSON() ([]byte, error) { type NoMethod ManagedInstanceLastAttemptErrorsErrors - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ManagedInstanceLastAttemptErrorsErrorsErrorDetails struct { @@ -24888,9 +24899,9 @@ type ManagedInstanceLastAttemptErrorsErrorsErrorDetails struct { NullFields []string `json:"-"` } -func (s *ManagedInstanceLastAttemptErrorsErrorsErrorDetails) MarshalJSON() ([]byte, error) { +func (s ManagedInstanceLastAttemptErrorsErrorsErrorDetails) MarshalJSON() ([]byte, error) { type NoMethod ManagedInstanceLastAttemptErrorsErrorsErrorDetails - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ManagedInstanceVersion struct { @@ -24912,9 +24923,9 @@ type ManagedInstanceVersion struct { NullFields []string `json:"-"` } -func (s *ManagedInstanceVersion) MarshalJSON() ([]byte, error) { +func (s ManagedInstanceVersion) MarshalJSON() ([]byte, error) { type NoMethod ManagedInstanceVersion - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Metadata: A metadata key/value entry. @@ -24946,9 +24957,9 @@ type Metadata struct { NullFields []string `json:"-"` } -func (s *Metadata) MarshalJSON() ([]byte, error) { +func (s Metadata) MarshalJSON() ([]byte, error) { type NoMethod Metadata - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MetadataItems: Metadata @@ -24976,9 +24987,9 @@ type MetadataItems struct { NullFields []string `json:"-"` } -func (s *MetadataItems) MarshalJSON() ([]byte, error) { +func (s MetadataItems) MarshalJSON() ([]byte, error) { type NoMethod MetadataItems - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MetadataFilter: Opaque filter criteria used by load balancers to restrict @@ -25026,9 +25037,9 @@ type MetadataFilter struct { NullFields []string `json:"-"` } -func (s *MetadataFilter) MarshalJSON() ([]byte, error) { +func (s MetadataFilter) MarshalJSON() ([]byte, error) { type NoMethod MetadataFilter - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MetadataFilterLabelMatch: MetadataFilter label name value pairs that are @@ -25054,9 +25065,9 @@ type MetadataFilterLabelMatch struct { NullFields []string `json:"-"` } -func (s *MetadataFilterLabelMatch) MarshalJSON() ([]byte, error) { +func (s MetadataFilterLabelMatch) MarshalJSON() ([]byte, error) { type NoMethod MetadataFilterLabelMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NamedPort: The named port. For example: <"http", 80>. @@ -25079,9 +25090,9 @@ type NamedPort struct { NullFields []string `json:"-"` } -func (s *NamedPort) MarshalJSON() ([]byte, error) { +func (s NamedPort) MarshalJSON() ([]byte, error) { type NoMethod NamedPort - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NatIpInfo: Contains NAT IP information of a NAT config (i.e. usage status, @@ -25104,9 +25115,9 @@ type NatIpInfo struct { NullFields []string `json:"-"` } -func (s *NatIpInfo) MarshalJSON() ([]byte, error) { +func (s NatIpInfo) MarshalJSON() ([]byte, error) { type NoMethod NatIpInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NatIpInfoNatIpInfoMapping: Contains information of a NAT IP. @@ -25139,9 +25150,9 @@ type NatIpInfoNatIpInfoMapping struct { NullFields []string `json:"-"` } -func (s *NatIpInfoNatIpInfoMapping) MarshalJSON() ([]byte, error) { +func (s NatIpInfoNatIpInfoMapping) MarshalJSON() ([]byte, error) { type NoMethod NatIpInfoNatIpInfoMapping - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NatIpInfoResponse struct { @@ -25163,9 +25174,9 @@ type NatIpInfoResponse struct { NullFields []string `json:"-"` } -func (s *NatIpInfoResponse) MarshalJSON() ([]byte, error) { +func (s NatIpInfoResponse) MarshalJSON() ([]byte, error) { type NoMethod NatIpInfoResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Network: Represents a VPC Network resource. Networks connect resources to @@ -25264,9 +25275,9 @@ type Network struct { NullFields []string `json:"-"` } -func (s *Network) MarshalJSON() ([]byte, error) { +func (s Network) MarshalJSON() ([]byte, error) { type NoMethod Network - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkAttachment: NetworkAttachments A network attachment resource ... @@ -25343,9 +25354,9 @@ type NetworkAttachment struct { NullFields []string `json:"-"` } -func (s *NetworkAttachment) MarshalJSON() ([]byte, error) { +func (s NetworkAttachment) MarshalJSON() ([]byte, error) { type NoMethod NetworkAttachment - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkAttachmentAggregatedList: Contains a list of @@ -25382,9 +25393,9 @@ type NetworkAttachmentAggregatedList struct { NullFields []string `json:"-"` } -func (s *NetworkAttachmentAggregatedList) MarshalJSON() ([]byte, error) { +func (s NetworkAttachmentAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod NetworkAttachmentAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkAttachmentAggregatedListWarning: [Output Only] Informational warning @@ -25468,9 +25479,9 @@ type NetworkAttachmentAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *NetworkAttachmentAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s NetworkAttachmentAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NetworkAttachmentAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkAttachmentAggregatedListWarningData struct { @@ -25497,9 +25508,9 @@ type NetworkAttachmentAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *NetworkAttachmentAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s NetworkAttachmentAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NetworkAttachmentAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkAttachmentConnectedEndpoint: [Output Only] A connection connected to @@ -25550,9 +25561,9 @@ type NetworkAttachmentConnectedEndpoint struct { NullFields []string `json:"-"` } -func (s *NetworkAttachmentConnectedEndpoint) MarshalJSON() ([]byte, error) { +func (s NetworkAttachmentConnectedEndpoint) MarshalJSON() ([]byte, error) { type NoMethod NetworkAttachmentConnectedEndpoint - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkAttachmentList struct { @@ -25587,9 +25598,9 @@ type NetworkAttachmentList struct { NullFields []string `json:"-"` } -func (s *NetworkAttachmentList) MarshalJSON() ([]byte, error) { +func (s NetworkAttachmentList) MarshalJSON() ([]byte, error) { type NoMethod NetworkAttachmentList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkAttachmentListWarning: [Output Only] Informational warning message. @@ -25672,9 +25683,9 @@ type NetworkAttachmentListWarning struct { NullFields []string `json:"-"` } -func (s *NetworkAttachmentListWarning) MarshalJSON() ([]byte, error) { +func (s NetworkAttachmentListWarning) MarshalJSON() ([]byte, error) { type NoMethod NetworkAttachmentListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkAttachmentListWarningData struct { @@ -25701,9 +25712,9 @@ type NetworkAttachmentListWarningData struct { NullFields []string `json:"-"` } -func (s *NetworkAttachmentListWarningData) MarshalJSON() ([]byte, error) { +func (s NetworkAttachmentListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NetworkAttachmentListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkAttachmentsScopedList struct { @@ -25725,9 +25736,9 @@ type NetworkAttachmentsScopedList struct { NullFields []string `json:"-"` } -func (s *NetworkAttachmentsScopedList) MarshalJSON() ([]byte, error) { +func (s NetworkAttachmentsScopedList) MarshalJSON() ([]byte, error) { type NoMethod NetworkAttachmentsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkAttachmentsScopedListWarning: Informational warning which replaces @@ -25811,9 +25822,9 @@ type NetworkAttachmentsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *NetworkAttachmentsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s NetworkAttachmentsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NetworkAttachmentsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkAttachmentsScopedListWarningData struct { @@ -25840,9 +25851,9 @@ type NetworkAttachmentsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *NetworkAttachmentsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s NetworkAttachmentsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NetworkAttachmentsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEdgeSecurityService: Represents a Google Cloud Armor network edge @@ -25903,9 +25914,9 @@ type NetworkEdgeSecurityService struct { NullFields []string `json:"-"` } -func (s *NetworkEdgeSecurityService) MarshalJSON() ([]byte, error) { +func (s NetworkEdgeSecurityService) MarshalJSON() ([]byte, error) { type NoMethod NetworkEdgeSecurityService - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEdgeSecurityServiceAggregatedList struct { @@ -25946,9 +25957,9 @@ type NetworkEdgeSecurityServiceAggregatedList struct { NullFields []string `json:"-"` } -func (s *NetworkEdgeSecurityServiceAggregatedList) MarshalJSON() ([]byte, error) { +func (s NetworkEdgeSecurityServiceAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod NetworkEdgeSecurityServiceAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEdgeSecurityServiceAggregatedListWarning: [Output Only] Informational @@ -26032,9 +26043,9 @@ type NetworkEdgeSecurityServiceAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *NetworkEdgeSecurityServiceAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s NetworkEdgeSecurityServiceAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NetworkEdgeSecurityServiceAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEdgeSecurityServiceAggregatedListWarningData struct { @@ -26061,9 +26072,9 @@ type NetworkEdgeSecurityServiceAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *NetworkEdgeSecurityServiceAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s NetworkEdgeSecurityServiceAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NetworkEdgeSecurityServiceAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEdgeSecurityServicesScopedList struct { @@ -26086,9 +26097,9 @@ type NetworkEdgeSecurityServicesScopedList struct { NullFields []string `json:"-"` } -func (s *NetworkEdgeSecurityServicesScopedList) MarshalJSON() ([]byte, error) { +func (s NetworkEdgeSecurityServicesScopedList) MarshalJSON() ([]byte, error) { type NoMethod NetworkEdgeSecurityServicesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEdgeSecurityServicesScopedListWarning: Informational warning which @@ -26172,9 +26183,9 @@ type NetworkEdgeSecurityServicesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *NetworkEdgeSecurityServicesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s NetworkEdgeSecurityServicesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NetworkEdgeSecurityServicesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEdgeSecurityServicesScopedListWarningData struct { @@ -26201,9 +26212,9 @@ type NetworkEdgeSecurityServicesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *NetworkEdgeSecurityServicesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s NetworkEdgeSecurityServicesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NetworkEdgeSecurityServicesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpoint: The network endpoint. @@ -26249,9 +26260,9 @@ type NetworkEndpoint struct { NullFields []string `json:"-"` } -func (s *NetworkEndpoint) MarshalJSON() ([]byte, error) { +func (s NetworkEndpoint) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpoint - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpointGroup: Represents a collection of network endpoints. A @@ -26354,9 +26365,9 @@ type NetworkEndpointGroup struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroup) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroup) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroup - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupAggregatedList struct { @@ -26396,9 +26407,9 @@ type NetworkEndpointGroupAggregatedList struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupAggregatedList) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpointGroupAggregatedListWarning: [Output Only] Informational @@ -26482,9 +26493,9 @@ type NetworkEndpointGroupAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupAggregatedListWarningData struct { @@ -26511,9 +26522,9 @@ type NetworkEndpointGroupAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpointGroupAppEngine: Configuration for an App Engine network @@ -26551,9 +26562,9 @@ type NetworkEndpointGroupAppEngine struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupAppEngine) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupAppEngine) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupAppEngine - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpointGroupCloudFunction: Configuration for a Cloud Function @@ -26585,9 +26596,9 @@ type NetworkEndpointGroupCloudFunction struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupCloudFunction) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupCloudFunction) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupCloudFunction - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpointGroupCloudRun: Configuration for a Cloud Run network endpoint @@ -26627,9 +26638,9 @@ type NetworkEndpointGroupCloudRun struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupCloudRun) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupCloudRun) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupCloudRun - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupList struct { @@ -26666,9 +26677,9 @@ type NetworkEndpointGroupList struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupList) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupList) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpointGroupListWarning: [Output Only] Informational warning @@ -26752,9 +26763,9 @@ type NetworkEndpointGroupListWarning struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupListWarning) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupListWarning) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupListWarningData struct { @@ -26781,9 +26792,9 @@ type NetworkEndpointGroupListWarningData struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupListWarningData) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpointGroupPscData: All data that is specifically relevant to only @@ -26823,9 +26834,9 @@ type NetworkEndpointGroupPscData struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupPscData) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupPscData) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupPscData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupsAttachEndpointsRequest struct { @@ -26844,9 +26855,9 @@ type NetworkEndpointGroupsAttachEndpointsRequest struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupsAttachEndpointsRequest) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupsAttachEndpointsRequest) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupsAttachEndpointsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupsDetachEndpointsRequest struct { @@ -26865,9 +26876,9 @@ type NetworkEndpointGroupsDetachEndpointsRequest struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupsDetachEndpointsRequest) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupsDetachEndpointsRequest) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupsDetachEndpointsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupsListEndpointsRequest struct { @@ -26893,9 +26904,9 @@ type NetworkEndpointGroupsListEndpointsRequest struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupsListEndpointsRequest) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupsListEndpointsRequest) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupsListEndpointsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupsListNetworkEndpoints struct { @@ -26931,9 +26942,9 @@ type NetworkEndpointGroupsListNetworkEndpoints struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupsListNetworkEndpoints) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupsListNetworkEndpoints) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupsListNetworkEndpoints - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpointGroupsListNetworkEndpointsWarning: [Output Only] @@ -27017,9 +27028,9 @@ type NetworkEndpointGroupsListNetworkEndpointsWarning struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupsListNetworkEndpointsWarning) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupsListNetworkEndpointsWarning) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupsListNetworkEndpointsWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupsListNetworkEndpointsWarningData struct { @@ -27046,9 +27057,9 @@ type NetworkEndpointGroupsListNetworkEndpointsWarningData struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupsListNetworkEndpointsWarningData) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupsListNetworkEndpointsWarningData) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupsListNetworkEndpointsWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupsScopedList struct { @@ -27071,9 +27082,9 @@ type NetworkEndpointGroupsScopedList struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupsScopedList) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupsScopedList) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpointGroupsScopedListWarning: [Output Only] An informational @@ -27158,9 +27169,9 @@ type NetworkEndpointGroupsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointGroupsScopedListWarningData struct { @@ -27187,9 +27198,9 @@ type NetworkEndpointGroupsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointGroupsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointGroupsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointGroupsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkEndpointWithHealthStatus struct { @@ -27210,9 +27221,9 @@ type NetworkEndpointWithHealthStatus struct { NullFields []string `json:"-"` } -func (s *NetworkEndpointWithHealthStatus) MarshalJSON() ([]byte, error) { +func (s NetworkEndpointWithHealthStatus) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpointWithHealthStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkInterface: A network interface resource attached to an instance. @@ -27323,9 +27334,9 @@ type NetworkInterface struct { NullFields []string `json:"-"` } -func (s *NetworkInterface) MarshalJSON() ([]byte, error) { +func (s NetworkInterface) MarshalJSON() ([]byte, error) { type NoMethod NetworkInterface - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkList: Contains a list of networks. @@ -27363,9 +27374,9 @@ type NetworkList struct { NullFields []string `json:"-"` } -func (s *NetworkList) MarshalJSON() ([]byte, error) { +func (s NetworkList) MarshalJSON() ([]byte, error) { type NoMethod NetworkList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkListWarning: [Output Only] Informational warning message. @@ -27448,9 +27459,9 @@ type NetworkListWarning struct { NullFields []string `json:"-"` } -func (s *NetworkListWarning) MarshalJSON() ([]byte, error) { +func (s NetworkListWarning) MarshalJSON() ([]byte, error) { type NoMethod NetworkListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkListWarningData struct { @@ -27477,9 +27488,9 @@ type NetworkListWarningData struct { NullFields []string `json:"-"` } -func (s *NetworkListWarningData) MarshalJSON() ([]byte, error) { +func (s NetworkListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NetworkListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkPeering: A network peering attached to a network resource. The @@ -27563,9 +27574,9 @@ type NetworkPeering struct { NullFields []string `json:"-"` } -func (s *NetworkPeering) MarshalJSON() ([]byte, error) { +func (s NetworkPeering) MarshalJSON() ([]byte, error) { type NoMethod NetworkPeering - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworkPerformanceConfig struct { @@ -27586,9 +27597,9 @@ type NetworkPerformanceConfig struct { NullFields []string `json:"-"` } -func (s *NetworkPerformanceConfig) MarshalJSON() ([]byte, error) { +func (s NetworkPerformanceConfig) MarshalJSON() ([]byte, error) { type NoMethod NetworkPerformanceConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkRoutingConfig: A routing configuration attached to a network @@ -27619,9 +27630,9 @@ type NetworkRoutingConfig struct { NullFields []string `json:"-"` } -func (s *NetworkRoutingConfig) MarshalJSON() ([]byte, error) { +func (s NetworkRoutingConfig) MarshalJSON() ([]byte, error) { type NoMethod NetworkRoutingConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworksAddPeeringRequest struct { @@ -27658,9 +27669,9 @@ type NetworksAddPeeringRequest struct { NullFields []string `json:"-"` } -func (s *NetworksAddPeeringRequest) MarshalJSON() ([]byte, error) { +func (s NetworksAddPeeringRequest) MarshalJSON() ([]byte, error) { type NoMethod NetworksAddPeeringRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworksGetEffectiveFirewallsResponse struct { @@ -27684,9 +27695,9 @@ type NetworksGetEffectiveFirewallsResponse struct { NullFields []string `json:"-"` } -func (s *NetworksGetEffectiveFirewallsResponse) MarshalJSON() ([]byte, error) { +func (s NetworksGetEffectiveFirewallsResponse) MarshalJSON() ([]byte, error) { type NoMethod NetworksGetEffectiveFirewallsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy struct { @@ -27719,9 +27730,9 @@ type NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy struct { NullFields []string `json:"-"` } -func (s *NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy) MarshalJSON() ([]byte, error) { +func (s NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy) MarshalJSON() ([]byte, error) { type NoMethod NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworksRemovePeeringRequest struct { @@ -27740,9 +27751,9 @@ type NetworksRemovePeeringRequest struct { NullFields []string `json:"-"` } -func (s *NetworksRemovePeeringRequest) MarshalJSON() ([]byte, error) { +func (s NetworksRemovePeeringRequest) MarshalJSON() ([]byte, error) { type NoMethod NetworksRemovePeeringRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NetworksUpdatePeeringRequest struct { @@ -27760,9 +27771,9 @@ type NetworksUpdatePeeringRequest struct { NullFields []string `json:"-"` } -func (s *NetworksUpdatePeeringRequest) MarshalJSON() ([]byte, error) { +func (s NetworksUpdatePeeringRequest) MarshalJSON() ([]byte, error) { type NoMethod NetworksUpdatePeeringRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeGroup: Represents a sole-tenant Node Group resource. A sole-tenant node @@ -27866,9 +27877,9 @@ type NodeGroup struct { NullFields []string `json:"-"` } -func (s *NodeGroup) MarshalJSON() ([]byte, error) { +func (s NodeGroup) MarshalJSON() ([]byte, error) { type NoMethod NodeGroup - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupAggregatedList struct { @@ -27907,9 +27918,9 @@ type NodeGroupAggregatedList struct { NullFields []string `json:"-"` } -func (s *NodeGroupAggregatedList) MarshalJSON() ([]byte, error) { +func (s NodeGroupAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeGroupAggregatedListWarning: [Output Only] Informational warning message. @@ -27992,9 +28003,9 @@ type NodeGroupAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *NodeGroupAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s NodeGroupAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupAggregatedListWarningData struct { @@ -28021,9 +28032,9 @@ type NodeGroupAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *NodeGroupAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s NodeGroupAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupAutoscalingPolicy struct { @@ -28055,9 +28066,9 @@ type NodeGroupAutoscalingPolicy struct { NullFields []string `json:"-"` } -func (s *NodeGroupAutoscalingPolicy) MarshalJSON() ([]byte, error) { +func (s NodeGroupAutoscalingPolicy) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupAutoscalingPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeGroupList: Contains a list of nodeGroups. @@ -28095,9 +28106,9 @@ type NodeGroupList struct { NullFields []string `json:"-"` } -func (s *NodeGroupList) MarshalJSON() ([]byte, error) { +func (s NodeGroupList) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeGroupListWarning: [Output Only] Informational warning message. @@ -28180,9 +28191,9 @@ type NodeGroupListWarning struct { NullFields []string `json:"-"` } -func (s *NodeGroupListWarning) MarshalJSON() ([]byte, error) { +func (s NodeGroupListWarning) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupListWarningData struct { @@ -28209,9 +28220,9 @@ type NodeGroupListWarningData struct { NullFields []string `json:"-"` } -func (s *NodeGroupListWarningData) MarshalJSON() ([]byte, error) { +func (s NodeGroupListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeGroupMaintenanceWindow: Time window specified for daily maintenance @@ -28237,9 +28248,9 @@ type NodeGroupMaintenanceWindow struct { NullFields []string `json:"-"` } -func (s *NodeGroupMaintenanceWindow) MarshalJSON() ([]byte, error) { +func (s NodeGroupMaintenanceWindow) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupMaintenanceWindow - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupNode struct { @@ -28296,9 +28307,9 @@ type NodeGroupNode struct { NullFields []string `json:"-"` } -func (s *NodeGroupNode) MarshalJSON() ([]byte, error) { +func (s NodeGroupNode) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupNode - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupsAddNodesRequest struct { @@ -28318,9 +28329,9 @@ type NodeGroupsAddNodesRequest struct { NullFields []string `json:"-"` } -func (s *NodeGroupsAddNodesRequest) MarshalJSON() ([]byte, error) { +func (s NodeGroupsAddNodesRequest) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupsAddNodesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupsDeleteNodesRequest struct { @@ -28339,9 +28350,9 @@ type NodeGroupsDeleteNodesRequest struct { NullFields []string `json:"-"` } -func (s *NodeGroupsDeleteNodesRequest) MarshalJSON() ([]byte, error) { +func (s NodeGroupsDeleteNodesRequest) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupsDeleteNodesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupsListNodes struct { @@ -28379,9 +28390,9 @@ type NodeGroupsListNodes struct { NullFields []string `json:"-"` } -func (s *NodeGroupsListNodes) MarshalJSON() ([]byte, error) { +func (s NodeGroupsListNodes) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupsListNodes - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeGroupsListNodesWarning: [Output Only] Informational warning message. @@ -28464,9 +28475,9 @@ type NodeGroupsListNodesWarning struct { NullFields []string `json:"-"` } -func (s *NodeGroupsListNodesWarning) MarshalJSON() ([]byte, error) { +func (s NodeGroupsListNodesWarning) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupsListNodesWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupsListNodesWarningData struct { @@ -28493,9 +28504,9 @@ type NodeGroupsListNodesWarningData struct { NullFields []string `json:"-"` } -func (s *NodeGroupsListNodesWarningData) MarshalJSON() ([]byte, error) { +func (s NodeGroupsListNodesWarningData) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupsListNodesWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupsPerformMaintenanceRequest struct { @@ -28517,9 +28528,9 @@ type NodeGroupsPerformMaintenanceRequest struct { NullFields []string `json:"-"` } -func (s *NodeGroupsPerformMaintenanceRequest) MarshalJSON() ([]byte, error) { +func (s NodeGroupsPerformMaintenanceRequest) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupsPerformMaintenanceRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupsScopedList struct { @@ -28541,9 +28552,9 @@ type NodeGroupsScopedList struct { NullFields []string `json:"-"` } -func (s *NodeGroupsScopedList) MarshalJSON() ([]byte, error) { +func (s NodeGroupsScopedList) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeGroupsScopedListWarning: [Output Only] An informational warning that @@ -28627,9 +28638,9 @@ type NodeGroupsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *NodeGroupsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s NodeGroupsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupsScopedListWarningData struct { @@ -28656,9 +28667,9 @@ type NodeGroupsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *NodeGroupsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s NodeGroupsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupsSetNodeTemplateRequest struct { @@ -28678,9 +28689,9 @@ type NodeGroupsSetNodeTemplateRequest struct { NullFields []string `json:"-"` } -func (s *NodeGroupsSetNodeTemplateRequest) MarshalJSON() ([]byte, error) { +func (s NodeGroupsSetNodeTemplateRequest) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupsSetNodeTemplateRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeGroupsSimulateMaintenanceEventRequest struct { @@ -28699,9 +28710,9 @@ type NodeGroupsSimulateMaintenanceEventRequest struct { NullFields []string `json:"-"` } -func (s *NodeGroupsSimulateMaintenanceEventRequest) MarshalJSON() ([]byte, error) { +func (s NodeGroupsSimulateMaintenanceEventRequest) MarshalJSON() ([]byte, error) { type NoMethod NodeGroupsSimulateMaintenanceEventRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeTemplate: Represent a sole-tenant Node Template resource. You can use a @@ -28783,9 +28794,9 @@ type NodeTemplate struct { NullFields []string `json:"-"` } -func (s *NodeTemplate) MarshalJSON() ([]byte, error) { +func (s NodeTemplate) MarshalJSON() ([]byte, error) { type NoMethod NodeTemplate - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeTemplateAggregatedList struct { @@ -28824,9 +28835,9 @@ type NodeTemplateAggregatedList struct { NullFields []string `json:"-"` } -func (s *NodeTemplateAggregatedList) MarshalJSON() ([]byte, error) { +func (s NodeTemplateAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod NodeTemplateAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeTemplateAggregatedListWarning: [Output Only] Informational warning @@ -28910,9 +28921,9 @@ type NodeTemplateAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *NodeTemplateAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s NodeTemplateAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NodeTemplateAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeTemplateAggregatedListWarningData struct { @@ -28939,9 +28950,9 @@ type NodeTemplateAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *NodeTemplateAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s NodeTemplateAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NodeTemplateAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeTemplateList: Contains a list of node templates. @@ -28979,9 +28990,9 @@ type NodeTemplateList struct { NullFields []string `json:"-"` } -func (s *NodeTemplateList) MarshalJSON() ([]byte, error) { +func (s NodeTemplateList) MarshalJSON() ([]byte, error) { type NoMethod NodeTemplateList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeTemplateListWarning: [Output Only] Informational warning message. @@ -29064,9 +29075,9 @@ type NodeTemplateListWarning struct { NullFields []string `json:"-"` } -func (s *NodeTemplateListWarning) MarshalJSON() ([]byte, error) { +func (s NodeTemplateListWarning) MarshalJSON() ([]byte, error) { type NoMethod NodeTemplateListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeTemplateListWarningData struct { @@ -29093,9 +29104,9 @@ type NodeTemplateListWarningData struct { NullFields []string `json:"-"` } -func (s *NodeTemplateListWarningData) MarshalJSON() ([]byte, error) { +func (s NodeTemplateListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NodeTemplateListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeTemplateNodeTypeFlexibility struct { @@ -29115,9 +29126,9 @@ type NodeTemplateNodeTypeFlexibility struct { NullFields []string `json:"-"` } -func (s *NodeTemplateNodeTypeFlexibility) MarshalJSON() ([]byte, error) { +func (s NodeTemplateNodeTypeFlexibility) MarshalJSON() ([]byte, error) { type NoMethod NodeTemplateNodeTypeFlexibility - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeTemplatesScopedList struct { @@ -29140,9 +29151,9 @@ type NodeTemplatesScopedList struct { NullFields []string `json:"-"` } -func (s *NodeTemplatesScopedList) MarshalJSON() ([]byte, error) { +func (s NodeTemplatesScopedList) MarshalJSON() ([]byte, error) { type NoMethod NodeTemplatesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeTemplatesScopedListWarning: [Output Only] An informational warning that @@ -29226,9 +29237,9 @@ type NodeTemplatesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *NodeTemplatesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s NodeTemplatesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NodeTemplatesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeTemplatesScopedListWarningData struct { @@ -29255,9 +29266,9 @@ type NodeTemplatesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *NodeTemplatesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s NodeTemplatesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NodeTemplatesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeType: Represent a sole-tenant Node Type resource. Each node within a @@ -29313,9 +29324,9 @@ type NodeType struct { NullFields []string `json:"-"` } -func (s *NodeType) MarshalJSON() ([]byte, error) { +func (s NodeType) MarshalJSON() ([]byte, error) { type NoMethod NodeType - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeTypeAggregatedList struct { @@ -29354,9 +29365,9 @@ type NodeTypeAggregatedList struct { NullFields []string `json:"-"` } -func (s *NodeTypeAggregatedList) MarshalJSON() ([]byte, error) { +func (s NodeTypeAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod NodeTypeAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeTypeAggregatedListWarning: [Output Only] Informational warning message. @@ -29439,9 +29450,9 @@ type NodeTypeAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *NodeTypeAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s NodeTypeAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NodeTypeAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeTypeAggregatedListWarningData struct { @@ -29468,9 +29479,9 @@ type NodeTypeAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *NodeTypeAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s NodeTypeAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NodeTypeAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeTypeList: Contains a list of node types. @@ -29508,9 +29519,9 @@ type NodeTypeList struct { NullFields []string `json:"-"` } -func (s *NodeTypeList) MarshalJSON() ([]byte, error) { +func (s NodeTypeList) MarshalJSON() ([]byte, error) { type NoMethod NodeTypeList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeTypeListWarning: [Output Only] Informational warning message. @@ -29593,9 +29604,9 @@ type NodeTypeListWarning struct { NullFields []string `json:"-"` } -func (s *NodeTypeListWarning) MarshalJSON() ([]byte, error) { +func (s NodeTypeListWarning) MarshalJSON() ([]byte, error) { type NoMethod NodeTypeListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeTypeListWarningData struct { @@ -29622,9 +29633,9 @@ type NodeTypeListWarningData struct { NullFields []string `json:"-"` } -func (s *NodeTypeListWarningData) MarshalJSON() ([]byte, error) { +func (s NodeTypeListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NodeTypeListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeTypesScopedList struct { @@ -29646,9 +29657,9 @@ type NodeTypesScopedList struct { NullFields []string `json:"-"` } -func (s *NodeTypesScopedList) MarshalJSON() ([]byte, error) { +func (s NodeTypesScopedList) MarshalJSON() ([]byte, error) { type NoMethod NodeTypesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeTypesScopedListWarning: [Output Only] An informational warning that @@ -29732,9 +29743,9 @@ type NodeTypesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *NodeTypesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s NodeTypesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod NodeTypesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NodeTypesScopedListWarningData struct { @@ -29761,9 +29772,9 @@ type NodeTypesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *NodeTypesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s NodeTypesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NodeTypesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NotificationEndpoint: Represents a notification endpoint. A notification @@ -29816,9 +29827,9 @@ type NotificationEndpoint struct { NullFields []string `json:"-"` } -func (s *NotificationEndpoint) MarshalJSON() ([]byte, error) { +func (s NotificationEndpoint) MarshalJSON() ([]byte, error) { type NoMethod NotificationEndpoint - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NotificationEndpointGrpcSettings: Represents a gRPC setting that describes @@ -29858,9 +29869,9 @@ type NotificationEndpointGrpcSettings struct { NullFields []string `json:"-"` } -func (s *NotificationEndpointGrpcSettings) MarshalJSON() ([]byte, error) { +func (s NotificationEndpointGrpcSettings) MarshalJSON() ([]byte, error) { type NoMethod NotificationEndpointGrpcSettings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NotificationEndpointList struct { @@ -29897,9 +29908,9 @@ type NotificationEndpointList struct { NullFields []string `json:"-"` } -func (s *NotificationEndpointList) MarshalJSON() ([]byte, error) { +func (s NotificationEndpointList) MarshalJSON() ([]byte, error) { type NoMethod NotificationEndpointList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NotificationEndpointListWarning: [Output Only] Informational warning @@ -29983,9 +29994,9 @@ type NotificationEndpointListWarning struct { NullFields []string `json:"-"` } -func (s *NotificationEndpointListWarning) MarshalJSON() ([]byte, error) { +func (s NotificationEndpointListWarning) MarshalJSON() ([]byte, error) { type NoMethod NotificationEndpointListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type NotificationEndpointListWarningData struct { @@ -30012,9 +30023,9 @@ type NotificationEndpointListWarningData struct { NullFields []string `json:"-"` } -func (s *NotificationEndpointListWarningData) MarshalJSON() ([]byte, error) { +func (s NotificationEndpointListWarningData) MarshalJSON() ([]byte, error) { type NoMethod NotificationEndpointListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Operation: Represents an Operation resource. Google Compute Engine has three @@ -30131,9 +30142,9 @@ type Operation struct { NullFields []string `json:"-"` } -func (s *Operation) MarshalJSON() ([]byte, error) { +func (s Operation) MarshalJSON() ([]byte, error) { type NoMethod Operation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // OperationError: [Output Only] If errors are generated during processing of @@ -30155,9 +30166,9 @@ type OperationError struct { NullFields []string `json:"-"` } -func (s *OperationError) MarshalJSON() ([]byte, error) { +func (s OperationError) MarshalJSON() ([]byte, error) { type NoMethod OperationError - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type OperationErrorErrors struct { @@ -30186,9 +30197,9 @@ type OperationErrorErrors struct { NullFields []string `json:"-"` } -func (s *OperationErrorErrors) MarshalJSON() ([]byte, error) { +func (s OperationErrorErrors) MarshalJSON() ([]byte, error) { type NoMethod OperationErrorErrors - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type OperationErrorErrorsErrorDetails struct { @@ -30209,9 +30220,9 @@ type OperationErrorErrorsErrorDetails struct { NullFields []string `json:"-"` } -func (s *OperationErrorErrorsErrorDetails) MarshalJSON() ([]byte, error) { +func (s OperationErrorErrorsErrorDetails) MarshalJSON() ([]byte, error) { type NoMethod OperationErrorErrorsErrorDetails - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type OperationWarnings struct { @@ -30293,9 +30304,9 @@ type OperationWarnings struct { NullFields []string `json:"-"` } -func (s *OperationWarnings) MarshalJSON() ([]byte, error) { +func (s OperationWarnings) MarshalJSON() ([]byte, error) { type NoMethod OperationWarnings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type OperationWarningsData struct { @@ -30322,9 +30333,9 @@ type OperationWarningsData struct { NullFields []string `json:"-"` } -func (s *OperationWarningsData) MarshalJSON() ([]byte, error) { +func (s OperationWarningsData) MarshalJSON() ([]byte, error) { type NoMethod OperationWarningsData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type OperationAggregatedList struct { @@ -30364,9 +30375,9 @@ type OperationAggregatedList struct { NullFields []string `json:"-"` } -func (s *OperationAggregatedList) MarshalJSON() ([]byte, error) { +func (s OperationAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod OperationAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // OperationAggregatedListWarning: [Output Only] Informational warning message. @@ -30449,9 +30460,9 @@ type OperationAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *OperationAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s OperationAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod OperationAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type OperationAggregatedListWarningData struct { @@ -30478,9 +30489,9 @@ type OperationAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *OperationAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s OperationAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod OperationAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // OperationList: Contains a list of Operation resources. @@ -30519,9 +30530,9 @@ type OperationList struct { NullFields []string `json:"-"` } -func (s *OperationList) MarshalJSON() ([]byte, error) { +func (s OperationList) MarshalJSON() ([]byte, error) { type NoMethod OperationList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // OperationListWarning: [Output Only] Informational warning message. @@ -30604,9 +30615,9 @@ type OperationListWarning struct { NullFields []string `json:"-"` } -func (s *OperationListWarning) MarshalJSON() ([]byte, error) { +func (s OperationListWarning) MarshalJSON() ([]byte, error) { type NoMethod OperationListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type OperationListWarningData struct { @@ -30633,9 +30644,9 @@ type OperationListWarningData struct { NullFields []string `json:"-"` } -func (s *OperationListWarningData) MarshalJSON() ([]byte, error) { +func (s OperationListWarningData) MarshalJSON() ([]byte, error) { type NoMethod OperationListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type OperationsScopedList struct { @@ -30657,9 +30668,9 @@ type OperationsScopedList struct { NullFields []string `json:"-"` } -func (s *OperationsScopedList) MarshalJSON() ([]byte, error) { +func (s OperationsScopedList) MarshalJSON() ([]byte, error) { type NoMethod OperationsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // OperationsScopedListWarning: [Output Only] Informational warning which @@ -30743,9 +30754,9 @@ type OperationsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *OperationsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s OperationsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod OperationsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type OperationsScopedListWarningData struct { @@ -30772,9 +30783,9 @@ type OperationsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *OperationsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s OperationsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod OperationsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // OutlierDetection: Settings controlling the eviction of unhealthy hosts from @@ -30856,9 +30867,9 @@ type OutlierDetection struct { NullFields []string `json:"-"` } -func (s *OutlierDetection) MarshalJSON() ([]byte, error) { +func (s OutlierDetection) MarshalJSON() ([]byte, error) { type NoMethod OutlierDetection - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PacketIntervals: Next free: 7 @@ -30902,9 +30913,9 @@ type PacketIntervals struct { NullFields []string `json:"-"` } -func (s *PacketIntervals) MarshalJSON() ([]byte, error) { +func (s PacketIntervals) MarshalJSON() ([]byte, error) { type NoMethod PacketIntervals - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PacketMirroring: Represents a Packet Mirroring resource. Packet Mirroring @@ -30983,9 +30994,9 @@ type PacketMirroring struct { NullFields []string `json:"-"` } -func (s *PacketMirroring) MarshalJSON() ([]byte, error) { +func (s PacketMirroring) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroring - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PacketMirroringAggregatedList: Contains a list of packetMirrorings. @@ -31024,9 +31035,9 @@ type PacketMirroringAggregatedList struct { NullFields []string `json:"-"` } -func (s *PacketMirroringAggregatedList) MarshalJSON() ([]byte, error) { +func (s PacketMirroringAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PacketMirroringAggregatedListWarning: [Output Only] Informational warning @@ -31110,9 +31121,9 @@ type PacketMirroringAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *PacketMirroringAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s PacketMirroringAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PacketMirroringAggregatedListWarningData struct { @@ -31139,9 +31150,9 @@ type PacketMirroringAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *PacketMirroringAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s PacketMirroringAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PacketMirroringFilter struct { @@ -31178,9 +31189,9 @@ type PacketMirroringFilter struct { NullFields []string `json:"-"` } -func (s *PacketMirroringFilter) MarshalJSON() ([]byte, error) { +func (s PacketMirroringFilter) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringFilter - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PacketMirroringForwardingRuleInfo struct { @@ -31203,9 +31214,9 @@ type PacketMirroringForwardingRuleInfo struct { NullFields []string `json:"-"` } -func (s *PacketMirroringForwardingRuleInfo) MarshalJSON() ([]byte, error) { +func (s PacketMirroringForwardingRuleInfo) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringForwardingRuleInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PacketMirroringList: Contains a list of PacketMirroring resources. @@ -31243,9 +31254,9 @@ type PacketMirroringList struct { NullFields []string `json:"-"` } -func (s *PacketMirroringList) MarshalJSON() ([]byte, error) { +func (s PacketMirroringList) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PacketMirroringListWarning: [Output Only] Informational warning message. @@ -31328,9 +31339,9 @@ type PacketMirroringListWarning struct { NullFields []string `json:"-"` } -func (s *PacketMirroringListWarning) MarshalJSON() ([]byte, error) { +func (s PacketMirroringListWarning) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PacketMirroringListWarningData struct { @@ -31357,9 +31368,9 @@ type PacketMirroringListWarningData struct { NullFields []string `json:"-"` } -func (s *PacketMirroringListWarningData) MarshalJSON() ([]byte, error) { +func (s PacketMirroringListWarningData) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PacketMirroringMirroredResourceInfo struct { @@ -31389,9 +31400,9 @@ type PacketMirroringMirroredResourceInfo struct { NullFields []string `json:"-"` } -func (s *PacketMirroringMirroredResourceInfo) MarshalJSON() ([]byte, error) { +func (s PacketMirroringMirroredResourceInfo) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringMirroredResourceInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PacketMirroringMirroredResourceInfoInstanceInfo struct { @@ -31413,9 +31424,9 @@ type PacketMirroringMirroredResourceInfoInstanceInfo struct { NullFields []string `json:"-"` } -func (s *PacketMirroringMirroredResourceInfoInstanceInfo) MarshalJSON() ([]byte, error) { +func (s PacketMirroringMirroredResourceInfoInstanceInfo) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringMirroredResourceInfoInstanceInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PacketMirroringMirroredResourceInfoSubnetInfo struct { @@ -31438,9 +31449,9 @@ type PacketMirroringMirroredResourceInfoSubnetInfo struct { NullFields []string `json:"-"` } -func (s *PacketMirroringMirroredResourceInfoSubnetInfo) MarshalJSON() ([]byte, error) { +func (s PacketMirroringMirroredResourceInfoSubnetInfo) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringMirroredResourceInfoSubnetInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PacketMirroringNetworkInfo struct { @@ -31462,9 +31473,9 @@ type PacketMirroringNetworkInfo struct { NullFields []string `json:"-"` } -func (s *PacketMirroringNetworkInfo) MarshalJSON() ([]byte, error) { +func (s PacketMirroringNetworkInfo) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringNetworkInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PacketMirroringsScopedList struct { @@ -31486,9 +31497,9 @@ type PacketMirroringsScopedList struct { NullFields []string `json:"-"` } -func (s *PacketMirroringsScopedList) MarshalJSON() ([]byte, error) { +func (s PacketMirroringsScopedList) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PacketMirroringsScopedListWarning: Informational warning which replaces the @@ -31572,9 +31583,9 @@ type PacketMirroringsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *PacketMirroringsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s PacketMirroringsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PacketMirroringsScopedListWarningData struct { @@ -31601,9 +31612,9 @@ type PacketMirroringsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *PacketMirroringsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s PacketMirroringsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod PacketMirroringsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PathMatcher: A matcher for the path portion of the URL. The BackendService @@ -31714,9 +31725,9 @@ type PathMatcher struct { NullFields []string `json:"-"` } -func (s *PathMatcher) MarshalJSON() ([]byte, error) { +func (s PathMatcher) MarshalJSON() ([]byte, error) { type NoMethod PathMatcher - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PathRule: A path-matching rule for a URL. If matched, will use the specified @@ -31784,9 +31795,9 @@ type PathRule struct { NullFields []string `json:"-"` } -func (s *PathRule) MarshalJSON() ([]byte, error) { +func (s PathRule) MarshalJSON() ([]byte, error) { type NoMethod PathRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PerInstanceConfig struct { @@ -31838,9 +31849,9 @@ type PerInstanceConfig struct { NullFields []string `json:"-"` } -func (s *PerInstanceConfig) MarshalJSON() ([]byte, error) { +func (s PerInstanceConfig) MarshalJSON() ([]byte, error) { type NoMethod PerInstanceConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Policy: An Identity and Access Management (IAM) policy, which specifies @@ -31932,9 +31943,9 @@ type Policy struct { NullFields []string `json:"-"` } -func (s *Policy) MarshalJSON() ([]byte, error) { +func (s Policy) MarshalJSON() ([]byte, error) { type NoMethod Policy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PreconfiguredWafSet struct { @@ -31953,9 +31964,9 @@ type PreconfiguredWafSet struct { NullFields []string `json:"-"` } -func (s *PreconfiguredWafSet) MarshalJSON() ([]byte, error) { +func (s PreconfiguredWafSet) MarshalJSON() ([]byte, error) { type NoMethod PreconfiguredWafSet - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PreservedState: Preserved state for a given instance. @@ -31984,9 +31995,9 @@ type PreservedState struct { NullFields []string `json:"-"` } -func (s *PreservedState) MarshalJSON() ([]byte, error) { +func (s PreservedState) MarshalJSON() ([]byte, error) { type NoMethod PreservedState - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PreservedStatePreservedDisk struct { @@ -32025,9 +32036,9 @@ type PreservedStatePreservedDisk struct { NullFields []string `json:"-"` } -func (s *PreservedStatePreservedDisk) MarshalJSON() ([]byte, error) { +func (s PreservedStatePreservedDisk) MarshalJSON() ([]byte, error) { type NoMethod PreservedStatePreservedDisk - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PreservedStatePreservedNetworkIp struct { @@ -32055,9 +32066,9 @@ type PreservedStatePreservedNetworkIp struct { NullFields []string `json:"-"` } -func (s *PreservedStatePreservedNetworkIp) MarshalJSON() ([]byte, error) { +func (s PreservedStatePreservedNetworkIp) MarshalJSON() ([]byte, error) { type NoMethod PreservedStatePreservedNetworkIp - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PreservedStatePreservedNetworkIpIpAddress struct { @@ -32079,9 +32090,9 @@ type PreservedStatePreservedNetworkIpIpAddress struct { NullFields []string `json:"-"` } -func (s *PreservedStatePreservedNetworkIpIpAddress) MarshalJSON() ([]byte, error) { +func (s PreservedStatePreservedNetworkIpIpAddress) MarshalJSON() ([]byte, error) { type NoMethod PreservedStatePreservedNetworkIpIpAddress - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Project: Represents a Project resource. A project is used to organize @@ -32172,9 +32183,9 @@ type Project struct { NullFields []string `json:"-"` } -func (s *Project) MarshalJSON() ([]byte, error) { +func (s Project) MarshalJSON() ([]byte, error) { type NoMethod Project - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ProjectsDisableXpnResourceRequest struct { @@ -32193,9 +32204,9 @@ type ProjectsDisableXpnResourceRequest struct { NullFields []string `json:"-"` } -func (s *ProjectsDisableXpnResourceRequest) MarshalJSON() ([]byte, error) { +func (s ProjectsDisableXpnResourceRequest) MarshalJSON() ([]byte, error) { type NoMethod ProjectsDisableXpnResourceRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ProjectsEnableXpnResourceRequest struct { @@ -32214,9 +32225,9 @@ type ProjectsEnableXpnResourceRequest struct { NullFields []string `json:"-"` } -func (s *ProjectsEnableXpnResourceRequest) MarshalJSON() ([]byte, error) { +func (s ProjectsEnableXpnResourceRequest) MarshalJSON() ([]byte, error) { type NoMethod ProjectsEnableXpnResourceRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ProjectsGetXpnResources struct { @@ -32248,9 +32259,9 @@ type ProjectsGetXpnResources struct { NullFields []string `json:"-"` } -func (s *ProjectsGetXpnResources) MarshalJSON() ([]byte, error) { +func (s ProjectsGetXpnResources) MarshalJSON() ([]byte, error) { type NoMethod ProjectsGetXpnResources - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ProjectsListXpnHostsRequest struct { @@ -32271,9 +32282,9 @@ type ProjectsListXpnHostsRequest struct { NullFields []string `json:"-"` } -func (s *ProjectsListXpnHostsRequest) MarshalJSON() ([]byte, error) { +func (s ProjectsListXpnHostsRequest) MarshalJSON() ([]byte, error) { type NoMethod ProjectsListXpnHostsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ProjectsSetCloudArmorTierRequest struct { @@ -32297,9 +32308,9 @@ type ProjectsSetCloudArmorTierRequest struct { NullFields []string `json:"-"` } -func (s *ProjectsSetCloudArmorTierRequest) MarshalJSON() ([]byte, error) { +func (s ProjectsSetCloudArmorTierRequest) MarshalJSON() ([]byte, error) { type NoMethod ProjectsSetCloudArmorTierRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ProjectsSetDefaultNetworkTierRequest struct { @@ -32327,9 +32338,9 @@ type ProjectsSetDefaultNetworkTierRequest struct { NullFields []string `json:"-"` } -func (s *ProjectsSetDefaultNetworkTierRequest) MarshalJSON() ([]byte, error) { +func (s ProjectsSetDefaultNetworkTierRequest) MarshalJSON() ([]byte, error) { type NoMethod ProjectsSetDefaultNetworkTierRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PublicAdvertisedPrefix: A public advertised prefix represents an aggregated @@ -32439,9 +32450,9 @@ type PublicAdvertisedPrefix struct { NullFields []string `json:"-"` } -func (s *PublicAdvertisedPrefix) MarshalJSON() ([]byte, error) { +func (s PublicAdvertisedPrefix) MarshalJSON() ([]byte, error) { type NoMethod PublicAdvertisedPrefix - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PublicAdvertisedPrefixList struct { @@ -32478,9 +32489,9 @@ type PublicAdvertisedPrefixList struct { NullFields []string `json:"-"` } -func (s *PublicAdvertisedPrefixList) MarshalJSON() ([]byte, error) { +func (s PublicAdvertisedPrefixList) MarshalJSON() ([]byte, error) { type NoMethod PublicAdvertisedPrefixList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PublicAdvertisedPrefixListWarning: [Output Only] Informational warning @@ -32564,9 +32575,9 @@ type PublicAdvertisedPrefixListWarning struct { NullFields []string `json:"-"` } -func (s *PublicAdvertisedPrefixListWarning) MarshalJSON() ([]byte, error) { +func (s PublicAdvertisedPrefixListWarning) MarshalJSON() ([]byte, error) { type NoMethod PublicAdvertisedPrefixListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PublicAdvertisedPrefixListWarningData struct { @@ -32593,9 +32604,9 @@ type PublicAdvertisedPrefixListWarningData struct { NullFields []string `json:"-"` } -func (s *PublicAdvertisedPrefixListWarningData) MarshalJSON() ([]byte, error) { +func (s PublicAdvertisedPrefixListWarningData) MarshalJSON() ([]byte, error) { type NoMethod PublicAdvertisedPrefixListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PublicAdvertisedPrefixPublicDelegatedPrefix: Represents a CIDR range which @@ -32627,9 +32638,9 @@ type PublicAdvertisedPrefixPublicDelegatedPrefix struct { NullFields []string `json:"-"` } -func (s *PublicAdvertisedPrefixPublicDelegatedPrefix) MarshalJSON() ([]byte, error) { +func (s PublicAdvertisedPrefixPublicDelegatedPrefix) MarshalJSON() ([]byte, error) { type NoMethod PublicAdvertisedPrefixPublicDelegatedPrefix - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PublicDelegatedPrefix: A PublicDelegatedPrefix resource represents an IP @@ -32740,9 +32751,9 @@ type PublicDelegatedPrefix struct { NullFields []string `json:"-"` } -func (s *PublicDelegatedPrefix) MarshalJSON() ([]byte, error) { +func (s PublicDelegatedPrefix) MarshalJSON() ([]byte, error) { type NoMethod PublicDelegatedPrefix - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PublicDelegatedPrefixAggregatedList struct { @@ -32782,9 +32793,9 @@ type PublicDelegatedPrefixAggregatedList struct { NullFields []string `json:"-"` } -func (s *PublicDelegatedPrefixAggregatedList) MarshalJSON() ([]byte, error) { +func (s PublicDelegatedPrefixAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod PublicDelegatedPrefixAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PublicDelegatedPrefixAggregatedListWarning: [Output Only] Informational @@ -32868,9 +32879,9 @@ type PublicDelegatedPrefixAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *PublicDelegatedPrefixAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s PublicDelegatedPrefixAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod PublicDelegatedPrefixAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PublicDelegatedPrefixAggregatedListWarningData struct { @@ -32897,9 +32908,9 @@ type PublicDelegatedPrefixAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *PublicDelegatedPrefixAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s PublicDelegatedPrefixAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod PublicDelegatedPrefixAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PublicDelegatedPrefixList struct { @@ -32936,9 +32947,9 @@ type PublicDelegatedPrefixList struct { NullFields []string `json:"-"` } -func (s *PublicDelegatedPrefixList) MarshalJSON() ([]byte, error) { +func (s PublicDelegatedPrefixList) MarshalJSON() ([]byte, error) { type NoMethod PublicDelegatedPrefixList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PublicDelegatedPrefixListWarning: [Output Only] Informational warning @@ -33022,9 +33033,9 @@ type PublicDelegatedPrefixListWarning struct { NullFields []string `json:"-"` } -func (s *PublicDelegatedPrefixListWarning) MarshalJSON() ([]byte, error) { +func (s PublicDelegatedPrefixListWarning) MarshalJSON() ([]byte, error) { type NoMethod PublicDelegatedPrefixListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PublicDelegatedPrefixListWarningData struct { @@ -33051,9 +33062,9 @@ type PublicDelegatedPrefixListWarningData struct { NullFields []string `json:"-"` } -func (s *PublicDelegatedPrefixListWarningData) MarshalJSON() ([]byte, error) { +func (s PublicDelegatedPrefixListWarningData) MarshalJSON() ([]byte, error) { type NoMethod PublicDelegatedPrefixListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PublicDelegatedPrefixPublicDelegatedSubPrefix: Represents a sub @@ -33106,9 +33117,9 @@ type PublicDelegatedPrefixPublicDelegatedSubPrefix struct { NullFields []string `json:"-"` } -func (s *PublicDelegatedPrefixPublicDelegatedSubPrefix) MarshalJSON() ([]byte, error) { +func (s PublicDelegatedPrefixPublicDelegatedSubPrefix) MarshalJSON() ([]byte, error) { type NoMethod PublicDelegatedPrefixPublicDelegatedSubPrefix - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PublicDelegatedPrefixesScopedList struct { @@ -33131,9 +33142,9 @@ type PublicDelegatedPrefixesScopedList struct { NullFields []string `json:"-"` } -func (s *PublicDelegatedPrefixesScopedList) MarshalJSON() ([]byte, error) { +func (s PublicDelegatedPrefixesScopedList) MarshalJSON() ([]byte, error) { type NoMethod PublicDelegatedPrefixesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PublicDelegatedPrefixesScopedListWarning: [Output Only] Informational @@ -33218,9 +33229,9 @@ type PublicDelegatedPrefixesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *PublicDelegatedPrefixesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s PublicDelegatedPrefixesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod PublicDelegatedPrefixesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type PublicDelegatedPrefixesScopedListWarningData struct { @@ -33247,9 +33258,9 @@ type PublicDelegatedPrefixesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *PublicDelegatedPrefixesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s PublicDelegatedPrefixesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod PublicDelegatedPrefixesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Quota: A quotas entry. @@ -33442,9 +33453,9 @@ type Quota struct { NullFields []string `json:"-"` } -func (s *Quota) MarshalJSON() ([]byte, error) { +func (s Quota) MarshalJSON() ([]byte, error) { type NoMethod Quota - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *Quota) UnmarshalJSON(data []byte) error { @@ -33499,9 +33510,9 @@ type QuotaExceededInfo struct { NullFields []string `json:"-"` } -func (s *QuotaExceededInfo) MarshalJSON() ([]byte, error) { +func (s QuotaExceededInfo) MarshalJSON() ([]byte, error) { type NoMethod QuotaExceededInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *QuotaExceededInfo) UnmarshalJSON(data []byte) error { @@ -33545,9 +33556,9 @@ type Reference struct { NullFields []string `json:"-"` } -func (s *Reference) MarshalJSON() ([]byte, error) { +func (s Reference) MarshalJSON() ([]byte, error) { type NoMethod Reference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Region: Represents a Region resource. A region is a geographical area where @@ -33602,9 +33613,9 @@ type Region struct { NullFields []string `json:"-"` } -func (s *Region) MarshalJSON() ([]byte, error) { +func (s Region) MarshalJSON() ([]byte, error) { type NoMethod Region - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionQuotaStatusWarning: [Output Only] Warning of fetching the `quotas` @@ -33689,9 +33700,9 @@ type RegionQuotaStatusWarning struct { NullFields []string `json:"-"` } -func (s *RegionQuotaStatusWarning) MarshalJSON() ([]byte, error) { +func (s RegionQuotaStatusWarning) MarshalJSON() ([]byte, error) { type NoMethod RegionQuotaStatusWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionQuotaStatusWarningData struct { @@ -33718,9 +33729,9 @@ type RegionQuotaStatusWarningData struct { NullFields []string `json:"-"` } -func (s *RegionQuotaStatusWarningData) MarshalJSON() ([]byte, error) { +func (s RegionQuotaStatusWarningData) MarshalJSON() ([]byte, error) { type NoMethod RegionQuotaStatusWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionAddressesMoveRequest struct { @@ -33748,9 +33759,9 @@ type RegionAddressesMoveRequest struct { NullFields []string `json:"-"` } -func (s *RegionAddressesMoveRequest) MarshalJSON() ([]byte, error) { +func (s RegionAddressesMoveRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionAddressesMoveRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionAutoscalerList: Contains a list of autoscalers. @@ -33787,9 +33798,9 @@ type RegionAutoscalerList struct { NullFields []string `json:"-"` } -func (s *RegionAutoscalerList) MarshalJSON() ([]byte, error) { +func (s RegionAutoscalerList) MarshalJSON() ([]byte, error) { type NoMethod RegionAutoscalerList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionAutoscalerListWarning: [Output Only] Informational warning message. @@ -33872,9 +33883,9 @@ type RegionAutoscalerListWarning struct { NullFields []string `json:"-"` } -func (s *RegionAutoscalerListWarning) MarshalJSON() ([]byte, error) { +func (s RegionAutoscalerListWarning) MarshalJSON() ([]byte, error) { type NoMethod RegionAutoscalerListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionAutoscalerListWarningData struct { @@ -33901,9 +33912,9 @@ type RegionAutoscalerListWarningData struct { NullFields []string `json:"-"` } -func (s *RegionAutoscalerListWarningData) MarshalJSON() ([]byte, error) { +func (s RegionAutoscalerListWarningData) MarshalJSON() ([]byte, error) { type NoMethod RegionAutoscalerListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionDiskTypeList struct { @@ -33940,9 +33951,9 @@ type RegionDiskTypeList struct { NullFields []string `json:"-"` } -func (s *RegionDiskTypeList) MarshalJSON() ([]byte, error) { +func (s RegionDiskTypeList) MarshalJSON() ([]byte, error) { type NoMethod RegionDiskTypeList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionDiskTypeListWarning: [Output Only] Informational warning message. @@ -34025,9 +34036,9 @@ type RegionDiskTypeListWarning struct { NullFields []string `json:"-"` } -func (s *RegionDiskTypeListWarning) MarshalJSON() ([]byte, error) { +func (s RegionDiskTypeListWarning) MarshalJSON() ([]byte, error) { type NoMethod RegionDiskTypeListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionDiskTypeListWarningData struct { @@ -34054,9 +34065,9 @@ type RegionDiskTypeListWarningData struct { NullFields []string `json:"-"` } -func (s *RegionDiskTypeListWarningData) MarshalJSON() ([]byte, error) { +func (s RegionDiskTypeListWarningData) MarshalJSON() ([]byte, error) { type NoMethod RegionDiskTypeListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionDisksAddResourcePoliciesRequest struct { @@ -34075,9 +34086,9 @@ type RegionDisksAddResourcePoliciesRequest struct { NullFields []string `json:"-"` } -func (s *RegionDisksAddResourcePoliciesRequest) MarshalJSON() ([]byte, error) { +func (s RegionDisksAddResourcePoliciesRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionDisksAddResourcePoliciesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionDisksRemoveResourcePoliciesRequest struct { @@ -34096,9 +34107,9 @@ type RegionDisksRemoveResourcePoliciesRequest struct { NullFields []string `json:"-"` } -func (s *RegionDisksRemoveResourcePoliciesRequest) MarshalJSON() ([]byte, error) { +func (s RegionDisksRemoveResourcePoliciesRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionDisksRemoveResourcePoliciesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionDisksResizeRequest struct { @@ -34118,9 +34129,9 @@ type RegionDisksResizeRequest struct { NullFields []string `json:"-"` } -func (s *RegionDisksResizeRequest) MarshalJSON() ([]byte, error) { +func (s RegionDisksResizeRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionDisksResizeRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionDisksStartAsyncReplicationRequest struct { @@ -34147,9 +34158,9 @@ type RegionDisksStartAsyncReplicationRequest struct { NullFields []string `json:"-"` } -func (s *RegionDisksStartAsyncReplicationRequest) MarshalJSON() ([]byte, error) { +func (s RegionDisksStartAsyncReplicationRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionDisksStartAsyncReplicationRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionInstanceGroupList: Contains a list of InstanceGroup resources. @@ -34186,9 +34197,9 @@ type RegionInstanceGroupList struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupList) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupList) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionInstanceGroupListWarning: [Output Only] Informational warning message. @@ -34271,9 +34282,9 @@ type RegionInstanceGroupListWarning struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupListWarning) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupListWarning) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupListWarningData struct { @@ -34300,9 +34311,9 @@ type RegionInstanceGroupListWarningData struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupListWarningData) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupListWarningData) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionInstanceGroupManagerDeleteInstanceConfigReq: @@ -34324,9 +34335,9 @@ type RegionInstanceGroupManagerDeleteInstanceConfigReq struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagerDeleteInstanceConfigReq) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagerDeleteInstanceConfigReq) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagerDeleteInstanceConfigReq - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionInstanceGroupManagerList: Contains a list of managed instance groups. @@ -34365,9 +34376,9 @@ type RegionInstanceGroupManagerList struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagerList) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagerList) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagerList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionInstanceGroupManagerListWarning: [Output Only] Informational warning @@ -34451,9 +34462,9 @@ type RegionInstanceGroupManagerListWarning struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagerListWarning) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagerListWarning) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagerListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagerListWarningData struct { @@ -34480,9 +34491,9 @@ type RegionInstanceGroupManagerListWarningData struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagerListWarningData) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagerListWarningData) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagerListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionInstanceGroupManagerPatchInstanceConfigReq: @@ -34504,9 +34515,9 @@ type RegionInstanceGroupManagerPatchInstanceConfigReq struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagerPatchInstanceConfigReq) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagerPatchInstanceConfigReq) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagerPatchInstanceConfigReq - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionInstanceGroupManagerUpdateInstanceConfigReq: @@ -34528,9 +34539,9 @@ type RegionInstanceGroupManagerUpdateInstanceConfigReq struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagerUpdateInstanceConfigReq) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagerUpdateInstanceConfigReq) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagerUpdateInstanceConfigReq - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersAbandonInstancesRequest struct { @@ -34550,9 +34561,9 @@ type RegionInstanceGroupManagersAbandonInstancesRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersAbandonInstancesRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersAbandonInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersAbandonInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionInstanceGroupManagersApplyUpdatesRequest: @@ -34609,9 +34620,9 @@ type RegionInstanceGroupManagersApplyUpdatesRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersApplyUpdatesRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersApplyUpdatesRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersApplyUpdatesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionInstanceGroupManagersCreateInstancesRequest: @@ -34632,9 +34643,9 @@ type RegionInstanceGroupManagersCreateInstancesRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersCreateInstancesRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersCreateInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersCreateInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersDeleteInstancesRequest struct { @@ -34662,9 +34673,9 @@ type RegionInstanceGroupManagersDeleteInstancesRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersDeleteInstancesRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersDeleteInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersDeleteInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersListErrorsResponse struct { @@ -34692,9 +34703,9 @@ type RegionInstanceGroupManagersListErrorsResponse struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersListErrorsResponse) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersListErrorsResponse) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersListErrorsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersListInstanceConfigsResp struct { @@ -34724,9 +34735,9 @@ type RegionInstanceGroupManagersListInstanceConfigsResp struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersListInstanceConfigsResp) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersListInstanceConfigsResp) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersListInstanceConfigsResp - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionInstanceGroupManagersListInstanceConfigsRespWarning: [Output Only] @@ -34810,9 +34821,9 @@ type RegionInstanceGroupManagersListInstanceConfigsRespWarning struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersListInstanceConfigsRespWarning) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersListInstanceConfigsRespWarning) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersListInstanceConfigsRespWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersListInstanceConfigsRespWarningData struct { @@ -34839,9 +34850,9 @@ type RegionInstanceGroupManagersListInstanceConfigsRespWarningData struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersListInstanceConfigsRespWarningData) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersListInstanceConfigsRespWarningData) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersListInstanceConfigsRespWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersListInstancesResponse struct { @@ -34869,9 +34880,9 @@ type RegionInstanceGroupManagersListInstancesResponse struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersListInstancesResponse) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersListInstancesResponse) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersListInstancesResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersRecreateRequest struct { @@ -34891,9 +34902,9 @@ type RegionInstanceGroupManagersRecreateRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersRecreateRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersRecreateRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersRecreateRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersSetTargetPoolsRequest struct { @@ -34918,9 +34929,9 @@ type RegionInstanceGroupManagersSetTargetPoolsRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersSetTargetPoolsRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersSetTargetPoolsRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersSetTargetPoolsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupManagersSetTemplateRequest struct { @@ -34940,9 +34951,9 @@ type RegionInstanceGroupManagersSetTemplateRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupManagersSetTemplateRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupManagersSetTemplateRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupManagersSetTemplateRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupsListInstances struct { @@ -34978,9 +34989,9 @@ type RegionInstanceGroupsListInstances struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupsListInstances) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupsListInstances) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupsListInstances - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionInstanceGroupsListInstancesWarning: [Output Only] Informational @@ -35064,9 +35075,9 @@ type RegionInstanceGroupsListInstancesWarning struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupsListInstancesWarning) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupsListInstancesWarning) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupsListInstancesWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupsListInstancesWarningData struct { @@ -35093,9 +35104,9 @@ type RegionInstanceGroupsListInstancesWarningData struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupsListInstancesWarningData) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupsListInstancesWarningData) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupsListInstancesWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupsListInstancesRequest struct { @@ -35124,9 +35135,9 @@ type RegionInstanceGroupsListInstancesRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupsListInstancesRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupsListInstancesRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupsListInstancesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionInstanceGroupsSetNamedPortsRequest struct { @@ -35152,9 +35163,9 @@ type RegionInstanceGroupsSetNamedPortsRequest struct { NullFields []string `json:"-"` } -func (s *RegionInstanceGroupsSetNamedPortsRequest) MarshalJSON() ([]byte, error) { +func (s RegionInstanceGroupsSetNamedPortsRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionInstanceGroupsSetNamedPortsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionList: Contains a list of region resources. @@ -35192,9 +35203,9 @@ type RegionList struct { NullFields []string `json:"-"` } -func (s *RegionList) MarshalJSON() ([]byte, error) { +func (s RegionList) MarshalJSON() ([]byte, error) { type NoMethod RegionList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RegionListWarning: [Output Only] Informational warning message. @@ -35277,9 +35288,9 @@ type RegionListWarning struct { NullFields []string `json:"-"` } -func (s *RegionListWarning) MarshalJSON() ([]byte, error) { +func (s RegionListWarning) MarshalJSON() ([]byte, error) { type NoMethod RegionListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionListWarningData struct { @@ -35306,9 +35317,9 @@ type RegionListWarningData struct { NullFields []string `json:"-"` } -func (s *RegionListWarningData) MarshalJSON() ([]byte, error) { +func (s RegionListWarningData) MarshalJSON() ([]byte, error) { type NoMethod RegionListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionNetworkEndpointGroupsAttachEndpointsRequest struct { @@ -35327,9 +35338,9 @@ type RegionNetworkEndpointGroupsAttachEndpointsRequest struct { NullFields []string `json:"-"` } -func (s *RegionNetworkEndpointGroupsAttachEndpointsRequest) MarshalJSON() ([]byte, error) { +func (s RegionNetworkEndpointGroupsAttachEndpointsRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionNetworkEndpointGroupsAttachEndpointsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionNetworkEndpointGroupsDetachEndpointsRequest struct { @@ -35348,9 +35359,9 @@ type RegionNetworkEndpointGroupsDetachEndpointsRequest struct { NullFields []string `json:"-"` } -func (s *RegionNetworkEndpointGroupsDetachEndpointsRequest) MarshalJSON() ([]byte, error) { +func (s RegionNetworkEndpointGroupsDetachEndpointsRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionNetworkEndpointGroupsDetachEndpointsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse struct { @@ -35374,9 +35385,9 @@ type RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse struct { NullFields []string `json:"-"` } -func (s *RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse) MarshalJSON() ([]byte, error) { +func (s RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse) MarshalJSON() ([]byte, error) { type NoMethod RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy struct { @@ -35408,9 +35419,9 @@ type RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewall NullFields []string `json:"-"` } -func (s *RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy) MarshalJSON() ([]byte, error) { +func (s RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy) MarshalJSON() ([]byte, error) { type NoMethod RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionSetLabelsRequest struct { @@ -35436,9 +35447,9 @@ type RegionSetLabelsRequest struct { NullFields []string `json:"-"` } -func (s *RegionSetLabelsRequest) MarshalJSON() ([]byte, error) { +func (s RegionSetLabelsRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionSetLabelsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionSetPolicyRequest struct { @@ -35466,9 +35477,9 @@ type RegionSetPolicyRequest struct { NullFields []string `json:"-"` } -func (s *RegionSetPolicyRequest) MarshalJSON() ([]byte, error) { +func (s RegionSetPolicyRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionSetPolicyRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionTargetHttpsProxiesSetSslCertificatesRequest struct { @@ -35488,9 +35499,9 @@ type RegionTargetHttpsProxiesSetSslCertificatesRequest struct { NullFields []string `json:"-"` } -func (s *RegionTargetHttpsProxiesSetSslCertificatesRequest) MarshalJSON() ([]byte, error) { +func (s RegionTargetHttpsProxiesSetSslCertificatesRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionTargetHttpsProxiesSetSslCertificatesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RegionUrlMapsValidateRequest struct { @@ -35509,9 +35520,9 @@ type RegionUrlMapsValidateRequest struct { NullFields []string `json:"-"` } -func (s *RegionUrlMapsValidateRequest) MarshalJSON() ([]byte, error) { +func (s RegionUrlMapsValidateRequest) MarshalJSON() ([]byte, error) { type NoMethod RegionUrlMapsValidateRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RequestMirrorPolicy: A policy that specifies how requests intended for the @@ -35539,9 +35550,9 @@ type RequestMirrorPolicy struct { NullFields []string `json:"-"` } -func (s *RequestMirrorPolicy) MarshalJSON() ([]byte, error) { +func (s RequestMirrorPolicy) MarshalJSON() ([]byte, error) { type NoMethod RequestMirrorPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Reservation: Represents a reservation resource. A reservation ensures that @@ -35624,9 +35635,9 @@ type Reservation struct { NullFields []string `json:"-"` } -func (s *Reservation) MarshalJSON() ([]byte, error) { +func (s Reservation) MarshalJSON() ([]byte, error) { type NoMethod Reservation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ReservationAffinity: Specifies the reservations that this instance can @@ -35666,9 +35677,9 @@ type ReservationAffinity struct { NullFields []string `json:"-"` } -func (s *ReservationAffinity) MarshalJSON() ([]byte, error) { +func (s ReservationAffinity) MarshalJSON() ([]byte, error) { type NoMethod ReservationAffinity - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ReservationAggregatedList: Contains a list of reservations. @@ -35707,9 +35718,9 @@ type ReservationAggregatedList struct { NullFields []string `json:"-"` } -func (s *ReservationAggregatedList) MarshalJSON() ([]byte, error) { +func (s ReservationAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod ReservationAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ReservationAggregatedListWarning: [Output Only] Informational warning @@ -35793,9 +35804,9 @@ type ReservationAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *ReservationAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s ReservationAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod ReservationAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ReservationAggregatedListWarningData struct { @@ -35822,9 +35833,9 @@ type ReservationAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *ReservationAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s ReservationAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ReservationAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ReservationList struct { @@ -35862,9 +35873,9 @@ type ReservationList struct { NullFields []string `json:"-"` } -func (s *ReservationList) MarshalJSON() ([]byte, error) { +func (s ReservationList) MarshalJSON() ([]byte, error) { type NoMethod ReservationList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ReservationListWarning: [Output Only] Informational warning message. @@ -35947,9 +35958,9 @@ type ReservationListWarning struct { NullFields []string `json:"-"` } -func (s *ReservationListWarning) MarshalJSON() ([]byte, error) { +func (s ReservationListWarning) MarshalJSON() ([]byte, error) { type NoMethod ReservationListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ReservationListWarningData struct { @@ -35976,9 +35987,9 @@ type ReservationListWarningData struct { NullFields []string `json:"-"` } -func (s *ReservationListWarningData) MarshalJSON() ([]byte, error) { +func (s ReservationListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ReservationListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ReservationsResizeRequest struct { @@ -35998,9 +36009,9 @@ type ReservationsResizeRequest struct { NullFields []string `json:"-"` } -func (s *ReservationsResizeRequest) MarshalJSON() ([]byte, error) { +func (s ReservationsResizeRequest) MarshalJSON() ([]byte, error) { type NoMethod ReservationsResizeRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ReservationsScopedList struct { @@ -36022,9 +36033,9 @@ type ReservationsScopedList struct { NullFields []string `json:"-"` } -func (s *ReservationsScopedList) MarshalJSON() ([]byte, error) { +func (s ReservationsScopedList) MarshalJSON() ([]byte, error) { type NoMethod ReservationsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ReservationsScopedListWarning: Informational warning which replaces the list @@ -36108,9 +36119,9 @@ type ReservationsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *ReservationsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s ReservationsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod ReservationsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ReservationsScopedListWarningData struct { @@ -36137,9 +36148,9 @@ type ReservationsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *ReservationsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s ReservationsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ReservationsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourceCommitment: Commitment for a particular resource (a Commitment is @@ -36176,9 +36187,9 @@ type ResourceCommitment struct { NullFields []string `json:"-"` } -func (s *ResourceCommitment) MarshalJSON() ([]byte, error) { +func (s ResourceCommitment) MarshalJSON() ([]byte, error) { type NoMethod ResourceCommitment - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ResourceGroupReference struct { @@ -36198,9 +36209,9 @@ type ResourceGroupReference struct { NullFields []string `json:"-"` } -func (s *ResourceGroupReference) MarshalJSON() ([]byte, error) { +func (s ResourceGroupReference) MarshalJSON() ([]byte, error) { type NoMethod ResourceGroupReference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ResourcePoliciesScopedList struct { @@ -36222,9 +36233,9 @@ type ResourcePoliciesScopedList struct { NullFields []string `json:"-"` } -func (s *ResourcePoliciesScopedList) MarshalJSON() ([]byte, error) { +func (s ResourcePoliciesScopedList) MarshalJSON() ([]byte, error) { type NoMethod ResourcePoliciesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePoliciesScopedListWarning: Informational warning which replaces the @@ -36308,9 +36319,9 @@ type ResourcePoliciesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *ResourcePoliciesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s ResourcePoliciesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod ResourcePoliciesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ResourcePoliciesScopedListWarningData struct { @@ -36337,9 +36348,9 @@ type ResourcePoliciesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *ResourcePoliciesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s ResourcePoliciesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ResourcePoliciesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicy: Represents a Resource Policy resource. You can use resource @@ -36404,9 +36415,9 @@ type ResourcePolicy struct { NullFields []string `json:"-"` } -func (s *ResourcePolicy) MarshalJSON() ([]byte, error) { +func (s ResourcePolicy) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicyAggregatedList: Contains a list of resourcePolicies. @@ -36446,9 +36457,9 @@ type ResourcePolicyAggregatedList struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyAggregatedList) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicyAggregatedListWarning: [Output Only] Informational warning @@ -36532,9 +36543,9 @@ type ResourcePolicyAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ResourcePolicyAggregatedListWarningData struct { @@ -36561,9 +36572,9 @@ type ResourcePolicyAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicyDailyCycle: Time window specified for daily operations. @@ -36591,9 +36602,9 @@ type ResourcePolicyDailyCycle struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyDailyCycle) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyDailyCycle) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyDailyCycle - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicyDiskConsistencyGroupPolicy: Resource policy for disk @@ -36631,9 +36642,9 @@ type ResourcePolicyGroupPlacementPolicy struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyGroupPlacementPolicy) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyGroupPlacementPolicy) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyGroupPlacementPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicyHourlyCycle: Time window specified for hourly operations. @@ -36660,9 +36671,9 @@ type ResourcePolicyHourlyCycle struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyHourlyCycle) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyHourlyCycle) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyHourlyCycle - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicyInstanceSchedulePolicy: An InstanceSchedulePolicy specifies @@ -36695,9 +36706,9 @@ type ResourcePolicyInstanceSchedulePolicy struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyInstanceSchedulePolicy) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyInstanceSchedulePolicy) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyInstanceSchedulePolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicyInstanceSchedulePolicySchedule: Schedule for an instance @@ -36719,9 +36730,9 @@ type ResourcePolicyInstanceSchedulePolicySchedule struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyInstanceSchedulePolicySchedule) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyInstanceSchedulePolicySchedule) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyInstanceSchedulePolicySchedule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ResourcePolicyList struct { @@ -36760,9 +36771,9 @@ type ResourcePolicyList struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyList) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyList) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicyListWarning: [Output Only] Informational warning message. @@ -36845,9 +36856,9 @@ type ResourcePolicyListWarning struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyListWarning) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyListWarning) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ResourcePolicyListWarningData struct { @@ -36874,9 +36885,9 @@ type ResourcePolicyListWarningData struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyListWarningData) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicyResourceStatus: Contains output only fields. Use this @@ -36901,9 +36912,9 @@ type ResourcePolicyResourceStatus struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyResourceStatus) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyResourceStatus) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyResourceStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ResourcePolicyResourceStatusInstanceSchedulePolicyStatus struct { @@ -36927,9 +36938,9 @@ type ResourcePolicyResourceStatusInstanceSchedulePolicyStatus struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyResourceStatusInstanceSchedulePolicyStatus) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyResourceStatusInstanceSchedulePolicyStatus) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyResourceStatusInstanceSchedulePolicyStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicySnapshotSchedulePolicy: A snapshot schedule policy specifies @@ -36960,9 +36971,9 @@ type ResourcePolicySnapshotSchedulePolicy struct { NullFields []string `json:"-"` } -func (s *ResourcePolicySnapshotSchedulePolicy) MarshalJSON() ([]byte, error) { +func (s ResourcePolicySnapshotSchedulePolicy) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicySnapshotSchedulePolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicySnapshotSchedulePolicyRetentionPolicy: Policy for retention of @@ -36991,9 +37002,9 @@ type ResourcePolicySnapshotSchedulePolicyRetentionPolicy struct { NullFields []string `json:"-"` } -func (s *ResourcePolicySnapshotSchedulePolicyRetentionPolicy) MarshalJSON() ([]byte, error) { +func (s ResourcePolicySnapshotSchedulePolicyRetentionPolicy) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicySnapshotSchedulePolicyRetentionPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicySnapshotSchedulePolicySchedule: A schedule for disks where the @@ -37015,9 +37026,9 @@ type ResourcePolicySnapshotSchedulePolicySchedule struct { NullFields []string `json:"-"` } -func (s *ResourcePolicySnapshotSchedulePolicySchedule) MarshalJSON() ([]byte, error) { +func (s ResourcePolicySnapshotSchedulePolicySchedule) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicySnapshotSchedulePolicySchedule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicySnapshotSchedulePolicySnapshotProperties: Specified snapshot @@ -37046,9 +37057,9 @@ type ResourcePolicySnapshotSchedulePolicySnapshotProperties struct { NullFields []string `json:"-"` } -func (s *ResourcePolicySnapshotSchedulePolicySnapshotProperties) MarshalJSON() ([]byte, error) { +func (s ResourcePolicySnapshotSchedulePolicySnapshotProperties) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicySnapshotSchedulePolicySnapshotProperties - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourcePolicyWeeklyCycle: Time window specified for weekly operations. @@ -37068,9 +37079,9 @@ type ResourcePolicyWeeklyCycle struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyWeeklyCycle) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyWeeklyCycle) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyWeeklyCycle - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ResourcePolicyWeeklyCycleDayOfWeek struct { @@ -37107,9 +37118,9 @@ type ResourcePolicyWeeklyCycleDayOfWeek struct { NullFields []string `json:"-"` } -func (s *ResourcePolicyWeeklyCycleDayOfWeek) MarshalJSON() ([]byte, error) { +func (s ResourcePolicyWeeklyCycleDayOfWeek) MarshalJSON() ([]byte, error) { type NoMethod ResourcePolicyWeeklyCycleDayOfWeek - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourceStatus: Contains output only fields. Use this sub-message for actual @@ -37133,9 +37144,9 @@ type ResourceStatus struct { NullFields []string `json:"-"` } -func (s *ResourceStatus) MarshalJSON() ([]byte, error) { +func (s ResourceStatus) MarshalJSON() ([]byte, error) { type NoMethod ResourceStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Route: Represents a Route resource. A route defines a path from VM instances @@ -37264,9 +37275,9 @@ type Route struct { NullFields []string `json:"-"` } -func (s *Route) MarshalJSON() ([]byte, error) { +func (s Route) MarshalJSON() ([]byte, error) { type NoMethod Route - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouteWarnings struct { @@ -37348,9 +37359,9 @@ type RouteWarnings struct { NullFields []string `json:"-"` } -func (s *RouteWarnings) MarshalJSON() ([]byte, error) { +func (s RouteWarnings) MarshalJSON() ([]byte, error) { type NoMethod RouteWarnings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouteWarningsData struct { @@ -37377,9 +37388,9 @@ type RouteWarningsData struct { NullFields []string `json:"-"` } -func (s *RouteWarningsData) MarshalJSON() ([]byte, error) { +func (s RouteWarningsData) MarshalJSON() ([]byte, error) { type NoMethod RouteWarningsData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouteAsPath struct { @@ -37412,9 +37423,9 @@ type RouteAsPath struct { NullFields []string `json:"-"` } -func (s *RouteAsPath) MarshalJSON() ([]byte, error) { +func (s RouteAsPath) MarshalJSON() ([]byte, error) { type NoMethod RouteAsPath - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouteList: Contains a list of Route resources. @@ -37451,9 +37462,9 @@ type RouteList struct { NullFields []string `json:"-"` } -func (s *RouteList) MarshalJSON() ([]byte, error) { +func (s RouteList) MarshalJSON() ([]byte, error) { type NoMethod RouteList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouteListWarning: [Output Only] Informational warning message. @@ -37536,9 +37547,9 @@ type RouteListWarning struct { NullFields []string `json:"-"` } -func (s *RouteListWarning) MarshalJSON() ([]byte, error) { +func (s RouteListWarning) MarshalJSON() ([]byte, error) { type NoMethod RouteListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouteListWarningData struct { @@ -37565,9 +37576,9 @@ type RouteListWarningData struct { NullFields []string `json:"-"` } -func (s *RouteListWarningData) MarshalJSON() ([]byte, error) { +func (s RouteListWarningData) MarshalJSON() ([]byte, error) { type NoMethod RouteListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Router: Represents a Cloud Router resource. For more information about Cloud @@ -37634,9 +37645,9 @@ type Router struct { NullFields []string `json:"-"` } -func (s *Router) MarshalJSON() ([]byte, error) { +func (s Router) MarshalJSON() ([]byte, error) { type NoMethod Router - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouterAdvertisedIpRange: Description-tagged IP ranges for the router to @@ -37659,9 +37670,9 @@ type RouterAdvertisedIpRange struct { NullFields []string `json:"-"` } -func (s *RouterAdvertisedIpRange) MarshalJSON() ([]byte, error) { +func (s RouterAdvertisedIpRange) MarshalJSON() ([]byte, error) { type NoMethod RouterAdvertisedIpRange - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouterAggregatedList: Contains a list of routers. @@ -37700,9 +37711,9 @@ type RouterAggregatedList struct { NullFields []string `json:"-"` } -func (s *RouterAggregatedList) MarshalJSON() ([]byte, error) { +func (s RouterAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod RouterAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouterAggregatedListWarning: [Output Only] Informational warning message. @@ -37785,9 +37796,9 @@ type RouterAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *RouterAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s RouterAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod RouterAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterAggregatedListWarningData struct { @@ -37814,9 +37825,9 @@ type RouterAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *RouterAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s RouterAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod RouterAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterBgp struct { @@ -37876,9 +37887,9 @@ type RouterBgp struct { NullFields []string `json:"-"` } -func (s *RouterBgp) MarshalJSON() ([]byte, error) { +func (s RouterBgp) MarshalJSON() ([]byte, error) { type NoMethod RouterBgp - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterBgpPeer struct { @@ -38018,9 +38029,9 @@ type RouterBgpPeer struct { NullFields []string `json:"-"` } -func (s *RouterBgpPeer) MarshalJSON() ([]byte, error) { +func (s RouterBgpPeer) MarshalJSON() ([]byte, error) { type NoMethod RouterBgpPeer - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterBgpPeerBfd struct { @@ -38064,9 +38075,9 @@ type RouterBgpPeerBfd struct { NullFields []string `json:"-"` } -func (s *RouterBgpPeerBfd) MarshalJSON() ([]byte, error) { +func (s RouterBgpPeerBfd) MarshalJSON() ([]byte, error) { type NoMethod RouterBgpPeerBfd - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterBgpPeerCustomLearnedIpRange struct { @@ -38088,9 +38099,9 @@ type RouterBgpPeerCustomLearnedIpRange struct { NullFields []string `json:"-"` } -func (s *RouterBgpPeerCustomLearnedIpRange) MarshalJSON() ([]byte, error) { +func (s RouterBgpPeerCustomLearnedIpRange) MarshalJSON() ([]byte, error) { type NoMethod RouterBgpPeerCustomLearnedIpRange - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterInterface struct { @@ -38178,9 +38189,9 @@ type RouterInterface struct { NullFields []string `json:"-"` } -func (s *RouterInterface) MarshalJSON() ([]byte, error) { +func (s RouterInterface) MarshalJSON() ([]byte, error) { type NoMethod RouterInterface - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouterList: Contains a list of Router resources. @@ -38217,9 +38228,9 @@ type RouterList struct { NullFields []string `json:"-"` } -func (s *RouterList) MarshalJSON() ([]byte, error) { +func (s RouterList) MarshalJSON() ([]byte, error) { type NoMethod RouterList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouterListWarning: [Output Only] Informational warning message. @@ -38302,9 +38313,9 @@ type RouterListWarning struct { NullFields []string `json:"-"` } -func (s *RouterListWarning) MarshalJSON() ([]byte, error) { +func (s RouterListWarning) MarshalJSON() ([]byte, error) { type NoMethod RouterListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterListWarningData struct { @@ -38331,9 +38342,9 @@ type RouterListWarningData struct { NullFields []string `json:"-"` } -func (s *RouterListWarningData) MarshalJSON() ([]byte, error) { +func (s RouterListWarningData) MarshalJSON() ([]byte, error) { type NoMethod RouterListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterMd5AuthenticationKey struct { @@ -38358,9 +38369,9 @@ type RouterMd5AuthenticationKey struct { NullFields []string `json:"-"` } -func (s *RouterMd5AuthenticationKey) MarshalJSON() ([]byte, error) { +func (s RouterMd5AuthenticationKey) MarshalJSON() ([]byte, error) { type NoMethod RouterMd5AuthenticationKey - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouterNat: Represents a Nat resource. It enables the VMs within the @@ -38499,9 +38510,9 @@ type RouterNat struct { NullFields []string `json:"-"` } -func (s *RouterNat) MarshalJSON() ([]byte, error) { +func (s RouterNat) MarshalJSON() ([]byte, error) { type NoMethod RouterNat - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouterNatLogConfig: Configuration of logging on a NAT. @@ -38533,9 +38544,9 @@ type RouterNatLogConfig struct { NullFields []string `json:"-"` } -func (s *RouterNatLogConfig) MarshalJSON() ([]byte, error) { +func (s RouterNatLogConfig) MarshalJSON() ([]byte, error) { type NoMethod RouterNatLogConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterNatRule struct { @@ -38570,9 +38581,9 @@ type RouterNatRule struct { NullFields []string `json:"-"` } -func (s *RouterNatRule) MarshalJSON() ([]byte, error) { +func (s RouterNatRule) MarshalJSON() ([]byte, error) { type NoMethod RouterNatRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterNatRuleAction struct { @@ -38607,9 +38618,9 @@ type RouterNatRuleAction struct { NullFields []string `json:"-"` } -func (s *RouterNatRuleAction) MarshalJSON() ([]byte, error) { +func (s RouterNatRuleAction) MarshalJSON() ([]byte, error) { type NoMethod RouterNatRuleAction - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouterNatSubnetworkToNat: Defines the IP ranges that want to use NAT for a @@ -38648,9 +38659,9 @@ type RouterNatSubnetworkToNat struct { NullFields []string `json:"-"` } -func (s *RouterNatSubnetworkToNat) MarshalJSON() ([]byte, error) { +func (s RouterNatSubnetworkToNat) MarshalJSON() ([]byte, error) { type NoMethod RouterNatSubnetworkToNat - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterStatus struct { @@ -38683,9 +38694,9 @@ type RouterStatus struct { NullFields []string `json:"-"` } -func (s *RouterStatus) MarshalJSON() ([]byte, error) { +func (s RouterStatus) MarshalJSON() ([]byte, error) { type NoMethod RouterStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterStatusBgpPeerStatus struct { @@ -38764,9 +38775,9 @@ type RouterStatusBgpPeerStatus struct { NullFields []string `json:"-"` } -func (s *RouterStatusBgpPeerStatus) MarshalJSON() ([]byte, error) { +func (s RouterStatusBgpPeerStatus) MarshalJSON() ([]byte, error) { type NoMethod RouterStatusBgpPeerStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouterStatusNatStatus: Status of a NAT contained in this router. @@ -38811,9 +38822,9 @@ type RouterStatusNatStatus struct { NullFields []string `json:"-"` } -func (s *RouterStatusNatStatus) MarshalJSON() ([]byte, error) { +func (s RouterStatusNatStatus) MarshalJSON() ([]byte, error) { type NoMethod RouterStatusNatStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RouterStatusNatStatusNatRuleStatus: Status of a NAT Rule contained in this @@ -38847,9 +38858,9 @@ type RouterStatusNatStatusNatRuleStatus struct { NullFields []string `json:"-"` } -func (s *RouterStatusNatStatusNatRuleStatus) MarshalJSON() ([]byte, error) { +func (s RouterStatusNatStatusNatRuleStatus) MarshalJSON() ([]byte, error) { type NoMethod RouterStatusNatStatusNatRuleStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RouterStatusResponse struct { @@ -38872,9 +38883,9 @@ type RouterStatusResponse struct { NullFields []string `json:"-"` } -func (s *RouterStatusResponse) MarshalJSON() ([]byte, error) { +func (s RouterStatusResponse) MarshalJSON() ([]byte, error) { type NoMethod RouterStatusResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RoutersPreviewResponse struct { @@ -38896,9 +38907,9 @@ type RoutersPreviewResponse struct { NullFields []string `json:"-"` } -func (s *RoutersPreviewResponse) MarshalJSON() ([]byte, error) { +func (s RoutersPreviewResponse) MarshalJSON() ([]byte, error) { type NoMethod RoutersPreviewResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RoutersScopedList struct { @@ -38920,9 +38931,9 @@ type RoutersScopedList struct { NullFields []string `json:"-"` } -func (s *RoutersScopedList) MarshalJSON() ([]byte, error) { +func (s RoutersScopedList) MarshalJSON() ([]byte, error) { type NoMethod RoutersScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RoutersScopedListWarning: Informational warning which replaces the list of @@ -39006,9 +39017,9 @@ type RoutersScopedListWarning struct { NullFields []string `json:"-"` } -func (s *RoutersScopedListWarning) MarshalJSON() ([]byte, error) { +func (s RoutersScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod RoutersScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type RoutersScopedListWarningData struct { @@ -39035,9 +39046,9 @@ type RoutersScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *RoutersScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s RoutersScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod RoutersScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Rule: This is deprecated and has no effect. Do not use. @@ -39077,9 +39088,9 @@ type Rule struct { NullFields []string `json:"-"` } -func (s *Rule) MarshalJSON() ([]byte, error) { +func (s Rule) MarshalJSON() ([]byte, error) { type NoMethod Rule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SSLHealthCheck struct { @@ -39148,9 +39159,9 @@ type SSLHealthCheck struct { NullFields []string `json:"-"` } -func (s *SSLHealthCheck) MarshalJSON() ([]byte, error) { +func (s SSLHealthCheck) MarshalJSON() ([]byte, error) { type NoMethod SSLHealthCheck - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SavedAttachedDisk: DEPRECATED: Please use compute#savedDisk instead. An @@ -39233,9 +39244,9 @@ type SavedAttachedDisk struct { NullFields []string `json:"-"` } -func (s *SavedAttachedDisk) MarshalJSON() ([]byte, error) { +func (s SavedAttachedDisk) MarshalJSON() ([]byte, error) { type NoMethod SavedAttachedDisk - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SavedDisk: An instance-attached disk resource. @@ -39279,9 +39290,9 @@ type SavedDisk struct { NullFields []string `json:"-"` } -func (s *SavedDisk) MarshalJSON() ([]byte, error) { +func (s SavedDisk) MarshalJSON() ([]byte, error) { type NoMethod SavedDisk - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ScalingScheduleStatus struct { @@ -39317,9 +39328,9 @@ type ScalingScheduleStatus struct { NullFields []string `json:"-"` } -func (s *ScalingScheduleStatus) MarshalJSON() ([]byte, error) { +func (s ScalingScheduleStatus) MarshalJSON() ([]byte, error) { type NoMethod ScalingScheduleStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Scheduling: Sets the scheduling options for an Instance. @@ -39331,6 +39342,10 @@ type Scheduling struct { // set to true so an instance is automatically restarted if it is terminated by // Compute Engine. AutomaticRestart *bool `json:"automaticRestart,omitempty"` + // AvailabilityDomain: Specifies the availability domain to place the instance + // in. The value must be a number between 1 and the number of availability + // domains specified in the spread placement policy attached to the instance. + AvailabilityDomain int64 `json:"availabilityDomain,omitempty"` // InstanceTerminationAction: Specifies the termination action for the // instance. // @@ -39404,9 +39419,9 @@ type Scheduling struct { NullFields []string `json:"-"` } -func (s *Scheduling) MarshalJSON() ([]byte, error) { +func (s Scheduling) MarshalJSON() ([]byte, error) { type NoMethod Scheduling - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SchedulingNodeAffinity: Node Affinity: the configuration of desired nodes @@ -39437,9 +39452,9 @@ type SchedulingNodeAffinity struct { NullFields []string `json:"-"` } -func (s *SchedulingNodeAffinity) MarshalJSON() ([]byte, error) { +func (s SchedulingNodeAffinity) MarshalJSON() ([]byte, error) { type NoMethod SchedulingNodeAffinity - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SchedulingOnInstanceStopAction: Defines the behaviour for instances with the @@ -39462,9 +39477,9 @@ type SchedulingOnInstanceStopAction struct { NullFields []string `json:"-"` } -func (s *SchedulingOnInstanceStopAction) MarshalJSON() ([]byte, error) { +func (s SchedulingOnInstanceStopAction) MarshalJSON() ([]byte, error) { type NoMethod SchedulingOnInstanceStopAction - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Screenshot: An instance's screenshot. @@ -39490,9 +39505,9 @@ type Screenshot struct { NullFields []string `json:"-"` } -func (s *Screenshot) MarshalJSON() ([]byte, error) { +func (s Screenshot) MarshalJSON() ([]byte, error) { type NoMethod Screenshot - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPoliciesAggregatedList struct { @@ -39532,9 +39547,9 @@ type SecurityPoliciesAggregatedList struct { NullFields []string `json:"-"` } -func (s *SecurityPoliciesAggregatedList) MarshalJSON() ([]byte, error) { +func (s SecurityPoliciesAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod SecurityPoliciesAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecurityPoliciesAggregatedListWarning: [Output Only] Informational warning @@ -39618,9 +39633,9 @@ type SecurityPoliciesAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *SecurityPoliciesAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s SecurityPoliciesAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod SecurityPoliciesAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPoliciesAggregatedListWarningData struct { @@ -39647,9 +39662,9 @@ type SecurityPoliciesAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *SecurityPoliciesAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s SecurityPoliciesAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SecurityPoliciesAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPoliciesListPreconfiguredExpressionSetsResponse struct { @@ -39670,9 +39685,9 @@ type SecurityPoliciesListPreconfiguredExpressionSetsResponse struct { NullFields []string `json:"-"` } -func (s *SecurityPoliciesListPreconfiguredExpressionSetsResponse) MarshalJSON() ([]byte, error) { +func (s SecurityPoliciesListPreconfiguredExpressionSetsResponse) MarshalJSON() ([]byte, error) { type NoMethod SecurityPoliciesListPreconfiguredExpressionSetsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPoliciesScopedList struct { @@ -39694,9 +39709,9 @@ type SecurityPoliciesScopedList struct { NullFields []string `json:"-"` } -func (s *SecurityPoliciesScopedList) MarshalJSON() ([]byte, error) { +func (s SecurityPoliciesScopedList) MarshalJSON() ([]byte, error) { type NoMethod SecurityPoliciesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecurityPoliciesScopedListWarning: Informational warning which replaces the @@ -39780,9 +39795,9 @@ type SecurityPoliciesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *SecurityPoliciesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s SecurityPoliciesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod SecurityPoliciesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPoliciesScopedListWarningData struct { @@ -39809,9 +39824,9 @@ type SecurityPoliciesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *SecurityPoliciesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s SecurityPoliciesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SecurityPoliciesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPoliciesWafConfig struct { @@ -39829,9 +39844,9 @@ type SecurityPoliciesWafConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPoliciesWafConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPoliciesWafConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPoliciesWafConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecurityPolicy: Represents a Google Cloud Armor security policy resource. @@ -39938,9 +39953,9 @@ type SecurityPolicy struct { NullFields []string `json:"-"` } -func (s *SecurityPolicy) MarshalJSON() ([]byte, error) { +func (s SecurityPolicy) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecurityPolicyAdaptiveProtectionConfig: Configuration options for Cloud @@ -39962,9 +39977,9 @@ type SecurityPolicyAdaptiveProtectionConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyAdaptiveProtectionConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyAdaptiveProtectionConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyAdaptiveProtectionConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig: Configuration @@ -39998,9 +40013,9 @@ type SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig struct { @@ -40030,9 +40045,9 @@ type SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfi NullFields []string `json:"-"` } -func (s *SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig) UnmarshalJSON(data []byte) error { @@ -40089,9 +40104,9 @@ type SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfi NullFields []string `json:"-"` } -func (s *SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyAdvancedOptionsConfig struct { @@ -40123,9 +40138,9 @@ type SecurityPolicyAdvancedOptionsConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyAdvancedOptionsConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyAdvancedOptionsConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyAdvancedOptionsConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyAdvancedOptionsConfigJsonCustomConfig struct { @@ -40148,9 +40163,9 @@ type SecurityPolicyAdvancedOptionsConfigJsonCustomConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyAdvancedOptionsConfigJsonCustomConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyAdvancedOptionsConfigJsonCustomConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyAdvancedOptionsConfigJsonCustomConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyDdosProtectionConfig struct { @@ -40171,9 +40186,9 @@ type SecurityPolicyDdosProtectionConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyDdosProtectionConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyDdosProtectionConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyDdosProtectionConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyList struct { @@ -40208,9 +40223,9 @@ type SecurityPolicyList struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyList) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyList) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecurityPolicyListWarning: [Output Only] Informational warning message. @@ -40293,9 +40308,9 @@ type SecurityPolicyListWarning struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyListWarning) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyListWarning) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyListWarningData struct { @@ -40322,9 +40337,9 @@ type SecurityPolicyListWarningData struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyListWarningData) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRecaptchaOptionsConfig struct { @@ -40349,9 +40364,9 @@ type SecurityPolicyRecaptchaOptionsConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRecaptchaOptionsConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRecaptchaOptionsConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRecaptchaOptionsConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyReference struct { @@ -40369,9 +40384,9 @@ type SecurityPolicyReference struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyReference) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyReference) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyReference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecurityPolicyRule: Represents a rule that describes one or more match @@ -40461,9 +40476,9 @@ type SecurityPolicyRule struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRule) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRule) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRuleHttpHeaderAction struct { @@ -40483,9 +40498,9 @@ type SecurityPolicyRuleHttpHeaderAction struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleHttpHeaderAction) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleHttpHeaderAction) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleHttpHeaderAction - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRuleHttpHeaderActionHttpHeaderOption struct { @@ -40506,9 +40521,9 @@ type SecurityPolicyRuleHttpHeaderActionHttpHeaderOption struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleHttpHeaderActionHttpHeaderOption) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleHttpHeaderActionHttpHeaderOption) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleHttpHeaderActionHttpHeaderOption - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecurityPolicyRuleMatcher: Represents a match condition that incoming @@ -40551,9 +40566,9 @@ type SecurityPolicyRuleMatcher struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleMatcher) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleMatcher) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleMatcher - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRuleMatcherConfig struct { @@ -40573,9 +40588,9 @@ type SecurityPolicyRuleMatcherConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleMatcherConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleMatcherConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleMatcherConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRuleMatcherExprOptions struct { @@ -40596,9 +40611,9 @@ type SecurityPolicyRuleMatcherExprOptions struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleMatcherExprOptions) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleMatcherExprOptions) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleMatcherExprOptions - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions struct { @@ -40623,9 +40638,9 @@ type SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecurityPolicyRuleNetworkMatcher: Represents a match condition that incoming @@ -40669,9 +40684,9 @@ type SecurityPolicyRuleNetworkMatcher struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleNetworkMatcher) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleNetworkMatcher) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleNetworkMatcher - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch struct { @@ -40694,9 +40709,9 @@ type SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRulePreconfiguredWafConfig struct { @@ -40716,9 +40731,9 @@ type SecurityPolicyRulePreconfiguredWafConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRulePreconfiguredWafConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRulePreconfiguredWafConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRulePreconfiguredWafConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRulePreconfiguredWafConfigExclusion struct { @@ -40755,9 +40770,9 @@ type SecurityPolicyRulePreconfiguredWafConfigExclusion struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRulePreconfiguredWafConfigExclusion) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRulePreconfiguredWafConfigExclusion) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRulePreconfiguredWafConfigExclusion - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams struct { @@ -40789,9 +40804,9 @@ type SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRuleRateLimitOptions struct { @@ -40885,9 +40900,9 @@ type SecurityPolicyRuleRateLimitOptions struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleRateLimitOptions) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleRateLimitOptions) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleRateLimitOptions - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig struct { @@ -40948,9 +40963,9 @@ type SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRuleRateLimitOptionsThreshold struct { @@ -40971,9 +40986,9 @@ type SecurityPolicyRuleRateLimitOptionsThreshold struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleRateLimitOptionsThreshold) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleRateLimitOptionsThreshold) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleRateLimitOptionsThreshold - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyRuleRedirectOptions struct { @@ -40999,9 +41014,9 @@ type SecurityPolicyRuleRedirectOptions struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyRuleRedirectOptions) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyRuleRedirectOptions) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyRuleRedirectOptions - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SecurityPolicyUserDefinedField struct { @@ -41044,9 +41059,9 @@ type SecurityPolicyUserDefinedField struct { NullFields []string `json:"-"` } -func (s *SecurityPolicyUserDefinedField) MarshalJSON() ([]byte, error) { +func (s SecurityPolicyUserDefinedField) MarshalJSON() ([]byte, error) { type NoMethod SecurityPolicyUserDefinedField - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecuritySettings: The authentication and authorization settings for a @@ -41089,9 +41104,9 @@ type SecuritySettings struct { NullFields []string `json:"-"` } -func (s *SecuritySettings) MarshalJSON() ([]byte, error) { +func (s SecuritySettings) MarshalJSON() ([]byte, error) { type NoMethod SecuritySettings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SerialPortOutput: An instance serial console output. @@ -41130,9 +41145,9 @@ type SerialPortOutput struct { NullFields []string `json:"-"` } -func (s *SerialPortOutput) MarshalJSON() ([]byte, error) { +func (s SerialPortOutput) MarshalJSON() ([]byte, error) { type NoMethod SerialPortOutput - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ServerBinding struct { @@ -41156,9 +41171,9 @@ type ServerBinding struct { NullFields []string `json:"-"` } -func (s *ServerBinding) MarshalJSON() ([]byte, error) { +func (s ServerBinding) MarshalJSON() ([]byte, error) { type NoMethod ServerBinding - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceAccount: A service account. @@ -41180,9 +41195,9 @@ type ServiceAccount struct { NullFields []string `json:"-"` } -func (s *ServiceAccount) MarshalJSON() ([]byte, error) { +func (s ServiceAccount) MarshalJSON() ([]byte, error) { type NoMethod ServiceAccount - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceAttachment: Represents a ServiceAttachment resource. A service @@ -41299,9 +41314,9 @@ type ServiceAttachment struct { NullFields []string `json:"-"` } -func (s *ServiceAttachment) MarshalJSON() ([]byte, error) { +func (s ServiceAttachment) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachment - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceAttachmentAggregatedList: Contains a list of @@ -41341,9 +41356,9 @@ type ServiceAttachmentAggregatedList struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentAggregatedList) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceAttachmentAggregatedListWarning: [Output Only] Informational warning @@ -41427,9 +41442,9 @@ type ServiceAttachmentAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ServiceAttachmentAggregatedListWarningData struct { @@ -41456,9 +41471,9 @@ type ServiceAttachmentAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceAttachmentConnectedEndpoint: [Output Only] A connection connected to @@ -41495,9 +41510,9 @@ type ServiceAttachmentConnectedEndpoint struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentConnectedEndpoint) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentConnectedEndpoint) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentConnectedEndpoint - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ServiceAttachmentConsumerProjectLimit struct { @@ -41521,9 +41536,9 @@ type ServiceAttachmentConsumerProjectLimit struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentConsumerProjectLimit) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentConsumerProjectLimit) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentConsumerProjectLimit - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ServiceAttachmentList struct { @@ -41560,9 +41575,9 @@ type ServiceAttachmentList struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentList) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentList) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceAttachmentListWarning: [Output Only] Informational warning message. @@ -41645,9 +41660,9 @@ type ServiceAttachmentListWarning struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentListWarning) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentListWarning) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ServiceAttachmentListWarningData struct { @@ -41674,9 +41689,9 @@ type ServiceAttachmentListWarningData struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentListWarningData) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ServiceAttachmentsScopedList struct { @@ -41698,9 +41713,9 @@ type ServiceAttachmentsScopedList struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentsScopedList) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentsScopedList) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceAttachmentsScopedListWarning: Informational warning which replaces @@ -41784,9 +41799,9 @@ type ServiceAttachmentsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ServiceAttachmentsScopedListWarningData struct { @@ -41813,9 +41828,9 @@ type ServiceAttachmentsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *ServiceAttachmentsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s ServiceAttachmentsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ServiceAttachmentsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SetCommonInstanceMetadataOperationMetadata struct { @@ -41837,9 +41852,9 @@ type SetCommonInstanceMetadataOperationMetadata struct { NullFields []string `json:"-"` } -func (s *SetCommonInstanceMetadataOperationMetadata) MarshalJSON() ([]byte, error) { +func (s SetCommonInstanceMetadataOperationMetadata) MarshalJSON() ([]byte, error) { type NoMethod SetCommonInstanceMetadataOperationMetadata - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo struct { @@ -41872,9 +41887,9 @@ type SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo struct { NullFields []string `json:"-"` } -func (s *SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo) MarshalJSON() ([]byte, error) { +func (s SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo) MarshalJSON() ([]byte, error) { type NoMethod SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ShareSettings: The share setting for reservations and sole tenancy node @@ -41904,9 +41919,9 @@ type ShareSettings struct { NullFields []string `json:"-"` } -func (s *ShareSettings) MarshalJSON() ([]byte, error) { +func (s ShareSettings) MarshalJSON() ([]byte, error) { type NoMethod ShareSettings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ShareSettingsProjectConfig: Config for each project in the share settings. @@ -41927,9 +41942,9 @@ type ShareSettingsProjectConfig struct { NullFields []string `json:"-"` } -func (s *ShareSettingsProjectConfig) MarshalJSON() ([]byte, error) { +func (s ShareSettingsProjectConfig) MarshalJSON() ([]byte, error) { type NoMethod ShareSettingsProjectConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ShieldedInstanceConfig: A set of Shielded Instance options. @@ -41956,9 +41971,9 @@ type ShieldedInstanceConfig struct { NullFields []string `json:"-"` } -func (s *ShieldedInstanceConfig) MarshalJSON() ([]byte, error) { +func (s ShieldedInstanceConfig) MarshalJSON() ([]byte, error) { type NoMethod ShieldedInstanceConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ShieldedInstanceIdentity: A Shielded Instance Identity. @@ -41988,9 +42003,9 @@ type ShieldedInstanceIdentity struct { NullFields []string `json:"-"` } -func (s *ShieldedInstanceIdentity) MarshalJSON() ([]byte, error) { +func (s ShieldedInstanceIdentity) MarshalJSON() ([]byte, error) { type NoMethod ShieldedInstanceIdentity - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ShieldedInstanceIdentityEntry: A Shielded Instance Identity Entry. @@ -42012,9 +42027,9 @@ type ShieldedInstanceIdentityEntry struct { NullFields []string `json:"-"` } -func (s *ShieldedInstanceIdentityEntry) MarshalJSON() ([]byte, error) { +func (s ShieldedInstanceIdentityEntry) MarshalJSON() ([]byte, error) { type NoMethod ShieldedInstanceIdentityEntry - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ShieldedInstanceIntegrityPolicy: The policy describes the baseline against @@ -42036,9 +42051,9 @@ type ShieldedInstanceIntegrityPolicy struct { NullFields []string `json:"-"` } -func (s *ShieldedInstanceIntegrityPolicy) MarshalJSON() ([]byte, error) { +func (s ShieldedInstanceIntegrityPolicy) MarshalJSON() ([]byte, error) { type NoMethod ShieldedInstanceIntegrityPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SignedUrlKey: Represents a customer-supplied Signing Key used by Cloud CDN @@ -42067,9 +42082,9 @@ type SignedUrlKey struct { NullFields []string `json:"-"` } -func (s *SignedUrlKey) MarshalJSON() ([]byte, error) { +func (s SignedUrlKey) MarshalJSON() ([]byte, error) { type NoMethod SignedUrlKey - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Snapshot: Represents a Persistent Disk Snapshot resource. You can use @@ -42254,9 +42269,9 @@ type Snapshot struct { NullFields []string `json:"-"` } -func (s *Snapshot) MarshalJSON() ([]byte, error) { +func (s Snapshot) MarshalJSON() ([]byte, error) { type NoMethod Snapshot - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SnapshotList: Contains a list of Snapshot resources. @@ -42293,9 +42308,9 @@ type SnapshotList struct { NullFields []string `json:"-"` } -func (s *SnapshotList) MarshalJSON() ([]byte, error) { +func (s SnapshotList) MarshalJSON() ([]byte, error) { type NoMethod SnapshotList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SnapshotListWarning: [Output Only] Informational warning message. @@ -42378,9 +42393,9 @@ type SnapshotListWarning struct { NullFields []string `json:"-"` } -func (s *SnapshotListWarning) MarshalJSON() ([]byte, error) { +func (s SnapshotListWarning) MarshalJSON() ([]byte, error) { type NoMethod SnapshotListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SnapshotListWarningData struct { @@ -42407,9 +42422,9 @@ type SnapshotListWarningData struct { NullFields []string `json:"-"` } -func (s *SnapshotListWarningData) MarshalJSON() ([]byte, error) { +func (s SnapshotListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SnapshotListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SnapshotSettings struct { @@ -42433,9 +42448,9 @@ type SnapshotSettings struct { NullFields []string `json:"-"` } -func (s *SnapshotSettings) MarshalJSON() ([]byte, error) { +func (s SnapshotSettings) MarshalJSON() ([]byte, error) { type NoMethod SnapshotSettings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SnapshotSettingsStorageLocationSettings struct { @@ -42469,9 +42484,9 @@ type SnapshotSettingsStorageLocationSettings struct { NullFields []string `json:"-"` } -func (s *SnapshotSettingsStorageLocationSettings) MarshalJSON() ([]byte, error) { +func (s SnapshotSettingsStorageLocationSettings) MarshalJSON() ([]byte, error) { type NoMethod SnapshotSettingsStorageLocationSettings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SnapshotSettingsStorageLocationSettingsStorageLocationPreference: A @@ -42493,9 +42508,9 @@ type SnapshotSettingsStorageLocationSettingsStorageLocationPreference struct { NullFields []string `json:"-"` } -func (s *SnapshotSettingsStorageLocationSettingsStorageLocationPreference) MarshalJSON() ([]byte, error) { +func (s SnapshotSettingsStorageLocationSettingsStorageLocationPreference) MarshalJSON() ([]byte, error) { type NoMethod SnapshotSettingsStorageLocationSettingsStorageLocationPreference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SourceDiskEncryptionKey struct { @@ -42521,9 +42536,9 @@ type SourceDiskEncryptionKey struct { NullFields []string `json:"-"` } -func (s *SourceDiskEncryptionKey) MarshalJSON() ([]byte, error) { +func (s SourceDiskEncryptionKey) MarshalJSON() ([]byte, error) { type NoMethod SourceDiskEncryptionKey - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SourceInstanceParams: A specification of the parameters to use when creating @@ -42547,9 +42562,9 @@ type SourceInstanceParams struct { NullFields []string `json:"-"` } -func (s *SourceInstanceParams) MarshalJSON() ([]byte, error) { +func (s SourceInstanceParams) MarshalJSON() ([]byte, error) { type NoMethod SourceInstanceParams - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SourceInstanceProperties: DEPRECATED: Please use compute#instanceProperties @@ -42629,9 +42644,9 @@ type SourceInstanceProperties struct { NullFields []string `json:"-"` } -func (s *SourceInstanceProperties) MarshalJSON() ([]byte, error) { +func (s SourceInstanceProperties) MarshalJSON() ([]byte, error) { type NoMethod SourceInstanceProperties - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SslCertificate: Represents an SSL certificate resource. Google Compute @@ -42717,9 +42732,9 @@ type SslCertificate struct { NullFields []string `json:"-"` } -func (s *SslCertificate) MarshalJSON() ([]byte, error) { +func (s SslCertificate) MarshalJSON() ([]byte, error) { type NoMethod SslCertificate - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslCertificateAggregatedList struct { @@ -42758,9 +42773,9 @@ type SslCertificateAggregatedList struct { NullFields []string `json:"-"` } -func (s *SslCertificateAggregatedList) MarshalJSON() ([]byte, error) { +func (s SslCertificateAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod SslCertificateAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SslCertificateAggregatedListWarning: [Output Only] Informational warning @@ -42844,9 +42859,9 @@ type SslCertificateAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *SslCertificateAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s SslCertificateAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod SslCertificateAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslCertificateAggregatedListWarningData struct { @@ -42873,9 +42888,9 @@ type SslCertificateAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *SslCertificateAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s SslCertificateAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SslCertificateAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SslCertificateList: Contains a list of SslCertificate resources. @@ -42912,9 +42927,9 @@ type SslCertificateList struct { NullFields []string `json:"-"` } -func (s *SslCertificateList) MarshalJSON() ([]byte, error) { +func (s SslCertificateList) MarshalJSON() ([]byte, error) { type NoMethod SslCertificateList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SslCertificateListWarning: [Output Only] Informational warning message. @@ -42997,9 +43012,9 @@ type SslCertificateListWarning struct { NullFields []string `json:"-"` } -func (s *SslCertificateListWarning) MarshalJSON() ([]byte, error) { +func (s SslCertificateListWarning) MarshalJSON() ([]byte, error) { type NoMethod SslCertificateListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslCertificateListWarningData struct { @@ -43026,9 +43041,9 @@ type SslCertificateListWarningData struct { NullFields []string `json:"-"` } -func (s *SslCertificateListWarningData) MarshalJSON() ([]byte, error) { +func (s SslCertificateListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SslCertificateListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SslCertificateManagedSslCertificate: Configuration and status of a managed @@ -43076,9 +43091,9 @@ type SslCertificateManagedSslCertificate struct { NullFields []string `json:"-"` } -func (s *SslCertificateManagedSslCertificate) MarshalJSON() ([]byte, error) { +func (s SslCertificateManagedSslCertificate) MarshalJSON() ([]byte, error) { type NoMethod SslCertificateManagedSslCertificate - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SslCertificateSelfManagedSslCertificate: Configuration and status of a @@ -43104,9 +43119,9 @@ type SslCertificateSelfManagedSslCertificate struct { NullFields []string `json:"-"` } -func (s *SslCertificateSelfManagedSslCertificate) MarshalJSON() ([]byte, error) { +func (s SslCertificateSelfManagedSslCertificate) MarshalJSON() ([]byte, error) { type NoMethod SslCertificateSelfManagedSslCertificate - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslCertificatesScopedList struct { @@ -43128,9 +43143,9 @@ type SslCertificatesScopedList struct { NullFields []string `json:"-"` } -func (s *SslCertificatesScopedList) MarshalJSON() ([]byte, error) { +func (s SslCertificatesScopedList) MarshalJSON() ([]byte, error) { type NoMethod SslCertificatesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SslCertificatesScopedListWarning: Informational warning which replaces the @@ -43214,9 +43229,9 @@ type SslCertificatesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *SslCertificatesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s SslCertificatesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod SslCertificatesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslCertificatesScopedListWarningData struct { @@ -43243,9 +43258,9 @@ type SslCertificatesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *SslCertificatesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s SslCertificatesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SslCertificatesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslPoliciesAggregatedList struct { @@ -43285,9 +43300,9 @@ type SslPoliciesAggregatedList struct { NullFields []string `json:"-"` } -func (s *SslPoliciesAggregatedList) MarshalJSON() ([]byte, error) { +func (s SslPoliciesAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod SslPoliciesAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SslPoliciesAggregatedListWarning: [Output Only] Informational warning @@ -43371,9 +43386,9 @@ type SslPoliciesAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *SslPoliciesAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s SslPoliciesAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod SslPoliciesAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslPoliciesAggregatedListWarningData struct { @@ -43400,9 +43415,9 @@ type SslPoliciesAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *SslPoliciesAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s SslPoliciesAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SslPoliciesAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslPoliciesList struct { @@ -43439,9 +43454,9 @@ type SslPoliciesList struct { NullFields []string `json:"-"` } -func (s *SslPoliciesList) MarshalJSON() ([]byte, error) { +func (s SslPoliciesList) MarshalJSON() ([]byte, error) { type NoMethod SslPoliciesList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SslPoliciesListWarning: [Output Only] Informational warning message. @@ -43524,9 +43539,9 @@ type SslPoliciesListWarning struct { NullFields []string `json:"-"` } -func (s *SslPoliciesListWarning) MarshalJSON() ([]byte, error) { +func (s SslPoliciesListWarning) MarshalJSON() ([]byte, error) { type NoMethod SslPoliciesListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslPoliciesListWarningData struct { @@ -43553,9 +43568,9 @@ type SslPoliciesListWarningData struct { NullFields []string `json:"-"` } -func (s *SslPoliciesListWarningData) MarshalJSON() ([]byte, error) { +func (s SslPoliciesListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SslPoliciesListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslPoliciesListAvailableFeaturesResponse struct { @@ -43576,9 +43591,9 @@ type SslPoliciesListAvailableFeaturesResponse struct { NullFields []string `json:"-"` } -func (s *SslPoliciesListAvailableFeaturesResponse) MarshalJSON() ([]byte, error) { +func (s SslPoliciesListAvailableFeaturesResponse) MarshalJSON() ([]byte, error) { type NoMethod SslPoliciesListAvailableFeaturesResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslPoliciesScopedList struct { @@ -43600,9 +43615,9 @@ type SslPoliciesScopedList struct { NullFields []string `json:"-"` } -func (s *SslPoliciesScopedList) MarshalJSON() ([]byte, error) { +func (s SslPoliciesScopedList) MarshalJSON() ([]byte, error) { type NoMethod SslPoliciesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SslPoliciesScopedListWarning: Informational warning which replaces the list @@ -43686,9 +43701,9 @@ type SslPoliciesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *SslPoliciesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s SslPoliciesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod SslPoliciesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslPoliciesScopedListWarningData struct { @@ -43715,9 +43730,9 @@ type SslPoliciesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *SslPoliciesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s SslPoliciesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SslPoliciesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SslPolicy: Represents an SSL Policy resource. Use SSL policies to control @@ -43806,9 +43821,9 @@ type SslPolicy struct { NullFields []string `json:"-"` } -func (s *SslPolicy) MarshalJSON() ([]byte, error) { +func (s SslPolicy) MarshalJSON() ([]byte, error) { type NoMethod SslPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslPolicyWarnings struct { @@ -43890,9 +43905,9 @@ type SslPolicyWarnings struct { NullFields []string `json:"-"` } -func (s *SslPolicyWarnings) MarshalJSON() ([]byte, error) { +func (s SslPolicyWarnings) MarshalJSON() ([]byte, error) { type NoMethod SslPolicyWarnings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslPolicyWarningsData struct { @@ -43919,9 +43934,9 @@ type SslPolicyWarningsData struct { NullFields []string `json:"-"` } -func (s *SslPolicyWarningsData) MarshalJSON() ([]byte, error) { +func (s SslPolicyWarningsData) MarshalJSON() ([]byte, error) { type NoMethod SslPolicyWarningsData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SslPolicyReference struct { @@ -43941,9 +43956,9 @@ type SslPolicyReference struct { NullFields []string `json:"-"` } -func (s *SslPolicyReference) MarshalJSON() ([]byte, error) { +func (s SslPolicyReference) MarshalJSON() ([]byte, error) { type NoMethod SslPolicyReference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StatefulPolicy struct { @@ -43961,9 +43976,9 @@ type StatefulPolicy struct { NullFields []string `json:"-"` } -func (s *StatefulPolicy) MarshalJSON() ([]byte, error) { +func (s StatefulPolicy) MarshalJSON() ([]byte, error) { type NoMethod StatefulPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StatefulPolicyPreservedState: Configuration of preserved resources. @@ -43992,9 +44007,9 @@ type StatefulPolicyPreservedState struct { NullFields []string `json:"-"` } -func (s *StatefulPolicyPreservedState) MarshalJSON() ([]byte, error) { +func (s StatefulPolicyPreservedState) MarshalJSON() ([]byte, error) { type NoMethod StatefulPolicyPreservedState - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StatefulPolicyPreservedStateDiskDevice struct { @@ -44021,9 +44036,9 @@ type StatefulPolicyPreservedStateDiskDevice struct { NullFields []string `json:"-"` } -func (s *StatefulPolicyPreservedStateDiskDevice) MarshalJSON() ([]byte, error) { +func (s StatefulPolicyPreservedStateDiskDevice) MarshalJSON() ([]byte, error) { type NoMethod StatefulPolicyPreservedStateDiskDevice - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StatefulPolicyPreservedStateNetworkIp struct { @@ -44049,9 +44064,9 @@ type StatefulPolicyPreservedStateNetworkIp struct { NullFields []string `json:"-"` } -func (s *StatefulPolicyPreservedStateNetworkIp) MarshalJSON() ([]byte, error) { +func (s StatefulPolicyPreservedStateNetworkIp) MarshalJSON() ([]byte, error) { type NoMethod StatefulPolicyPreservedStateNetworkIp - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Status: The `Status` type defines a logical error model that is suitable for @@ -44083,9 +44098,9 @@ type Status struct { NullFields []string `json:"-"` } -func (s *Status) MarshalJSON() ([]byte, error) { +func (s Status) MarshalJSON() ([]byte, error) { type NoMethod Status - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StoragePool: Represents a zonal storage pool resource. @@ -44195,9 +44210,9 @@ type StoragePool struct { NullFields []string `json:"-"` } -func (s *StoragePool) MarshalJSON() ([]byte, error) { +func (s StoragePool) MarshalJSON() ([]byte, error) { type NoMethod StoragePool - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolAggregatedList struct { @@ -44237,9 +44252,9 @@ type StoragePoolAggregatedList struct { NullFields []string `json:"-"` } -func (s *StoragePoolAggregatedList) MarshalJSON() ([]byte, error) { +func (s StoragePoolAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StoragePoolAggregatedListWarning: [Output Only] Informational warning @@ -44323,9 +44338,9 @@ type StoragePoolAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *StoragePoolAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s StoragePoolAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolAggregatedListWarningData struct { @@ -44352,9 +44367,9 @@ type StoragePoolAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *StoragePoolAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s StoragePoolAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolDisk struct { @@ -44404,9 +44419,9 @@ type StoragePoolDisk struct { NullFields []string `json:"-"` } -func (s *StoragePoolDisk) MarshalJSON() ([]byte, error) { +func (s StoragePoolDisk) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolDisk - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StoragePoolList: A list of StoragePool resources. @@ -44448,9 +44463,9 @@ type StoragePoolList struct { NullFields []string `json:"-"` } -func (s *StoragePoolList) MarshalJSON() ([]byte, error) { +func (s StoragePoolList) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StoragePoolListWarning: [Output Only] Informational warning message. @@ -44533,9 +44548,9 @@ type StoragePoolListWarning struct { NullFields []string `json:"-"` } -func (s *StoragePoolListWarning) MarshalJSON() ([]byte, error) { +func (s StoragePoolListWarning) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolListWarningData struct { @@ -44562,9 +44577,9 @@ type StoragePoolListWarningData struct { NullFields []string `json:"-"` } -func (s *StoragePoolListWarningData) MarshalJSON() ([]byte, error) { +func (s StoragePoolListWarningData) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolListDisks struct { @@ -44605,9 +44620,9 @@ type StoragePoolListDisks struct { NullFields []string `json:"-"` } -func (s *StoragePoolListDisks) MarshalJSON() ([]byte, error) { +func (s StoragePoolListDisks) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolListDisks - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StoragePoolListDisksWarning: [Output Only] Informational warning message. @@ -44690,9 +44705,9 @@ type StoragePoolListDisksWarning struct { NullFields []string `json:"-"` } -func (s *StoragePoolListDisksWarning) MarshalJSON() ([]byte, error) { +func (s StoragePoolListDisksWarning) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolListDisksWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolListDisksWarningData struct { @@ -44719,9 +44734,9 @@ type StoragePoolListDisksWarningData struct { NullFields []string `json:"-"` } -func (s *StoragePoolListDisksWarningData) MarshalJSON() ([]byte, error) { +func (s StoragePoolListDisksWarningData) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolListDisksWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StoragePoolResourceStatus: [Output Only] Contains output only fields. @@ -44774,9 +44789,9 @@ type StoragePoolResourceStatus struct { NullFields []string `json:"-"` } -func (s *StoragePoolResourceStatus) MarshalJSON() ([]byte, error) { +func (s StoragePoolResourceStatus) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolResourceStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolType struct { @@ -44838,9 +44853,9 @@ type StoragePoolType struct { NullFields []string `json:"-"` } -func (s *StoragePoolType) MarshalJSON() ([]byte, error) { +func (s StoragePoolType) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolType - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolTypeAggregatedList struct { @@ -44877,9 +44892,9 @@ type StoragePoolTypeAggregatedList struct { NullFields []string `json:"-"` } -func (s *StoragePoolTypeAggregatedList) MarshalJSON() ([]byte, error) { +func (s StoragePoolTypeAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolTypeAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StoragePoolTypeAggregatedListWarning: [Output Only] Informational warning @@ -44963,9 +44978,9 @@ type StoragePoolTypeAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *StoragePoolTypeAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s StoragePoolTypeAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolTypeAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolTypeAggregatedListWarningData struct { @@ -44992,9 +45007,9 @@ type StoragePoolTypeAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *StoragePoolTypeAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s StoragePoolTypeAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolTypeAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StoragePoolTypeList: Contains a list of storage pool types. @@ -45032,9 +45047,9 @@ type StoragePoolTypeList struct { NullFields []string `json:"-"` } -func (s *StoragePoolTypeList) MarshalJSON() ([]byte, error) { +func (s StoragePoolTypeList) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolTypeList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StoragePoolTypeListWarning: [Output Only] Informational warning message. @@ -45117,9 +45132,9 @@ type StoragePoolTypeListWarning struct { NullFields []string `json:"-"` } -func (s *StoragePoolTypeListWarning) MarshalJSON() ([]byte, error) { +func (s StoragePoolTypeListWarning) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolTypeListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolTypeListWarningData struct { @@ -45146,9 +45161,9 @@ type StoragePoolTypeListWarningData struct { NullFields []string `json:"-"` } -func (s *StoragePoolTypeListWarningData) MarshalJSON() ([]byte, error) { +func (s StoragePoolTypeListWarningData) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolTypeListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolTypesScopedList struct { @@ -45171,9 +45186,9 @@ type StoragePoolTypesScopedList struct { NullFields []string `json:"-"` } -func (s *StoragePoolTypesScopedList) MarshalJSON() ([]byte, error) { +func (s StoragePoolTypesScopedList) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolTypesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StoragePoolTypesScopedListWarning: [Output Only] Informational warning which @@ -45257,9 +45272,9 @@ type StoragePoolTypesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *StoragePoolTypesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s StoragePoolTypesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolTypesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolTypesScopedListWarningData struct { @@ -45286,9 +45301,9 @@ type StoragePoolTypesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *StoragePoolTypesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s StoragePoolTypesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolTypesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolsScopedList struct { @@ -45310,9 +45325,9 @@ type StoragePoolsScopedList struct { NullFields []string `json:"-"` } -func (s *StoragePoolsScopedList) MarshalJSON() ([]byte, error) { +func (s StoragePoolsScopedList) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StoragePoolsScopedListWarning: [Output Only] Informational warning which @@ -45396,9 +45411,9 @@ type StoragePoolsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *StoragePoolsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s StoragePoolsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type StoragePoolsScopedListWarningData struct { @@ -45425,9 +45440,9 @@ type StoragePoolsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *StoragePoolsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s StoragePoolsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod StoragePoolsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Subnetwork: Represents a Subnetwork resource. A subnetwork (also known as a @@ -45606,9 +45621,9 @@ type Subnetwork struct { NullFields []string `json:"-"` } -func (s *Subnetwork) MarshalJSON() ([]byte, error) { +func (s Subnetwork) MarshalJSON() ([]byte, error) { type NoMethod Subnetwork - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SubnetworkAggregatedList struct { @@ -45647,9 +45662,9 @@ type SubnetworkAggregatedList struct { NullFields []string `json:"-"` } -func (s *SubnetworkAggregatedList) MarshalJSON() ([]byte, error) { +func (s SubnetworkAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod SubnetworkAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SubnetworkAggregatedListWarning: [Output Only] Informational warning @@ -45733,9 +45748,9 @@ type SubnetworkAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *SubnetworkAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s SubnetworkAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod SubnetworkAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SubnetworkAggregatedListWarningData struct { @@ -45762,9 +45777,9 @@ type SubnetworkAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *SubnetworkAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s SubnetworkAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SubnetworkAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SubnetworkList: Contains a list of Subnetwork resources. @@ -45802,9 +45817,9 @@ type SubnetworkList struct { NullFields []string `json:"-"` } -func (s *SubnetworkList) MarshalJSON() ([]byte, error) { +func (s SubnetworkList) MarshalJSON() ([]byte, error) { type NoMethod SubnetworkList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SubnetworkListWarning: [Output Only] Informational warning message. @@ -45887,9 +45902,9 @@ type SubnetworkListWarning struct { NullFields []string `json:"-"` } -func (s *SubnetworkListWarning) MarshalJSON() ([]byte, error) { +func (s SubnetworkListWarning) MarshalJSON() ([]byte, error) { type NoMethod SubnetworkListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SubnetworkListWarningData struct { @@ -45916,9 +45931,9 @@ type SubnetworkListWarningData struct { NullFields []string `json:"-"` } -func (s *SubnetworkListWarningData) MarshalJSON() ([]byte, error) { +func (s SubnetworkListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SubnetworkListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SubnetworkLogConfig: The available logging options for this subnetwork. @@ -45979,9 +45994,9 @@ type SubnetworkLogConfig struct { NullFields []string `json:"-"` } -func (s *SubnetworkLogConfig) MarshalJSON() ([]byte, error) { +func (s SubnetworkLogConfig) MarshalJSON() ([]byte, error) { type NoMethod SubnetworkLogConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *SubnetworkLogConfig) UnmarshalJSON(data []byte) error { @@ -46026,9 +46041,9 @@ type SubnetworkSecondaryRange struct { NullFields []string `json:"-"` } -func (s *SubnetworkSecondaryRange) MarshalJSON() ([]byte, error) { +func (s SubnetworkSecondaryRange) MarshalJSON() ([]byte, error) { type NoMethod SubnetworkSecondaryRange - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SubnetworksExpandIpCidrRangeRequest struct { @@ -46050,9 +46065,9 @@ type SubnetworksExpandIpCidrRangeRequest struct { NullFields []string `json:"-"` } -func (s *SubnetworksExpandIpCidrRangeRequest) MarshalJSON() ([]byte, error) { +func (s SubnetworksExpandIpCidrRangeRequest) MarshalJSON() ([]byte, error) { type NoMethod SubnetworksExpandIpCidrRangeRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SubnetworksScopedList struct { @@ -46074,9 +46089,9 @@ type SubnetworksScopedList struct { NullFields []string `json:"-"` } -func (s *SubnetworksScopedList) MarshalJSON() ([]byte, error) { +func (s SubnetworksScopedList) MarshalJSON() ([]byte, error) { type NoMethod SubnetworksScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SubnetworksScopedListWarning: An informational warning that appears when the @@ -46160,9 +46175,9 @@ type SubnetworksScopedListWarning struct { NullFields []string `json:"-"` } -func (s *SubnetworksScopedListWarning) MarshalJSON() ([]byte, error) { +func (s SubnetworksScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod SubnetworksScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SubnetworksScopedListWarningData struct { @@ -46189,9 +46204,9 @@ type SubnetworksScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *SubnetworksScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s SubnetworksScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod SubnetworksScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type SubnetworksSetPrivateIpGoogleAccessRequest struct { @@ -46209,9 +46224,9 @@ type SubnetworksSetPrivateIpGoogleAccessRequest struct { NullFields []string `json:"-"` } -func (s *SubnetworksSetPrivateIpGoogleAccessRequest) MarshalJSON() ([]byte, error) { +func (s SubnetworksSetPrivateIpGoogleAccessRequest) MarshalJSON() ([]byte, error) { type NoMethod SubnetworksSetPrivateIpGoogleAccessRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Subsetting: Subsetting configuration for this BackendService. Currently this @@ -46245,9 +46260,9 @@ type Subsetting struct { NullFields []string `json:"-"` } -func (s *Subsetting) MarshalJSON() ([]byte, error) { +func (s Subsetting) MarshalJSON() ([]byte, error) { type NoMethod Subsetting - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TCPHealthCheck struct { @@ -46315,9 +46330,9 @@ type TCPHealthCheck struct { NullFields []string `json:"-"` } -func (s *TCPHealthCheck) MarshalJSON() ([]byte, error) { +func (s TCPHealthCheck) MarshalJSON() ([]byte, error) { type NoMethod TCPHealthCheck - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Tags: A set of instance tags. @@ -46345,9 +46360,9 @@ type Tags struct { NullFields []string `json:"-"` } -func (s *Tags) MarshalJSON() ([]byte, error) { +func (s Tags) MarshalJSON() ([]byte, error) { type NoMethod Tags - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetGrpcProxy: Represents a Target gRPC Proxy resource. A target gRPC @@ -46417,9 +46432,9 @@ type TargetGrpcProxy struct { NullFields []string `json:"-"` } -func (s *TargetGrpcProxy) MarshalJSON() ([]byte, error) { +func (s TargetGrpcProxy) MarshalJSON() ([]byte, error) { type NoMethod TargetGrpcProxy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetGrpcProxyList struct { @@ -46456,9 +46471,9 @@ type TargetGrpcProxyList struct { NullFields []string `json:"-"` } -func (s *TargetGrpcProxyList) MarshalJSON() ([]byte, error) { +func (s TargetGrpcProxyList) MarshalJSON() ([]byte, error) { type NoMethod TargetGrpcProxyList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetGrpcProxyListWarning: [Output Only] Informational warning message. @@ -46541,9 +46556,9 @@ type TargetGrpcProxyListWarning struct { NullFields []string `json:"-"` } -func (s *TargetGrpcProxyListWarning) MarshalJSON() ([]byte, error) { +func (s TargetGrpcProxyListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetGrpcProxyListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetGrpcProxyListWarningData struct { @@ -46570,9 +46585,9 @@ type TargetGrpcProxyListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetGrpcProxyListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetGrpcProxyListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetGrpcProxyListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpProxiesScopedList struct { @@ -46594,9 +46609,9 @@ type TargetHttpProxiesScopedList struct { NullFields []string `json:"-"` } -func (s *TargetHttpProxiesScopedList) MarshalJSON() ([]byte, error) { +func (s TargetHttpProxiesScopedList) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpProxiesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetHttpProxiesScopedListWarning: Informational warning which replaces the @@ -46680,9 +46695,9 @@ type TargetHttpProxiesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetHttpProxiesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetHttpProxiesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpProxiesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpProxiesScopedListWarningData struct { @@ -46709,9 +46724,9 @@ type TargetHttpProxiesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetHttpProxiesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetHttpProxiesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpProxiesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetHttpProxy: Represents a Target HTTP Proxy resource. Google Compute @@ -46793,9 +46808,9 @@ type TargetHttpProxy struct { NullFields []string `json:"-"` } -func (s *TargetHttpProxy) MarshalJSON() ([]byte, error) { +func (s TargetHttpProxy) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpProxy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpProxyAggregatedList struct { @@ -46832,9 +46847,9 @@ type TargetHttpProxyAggregatedList struct { NullFields []string `json:"-"` } -func (s *TargetHttpProxyAggregatedList) MarshalJSON() ([]byte, error) { +func (s TargetHttpProxyAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpProxyAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetHttpProxyList: A list of TargetHttpProxy resources. @@ -46872,9 +46887,9 @@ type TargetHttpProxyList struct { NullFields []string `json:"-"` } -func (s *TargetHttpProxyList) MarshalJSON() ([]byte, error) { +func (s TargetHttpProxyList) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpProxyList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetHttpProxyListWarning: [Output Only] Informational warning message. @@ -46957,9 +46972,9 @@ type TargetHttpProxyListWarning struct { NullFields []string `json:"-"` } -func (s *TargetHttpProxyListWarning) MarshalJSON() ([]byte, error) { +func (s TargetHttpProxyListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpProxyListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpProxyListWarningData struct { @@ -46986,9 +47001,9 @@ type TargetHttpProxyListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetHttpProxyListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetHttpProxyListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpProxyListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpsProxiesScopedList struct { @@ -47010,9 +47025,9 @@ type TargetHttpsProxiesScopedList struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxiesScopedList) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxiesScopedList) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxiesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetHttpsProxiesScopedListWarning: Informational warning which replaces @@ -47096,9 +47111,9 @@ type TargetHttpsProxiesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxiesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxiesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxiesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpsProxiesScopedListWarningData struct { @@ -47125,9 +47140,9 @@ type TargetHttpsProxiesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxiesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxiesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxiesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpsProxiesSetCertificateMapRequest struct { @@ -47149,9 +47164,9 @@ type TargetHttpsProxiesSetCertificateMapRequest struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxiesSetCertificateMapRequest) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxiesSetCertificateMapRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxiesSetCertificateMapRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpsProxiesSetQuicOverrideRequest struct { @@ -47177,9 +47192,9 @@ type TargetHttpsProxiesSetQuicOverrideRequest struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxiesSetQuicOverrideRequest) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxiesSetQuicOverrideRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxiesSetQuicOverrideRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpsProxiesSetSslCertificatesRequest struct { @@ -47200,9 +47215,9 @@ type TargetHttpsProxiesSetSslCertificatesRequest struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxiesSetSslCertificatesRequest) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxiesSetSslCertificatesRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxiesSetSslCertificatesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetHttpsProxy: Represents a Target HTTPS Proxy resource. Google Compute @@ -47367,9 +47382,9 @@ type TargetHttpsProxy struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxy) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxy) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpsProxyAggregatedList struct { @@ -47408,9 +47423,9 @@ type TargetHttpsProxyAggregatedList struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxyAggregatedList) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxyAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxyAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetHttpsProxyAggregatedListWarning: [Output Only] Informational warning @@ -47494,9 +47509,9 @@ type TargetHttpsProxyAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxyAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxyAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxyAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpsProxyAggregatedListWarningData struct { @@ -47523,9 +47538,9 @@ type TargetHttpsProxyAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxyAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxyAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxyAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetHttpsProxyList: Contains a list of TargetHttpsProxy resources. @@ -47563,9 +47578,9 @@ type TargetHttpsProxyList struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxyList) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxyList) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxyList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetHttpsProxyListWarning: [Output Only] Informational warning message. @@ -47648,9 +47663,9 @@ type TargetHttpsProxyListWarning struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxyListWarning) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxyListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxyListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetHttpsProxyListWarningData struct { @@ -47677,9 +47692,9 @@ type TargetHttpsProxyListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetHttpsProxyListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetHttpsProxyListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetHttpsProxyListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetInstance: Represents a Target Instance resource. You can use a target @@ -47750,9 +47765,9 @@ type TargetInstance struct { NullFields []string `json:"-"` } -func (s *TargetInstance) MarshalJSON() ([]byte, error) { +func (s TargetInstance) MarshalJSON() ([]byte, error) { type NoMethod TargetInstance - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetInstanceAggregatedList struct { @@ -47790,9 +47805,9 @@ type TargetInstanceAggregatedList struct { NullFields []string `json:"-"` } -func (s *TargetInstanceAggregatedList) MarshalJSON() ([]byte, error) { +func (s TargetInstanceAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod TargetInstanceAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetInstanceAggregatedListWarning: [Output Only] Informational warning @@ -47876,9 +47891,9 @@ type TargetInstanceAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetInstanceAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetInstanceAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetInstanceAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetInstanceAggregatedListWarningData struct { @@ -47905,9 +47920,9 @@ type TargetInstanceAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetInstanceAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetInstanceAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetInstanceAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetInstanceList: Contains a list of TargetInstance resources. @@ -47944,9 +47959,9 @@ type TargetInstanceList struct { NullFields []string `json:"-"` } -func (s *TargetInstanceList) MarshalJSON() ([]byte, error) { +func (s TargetInstanceList) MarshalJSON() ([]byte, error) { type NoMethod TargetInstanceList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetInstanceListWarning: [Output Only] Informational warning message. @@ -48029,9 +48044,9 @@ type TargetInstanceListWarning struct { NullFields []string `json:"-"` } -func (s *TargetInstanceListWarning) MarshalJSON() ([]byte, error) { +func (s TargetInstanceListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetInstanceListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetInstanceListWarningData struct { @@ -48058,9 +48073,9 @@ type TargetInstanceListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetInstanceListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetInstanceListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetInstanceListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetInstancesScopedList struct { @@ -48082,9 +48097,9 @@ type TargetInstancesScopedList struct { NullFields []string `json:"-"` } -func (s *TargetInstancesScopedList) MarshalJSON() ([]byte, error) { +func (s TargetInstancesScopedList) MarshalJSON() ([]byte, error) { type NoMethod TargetInstancesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetInstancesScopedListWarning: Informational warning which replaces the @@ -48168,9 +48183,9 @@ type TargetInstancesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetInstancesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetInstancesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetInstancesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetInstancesScopedListWarningData struct { @@ -48197,9 +48212,9 @@ type TargetInstancesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetInstancesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetInstancesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetInstancesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetPool: Represents a Target Pool resource. Target pools are used with @@ -48316,9 +48331,9 @@ type TargetPool struct { NullFields []string `json:"-"` } -func (s *TargetPool) MarshalJSON() ([]byte, error) { +func (s TargetPool) MarshalJSON() ([]byte, error) { type NoMethod TargetPool - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *TargetPool) UnmarshalJSON(data []byte) error { @@ -48371,9 +48386,9 @@ type TargetPoolAggregatedList struct { NullFields []string `json:"-"` } -func (s *TargetPoolAggregatedList) MarshalJSON() ([]byte, error) { +func (s TargetPoolAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetPoolAggregatedListWarning: [Output Only] Informational warning @@ -48457,9 +48472,9 @@ type TargetPoolAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetPoolAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetPoolAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetPoolAggregatedListWarningData struct { @@ -48486,9 +48501,9 @@ type TargetPoolAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetPoolAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetPoolAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetPoolInstanceHealth struct { @@ -48512,9 +48527,9 @@ type TargetPoolInstanceHealth struct { NullFields []string `json:"-"` } -func (s *TargetPoolInstanceHealth) MarshalJSON() ([]byte, error) { +func (s TargetPoolInstanceHealth) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolInstanceHealth - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetPoolList: Contains a list of TargetPool resources. @@ -48552,9 +48567,9 @@ type TargetPoolList struct { NullFields []string `json:"-"` } -func (s *TargetPoolList) MarshalJSON() ([]byte, error) { +func (s TargetPoolList) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetPoolListWarning: [Output Only] Informational warning message. @@ -48637,9 +48652,9 @@ type TargetPoolListWarning struct { NullFields []string `json:"-"` } -func (s *TargetPoolListWarning) MarshalJSON() ([]byte, error) { +func (s TargetPoolListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetPoolListWarningData struct { @@ -48666,9 +48681,9 @@ type TargetPoolListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetPoolListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetPoolListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetPoolsAddHealthCheckRequest struct { @@ -48687,9 +48702,9 @@ type TargetPoolsAddHealthCheckRequest struct { NullFields []string `json:"-"` } -func (s *TargetPoolsAddHealthCheckRequest) MarshalJSON() ([]byte, error) { +func (s TargetPoolsAddHealthCheckRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolsAddHealthCheckRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetPoolsAddInstanceRequest struct { @@ -48713,9 +48728,9 @@ type TargetPoolsAddInstanceRequest struct { NullFields []string `json:"-"` } -func (s *TargetPoolsAddInstanceRequest) MarshalJSON() ([]byte, error) { +func (s TargetPoolsAddInstanceRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolsAddInstanceRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetPoolsRemoveHealthCheckRequest struct { @@ -48739,9 +48754,9 @@ type TargetPoolsRemoveHealthCheckRequest struct { NullFields []string `json:"-"` } -func (s *TargetPoolsRemoveHealthCheckRequest) MarshalJSON() ([]byte, error) { +func (s TargetPoolsRemoveHealthCheckRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolsRemoveHealthCheckRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetPoolsRemoveInstanceRequest struct { @@ -48760,9 +48775,9 @@ type TargetPoolsRemoveInstanceRequest struct { NullFields []string `json:"-"` } -func (s *TargetPoolsRemoveInstanceRequest) MarshalJSON() ([]byte, error) { +func (s TargetPoolsRemoveInstanceRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolsRemoveInstanceRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetPoolsScopedList struct { @@ -48784,9 +48799,9 @@ type TargetPoolsScopedList struct { NullFields []string `json:"-"` } -func (s *TargetPoolsScopedList) MarshalJSON() ([]byte, error) { +func (s TargetPoolsScopedList) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetPoolsScopedListWarning: Informational warning which replaces the list @@ -48870,9 +48885,9 @@ type TargetPoolsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetPoolsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetPoolsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetPoolsScopedListWarningData struct { @@ -48899,9 +48914,9 @@ type TargetPoolsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetPoolsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetPoolsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetPoolsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetReference struct { @@ -48919,9 +48934,9 @@ type TargetReference struct { NullFields []string `json:"-"` } -func (s *TargetReference) MarshalJSON() ([]byte, error) { +func (s TargetReference) MarshalJSON() ([]byte, error) { type NoMethod TargetReference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetSslProxiesSetBackendServiceRequest struct { @@ -48940,9 +48955,9 @@ type TargetSslProxiesSetBackendServiceRequest struct { NullFields []string `json:"-"` } -func (s *TargetSslProxiesSetBackendServiceRequest) MarshalJSON() ([]byte, error) { +func (s TargetSslProxiesSetBackendServiceRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetSslProxiesSetBackendServiceRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetSslProxiesSetCertificateMapRequest struct { @@ -48964,9 +48979,9 @@ type TargetSslProxiesSetCertificateMapRequest struct { NullFields []string `json:"-"` } -func (s *TargetSslProxiesSetCertificateMapRequest) MarshalJSON() ([]byte, error) { +func (s TargetSslProxiesSetCertificateMapRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetSslProxiesSetCertificateMapRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetSslProxiesSetProxyHeaderRequest struct { @@ -48990,9 +49005,9 @@ type TargetSslProxiesSetProxyHeaderRequest struct { NullFields []string `json:"-"` } -func (s *TargetSslProxiesSetProxyHeaderRequest) MarshalJSON() ([]byte, error) { +func (s TargetSslProxiesSetProxyHeaderRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetSslProxiesSetProxyHeaderRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetSslProxiesSetSslCertificatesRequest struct { @@ -49013,9 +49028,9 @@ type TargetSslProxiesSetSslCertificatesRequest struct { NullFields []string `json:"-"` } -func (s *TargetSslProxiesSetSslCertificatesRequest) MarshalJSON() ([]byte, error) { +func (s TargetSslProxiesSetSslCertificatesRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetSslProxiesSetSslCertificatesRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetSslProxy: Represents a Target SSL Proxy resource. A target SSL proxy @@ -49086,9 +49101,9 @@ type TargetSslProxy struct { NullFields []string `json:"-"` } -func (s *TargetSslProxy) MarshalJSON() ([]byte, error) { +func (s TargetSslProxy) MarshalJSON() ([]byte, error) { type NoMethod TargetSslProxy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetSslProxyList: Contains a list of TargetSslProxy resources. @@ -49125,9 +49140,9 @@ type TargetSslProxyList struct { NullFields []string `json:"-"` } -func (s *TargetSslProxyList) MarshalJSON() ([]byte, error) { +func (s TargetSslProxyList) MarshalJSON() ([]byte, error) { type NoMethod TargetSslProxyList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetSslProxyListWarning: [Output Only] Informational warning message. @@ -49210,9 +49225,9 @@ type TargetSslProxyListWarning struct { NullFields []string `json:"-"` } -func (s *TargetSslProxyListWarning) MarshalJSON() ([]byte, error) { +func (s TargetSslProxyListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetSslProxyListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetSslProxyListWarningData struct { @@ -49239,9 +49254,9 @@ type TargetSslProxyListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetSslProxyListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetSslProxyListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetSslProxyListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetTcpProxiesScopedList struct { @@ -49263,9 +49278,9 @@ type TargetTcpProxiesScopedList struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxiesScopedList) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxiesScopedList) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxiesScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetTcpProxiesScopedListWarning: Informational warning which replaces the @@ -49349,9 +49364,9 @@ type TargetTcpProxiesScopedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxiesScopedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxiesScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxiesScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetTcpProxiesScopedListWarningData struct { @@ -49378,9 +49393,9 @@ type TargetTcpProxiesScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxiesScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxiesScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxiesScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetTcpProxiesSetBackendServiceRequest struct { @@ -49399,9 +49414,9 @@ type TargetTcpProxiesSetBackendServiceRequest struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxiesSetBackendServiceRequest) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxiesSetBackendServiceRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxiesSetBackendServiceRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetTcpProxiesSetProxyHeaderRequest struct { @@ -49425,9 +49440,9 @@ type TargetTcpProxiesSetProxyHeaderRequest struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxiesSetProxyHeaderRequest) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxiesSetProxyHeaderRequest) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxiesSetProxyHeaderRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetTcpProxy: Represents a Target TCP Proxy resource. A target TCP proxy @@ -49494,9 +49509,9 @@ type TargetTcpProxy struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxy) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxy) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetTcpProxyAggregatedList struct { @@ -49535,9 +49550,9 @@ type TargetTcpProxyAggregatedList struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxyAggregatedList) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxyAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxyAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetTcpProxyAggregatedListWarning: [Output Only] Informational warning @@ -49621,9 +49636,9 @@ type TargetTcpProxyAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxyAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxyAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxyAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetTcpProxyAggregatedListWarningData struct { @@ -49650,9 +49665,9 @@ type TargetTcpProxyAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxyAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxyAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxyAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetTcpProxyList: Contains a list of TargetTcpProxy resources. @@ -49689,9 +49704,9 @@ type TargetTcpProxyList struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxyList) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxyList) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxyList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetTcpProxyListWarning: [Output Only] Informational warning message. @@ -49774,9 +49789,9 @@ type TargetTcpProxyListWarning struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxyListWarning) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxyListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxyListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetTcpProxyListWarningData struct { @@ -49803,9 +49818,9 @@ type TargetTcpProxyListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetTcpProxyListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetTcpProxyListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetTcpProxyListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetVpnGateway: Represents a Target VPN Gateway resource. The target VPN @@ -49885,9 +49900,9 @@ type TargetVpnGateway struct { NullFields []string `json:"-"` } -func (s *TargetVpnGateway) MarshalJSON() ([]byte, error) { +func (s TargetVpnGateway) MarshalJSON() ([]byte, error) { type NoMethod TargetVpnGateway - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetVpnGatewayAggregatedList struct { @@ -49926,9 +49941,9 @@ type TargetVpnGatewayAggregatedList struct { NullFields []string `json:"-"` } -func (s *TargetVpnGatewayAggregatedList) MarshalJSON() ([]byte, error) { +func (s TargetVpnGatewayAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod TargetVpnGatewayAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetVpnGatewayAggregatedListWarning: [Output Only] Informational warning @@ -50012,9 +50027,9 @@ type TargetVpnGatewayAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetVpnGatewayAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetVpnGatewayAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetVpnGatewayAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetVpnGatewayAggregatedListWarningData struct { @@ -50041,9 +50056,9 @@ type TargetVpnGatewayAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetVpnGatewayAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetVpnGatewayAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetVpnGatewayAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetVpnGatewayList: Contains a list of TargetVpnGateway resources. @@ -50081,9 +50096,9 @@ type TargetVpnGatewayList struct { NullFields []string `json:"-"` } -func (s *TargetVpnGatewayList) MarshalJSON() ([]byte, error) { +func (s TargetVpnGatewayList) MarshalJSON() ([]byte, error) { type NoMethod TargetVpnGatewayList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetVpnGatewayListWarning: [Output Only] Informational warning message. @@ -50166,9 +50181,9 @@ type TargetVpnGatewayListWarning struct { NullFields []string `json:"-"` } -func (s *TargetVpnGatewayListWarning) MarshalJSON() ([]byte, error) { +func (s TargetVpnGatewayListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetVpnGatewayListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetVpnGatewayListWarningData struct { @@ -50195,9 +50210,9 @@ type TargetVpnGatewayListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetVpnGatewayListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetVpnGatewayListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetVpnGatewayListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetVpnGatewaysScopedList struct { @@ -50220,9 +50235,9 @@ type TargetVpnGatewaysScopedList struct { NullFields []string `json:"-"` } -func (s *TargetVpnGatewaysScopedList) MarshalJSON() ([]byte, error) { +func (s TargetVpnGatewaysScopedList) MarshalJSON() ([]byte, error) { type NoMethod TargetVpnGatewaysScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TargetVpnGatewaysScopedListWarning: [Output Only] Informational warning @@ -50306,9 +50321,9 @@ type TargetVpnGatewaysScopedListWarning struct { NullFields []string `json:"-"` } -func (s *TargetVpnGatewaysScopedListWarning) MarshalJSON() ([]byte, error) { +func (s TargetVpnGatewaysScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod TargetVpnGatewaysScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TargetVpnGatewaysScopedListWarningData struct { @@ -50335,9 +50350,9 @@ type TargetVpnGatewaysScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *TargetVpnGatewaysScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s TargetVpnGatewaysScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod TargetVpnGatewaysScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TestFailure struct { @@ -50377,9 +50392,9 @@ type TestFailure struct { NullFields []string `json:"-"` } -func (s *TestFailure) MarshalJSON() ([]byte, error) { +func (s TestFailure) MarshalJSON() ([]byte, error) { type NoMethod TestFailure - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TestPermissionsRequest struct { @@ -50399,9 +50414,9 @@ type TestPermissionsRequest struct { NullFields []string `json:"-"` } -func (s *TestPermissionsRequest) MarshalJSON() ([]byte, error) { +func (s TestPermissionsRequest) MarshalJSON() ([]byte, error) { type NoMethod TestPermissionsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type TestPermissionsResponse struct { @@ -50424,9 +50439,9 @@ type TestPermissionsResponse struct { NullFields []string `json:"-"` } -func (s *TestPermissionsResponse) MarshalJSON() ([]byte, error) { +func (s TestPermissionsResponse) MarshalJSON() ([]byte, error) { type NoMethod TestPermissionsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type Uint128 struct { @@ -50445,9 +50460,9 @@ type Uint128 struct { NullFields []string `json:"-"` } -func (s *Uint128) MarshalJSON() ([]byte, error) { +func (s Uint128) MarshalJSON() ([]byte, error) { type NoMethod Uint128 - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UpcomingMaintenance: Upcoming Maintenance notification information. @@ -50490,9 +50505,9 @@ type UpcomingMaintenance struct { NullFields []string `json:"-"` } -func (s *UpcomingMaintenance) MarshalJSON() ([]byte, error) { +func (s UpcomingMaintenance) MarshalJSON() ([]byte, error) { type NoMethod UpcomingMaintenance - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UrlMap: Represents a URL Map resource. Compute Engine has two URL Map @@ -50632,9 +50647,9 @@ type UrlMap struct { NullFields []string `json:"-"` } -func (s *UrlMap) MarshalJSON() ([]byte, error) { +func (s UrlMap) MarshalJSON() ([]byte, error) { type NoMethod UrlMap - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UrlMapList: Contains a list of UrlMap resources. @@ -50671,9 +50686,9 @@ type UrlMapList struct { NullFields []string `json:"-"` } -func (s *UrlMapList) MarshalJSON() ([]byte, error) { +func (s UrlMapList) MarshalJSON() ([]byte, error) { type NoMethod UrlMapList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UrlMapListWarning: [Output Only] Informational warning message. @@ -50756,9 +50771,9 @@ type UrlMapListWarning struct { NullFields []string `json:"-"` } -func (s *UrlMapListWarning) MarshalJSON() ([]byte, error) { +func (s UrlMapListWarning) MarshalJSON() ([]byte, error) { type NoMethod UrlMapListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type UrlMapListWarningData struct { @@ -50785,9 +50800,9 @@ type UrlMapListWarningData struct { NullFields []string `json:"-"` } -func (s *UrlMapListWarningData) MarshalJSON() ([]byte, error) { +func (s UrlMapListWarningData) MarshalJSON() ([]byte, error) { type NoMethod UrlMapListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type UrlMapReference struct { @@ -50805,9 +50820,9 @@ type UrlMapReference struct { NullFields []string `json:"-"` } -func (s *UrlMapReference) MarshalJSON() ([]byte, error) { +func (s UrlMapReference) MarshalJSON() ([]byte, error) { type NoMethod UrlMapReference - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UrlMapTest: Message for the expected URL mappings. @@ -50858,9 +50873,9 @@ type UrlMapTest struct { NullFields []string `json:"-"` } -func (s *UrlMapTest) MarshalJSON() ([]byte, error) { +func (s UrlMapTest) MarshalJSON() ([]byte, error) { type NoMethod UrlMapTest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UrlMapTestHeader: HTTP headers used in UrlMapTests. @@ -50882,9 +50897,9 @@ type UrlMapTestHeader struct { NullFields []string `json:"-"` } -func (s *UrlMapTestHeader) MarshalJSON() ([]byte, error) { +func (s UrlMapTestHeader) MarshalJSON() ([]byte, error) { type NoMethod UrlMapTestHeader - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UrlMapValidationResult: Message representing the validation result for a @@ -50911,9 +50926,9 @@ type UrlMapValidationResult struct { NullFields []string `json:"-"` } -func (s *UrlMapValidationResult) MarshalJSON() ([]byte, error) { +func (s UrlMapValidationResult) MarshalJSON() ([]byte, error) { type NoMethod UrlMapValidationResult - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type UrlMapsAggregatedList struct { @@ -50951,9 +50966,9 @@ type UrlMapsAggregatedList struct { NullFields []string `json:"-"` } -func (s *UrlMapsAggregatedList) MarshalJSON() ([]byte, error) { +func (s UrlMapsAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod UrlMapsAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UrlMapsAggregatedListWarning: [Output Only] Informational warning message. @@ -51036,9 +51051,9 @@ type UrlMapsAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *UrlMapsAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s UrlMapsAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod UrlMapsAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type UrlMapsAggregatedListWarningData struct { @@ -51065,9 +51080,9 @@ type UrlMapsAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *UrlMapsAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s UrlMapsAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod UrlMapsAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type UrlMapsScopedList struct { @@ -51089,9 +51104,9 @@ type UrlMapsScopedList struct { NullFields []string `json:"-"` } -func (s *UrlMapsScopedList) MarshalJSON() ([]byte, error) { +func (s UrlMapsScopedList) MarshalJSON() ([]byte, error) { type NoMethod UrlMapsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UrlMapsScopedListWarning: Informational warning which replaces the list of @@ -51175,9 +51190,9 @@ type UrlMapsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *UrlMapsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s UrlMapsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod UrlMapsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type UrlMapsScopedListWarningData struct { @@ -51204,9 +51219,9 @@ type UrlMapsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *UrlMapsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s UrlMapsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod UrlMapsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type UrlMapsValidateRequest struct { @@ -51248,9 +51263,9 @@ type UrlMapsValidateRequest struct { NullFields []string `json:"-"` } -func (s *UrlMapsValidateRequest) MarshalJSON() ([]byte, error) { +func (s UrlMapsValidateRequest) MarshalJSON() ([]byte, error) { type NoMethod UrlMapsValidateRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type UrlMapsValidateResponse struct { @@ -51271,9 +51286,9 @@ type UrlMapsValidateResponse struct { NullFields []string `json:"-"` } -func (s *UrlMapsValidateResponse) MarshalJSON() ([]byte, error) { +func (s UrlMapsValidateResponse) MarshalJSON() ([]byte, error) { type NoMethod UrlMapsValidateResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UrlRewrite: The spec for modifying the path before sending the request to @@ -51314,9 +51329,9 @@ type UrlRewrite struct { NullFields []string `json:"-"` } -func (s *UrlRewrite) MarshalJSON() ([]byte, error) { +func (s UrlRewrite) MarshalJSON() ([]byte, error) { type NoMethod UrlRewrite - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UsableSubnetwork: Subnetwork which the current user has @@ -51407,9 +51422,9 @@ type UsableSubnetwork struct { NullFields []string `json:"-"` } -func (s *UsableSubnetwork) MarshalJSON() ([]byte, error) { +func (s UsableSubnetwork) MarshalJSON() ([]byte, error) { type NoMethod UsableSubnetwork - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UsableSubnetworkSecondaryRange: Secondary IP range of a usable subnetwork. @@ -51435,9 +51450,9 @@ type UsableSubnetworkSecondaryRange struct { NullFields []string `json:"-"` } -func (s *UsableSubnetworkSecondaryRange) MarshalJSON() ([]byte, error) { +func (s UsableSubnetworkSecondaryRange) MarshalJSON() ([]byte, error) { type NoMethod UsableSubnetworkSecondaryRange - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type UsableSubnetworksAggregatedList struct { @@ -51478,9 +51493,9 @@ type UsableSubnetworksAggregatedList struct { NullFields []string `json:"-"` } -func (s *UsableSubnetworksAggregatedList) MarshalJSON() ([]byte, error) { +func (s UsableSubnetworksAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod UsableSubnetworksAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UsableSubnetworksAggregatedListWarning: [Output Only] Informational warning @@ -51564,9 +51579,9 @@ type UsableSubnetworksAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *UsableSubnetworksAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s UsableSubnetworksAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod UsableSubnetworksAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type UsableSubnetworksAggregatedListWarningData struct { @@ -51593,9 +51608,9 @@ type UsableSubnetworksAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *UsableSubnetworksAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s UsableSubnetworksAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod UsableSubnetworksAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UsageExportLocation: The location in Cloud Storage and naming method of the @@ -51626,9 +51641,9 @@ type UsageExportLocation struct { NullFields []string `json:"-"` } -func (s *UsageExportLocation) MarshalJSON() ([]byte, error) { +func (s UsageExportLocation) MarshalJSON() ([]byte, error) { type NoMethod UsageExportLocation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VmEndpointNatMappings: Contain information of Nat mapping for a VM endpoint @@ -51650,9 +51665,9 @@ type VmEndpointNatMappings struct { NullFields []string `json:"-"` } -func (s *VmEndpointNatMappings) MarshalJSON() ([]byte, error) { +func (s VmEndpointNatMappings) MarshalJSON() ([]byte, error) { type NoMethod VmEndpointNatMappings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VmEndpointNatMappingsInterfaceNatMappings: Contain information of Nat @@ -51696,9 +51711,9 @@ type VmEndpointNatMappingsInterfaceNatMappings struct { NullFields []string `json:"-"` } -func (s *VmEndpointNatMappingsInterfaceNatMappings) MarshalJSON() ([]byte, error) { +func (s VmEndpointNatMappingsInterfaceNatMappings) MarshalJSON() ([]byte, error) { type NoMethod VmEndpointNatMappingsInterfaceNatMappings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings: Contains @@ -51737,9 +51752,9 @@ type VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings struct { NullFields []string `json:"-"` } -func (s *VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings) MarshalJSON() ([]byte, error) { +func (s VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings) MarshalJSON() ([]byte, error) { type NoMethod VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VmEndpointNatMappingsList: Contains a list of VmEndpointNatMappings. @@ -51778,9 +51793,9 @@ type VmEndpointNatMappingsList struct { NullFields []string `json:"-"` } -func (s *VmEndpointNatMappingsList) MarshalJSON() ([]byte, error) { +func (s VmEndpointNatMappingsList) MarshalJSON() ([]byte, error) { type NoMethod VmEndpointNatMappingsList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VmEndpointNatMappingsListWarning: [Output Only] Informational warning @@ -51864,9 +51879,9 @@ type VmEndpointNatMappingsListWarning struct { NullFields []string `json:"-"` } -func (s *VmEndpointNatMappingsListWarning) MarshalJSON() ([]byte, error) { +func (s VmEndpointNatMappingsListWarning) MarshalJSON() ([]byte, error) { type NoMethod VmEndpointNatMappingsListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VmEndpointNatMappingsListWarningData struct { @@ -51893,9 +51908,9 @@ type VmEndpointNatMappingsListWarningData struct { NullFields []string `json:"-"` } -func (s *VmEndpointNatMappingsListWarningData) MarshalJSON() ([]byte, error) { +func (s VmEndpointNatMappingsListWarningData) MarshalJSON() ([]byte, error) { type NoMethod VmEndpointNatMappingsListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnGateway: Represents a HA VPN gateway. HA VPN is a high-availability (HA) @@ -51952,8 +51967,9 @@ type VpnGateway struct { // SelfLink: [Output Only] Server-defined URL for the resource. SelfLink string `json:"selfLink,omitempty"` // StackType: The stack type for this VPN gateway to identify the IP protocols - // that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not - // specified, IPV4_ONLY will be used. + // that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6, IPV6_ONLY. If + // not specified, IPV4_ONLY is used if the gateway IP version is IPV4, or + // IPV4_IPV6 if the gateway IP version is IPV6. // // Possible values: // "IPV4_IPV6" - Enable VPN gateway with both IPv4 and IPv6 protocols. @@ -51978,9 +51994,9 @@ type VpnGateway struct { NullFields []string `json:"-"` } -func (s *VpnGateway) MarshalJSON() ([]byte, error) { +func (s VpnGateway) MarshalJSON() ([]byte, error) { type NoMethod VpnGateway - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnGatewayAggregatedList struct { @@ -52019,9 +52035,9 @@ type VpnGatewayAggregatedList struct { NullFields []string `json:"-"` } -func (s *VpnGatewayAggregatedList) MarshalJSON() ([]byte, error) { +func (s VpnGatewayAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewayAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnGatewayAggregatedListWarning: [Output Only] Informational warning @@ -52105,9 +52121,9 @@ type VpnGatewayAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *VpnGatewayAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s VpnGatewayAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewayAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnGatewayAggregatedListWarningData struct { @@ -52134,9 +52150,9 @@ type VpnGatewayAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *VpnGatewayAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s VpnGatewayAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewayAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnGatewayList: Contains a list of VpnGateway resources. @@ -52174,9 +52190,9 @@ type VpnGatewayList struct { NullFields []string `json:"-"` } -func (s *VpnGatewayList) MarshalJSON() ([]byte, error) { +func (s VpnGatewayList) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewayList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnGatewayListWarning: [Output Only] Informational warning message. @@ -52259,9 +52275,9 @@ type VpnGatewayListWarning struct { NullFields []string `json:"-"` } -func (s *VpnGatewayListWarning) MarshalJSON() ([]byte, error) { +func (s VpnGatewayListWarning) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewayListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnGatewayListWarningData struct { @@ -52288,9 +52304,9 @@ type VpnGatewayListWarningData struct { NullFields []string `json:"-"` } -func (s *VpnGatewayListWarningData) MarshalJSON() ([]byte, error) { +func (s VpnGatewayListWarningData) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewayListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnGatewayStatus struct { @@ -52309,9 +52325,9 @@ type VpnGatewayStatus struct { NullFields []string `json:"-"` } -func (s *VpnGatewayStatus) MarshalJSON() ([]byte, error) { +func (s VpnGatewayStatus) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewayStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnGatewayStatusHighAvailabilityRequirementState: Describes the high @@ -52352,9 +52368,9 @@ type VpnGatewayStatusHighAvailabilityRequirementState struct { NullFields []string `json:"-"` } -func (s *VpnGatewayStatusHighAvailabilityRequirementState) MarshalJSON() ([]byte, error) { +func (s VpnGatewayStatusHighAvailabilityRequirementState) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewayStatusHighAvailabilityRequirementState - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnGatewayStatusTunnel: Contains some information about a VPN tunnel. @@ -52381,9 +52397,9 @@ type VpnGatewayStatusTunnel struct { NullFields []string `json:"-"` } -func (s *VpnGatewayStatusTunnel) MarshalJSON() ([]byte, error) { +func (s VpnGatewayStatusTunnel) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewayStatusTunnel - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnGatewayStatusVpnConnection: A VPN connection contains all VPN tunnels @@ -52415,9 +52431,9 @@ type VpnGatewayStatusVpnConnection struct { NullFields []string `json:"-"` } -func (s *VpnGatewayStatusVpnConnection) MarshalJSON() ([]byte, error) { +func (s VpnGatewayStatusVpnConnection) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewayStatusVpnConnection - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnGatewayVpnGatewayInterface: A VPN gateway interface. @@ -52459,9 +52475,9 @@ type VpnGatewayVpnGatewayInterface struct { NullFields []string `json:"-"` } -func (s *VpnGatewayVpnGatewayInterface) MarshalJSON() ([]byte, error) { +func (s VpnGatewayVpnGatewayInterface) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewayVpnGatewayInterface - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnGatewaysGetStatusResponse struct { @@ -52482,9 +52498,9 @@ type VpnGatewaysGetStatusResponse struct { NullFields []string `json:"-"` } -func (s *VpnGatewaysGetStatusResponse) MarshalJSON() ([]byte, error) { +func (s VpnGatewaysGetStatusResponse) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewaysGetStatusResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnGatewaysScopedList struct { @@ -52506,9 +52522,9 @@ type VpnGatewaysScopedList struct { NullFields []string `json:"-"` } -func (s *VpnGatewaysScopedList) MarshalJSON() ([]byte, error) { +func (s VpnGatewaysScopedList) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewaysScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnGatewaysScopedListWarning: [Output Only] Informational warning which @@ -52592,9 +52608,9 @@ type VpnGatewaysScopedListWarning struct { NullFields []string `json:"-"` } -func (s *VpnGatewaysScopedListWarning) MarshalJSON() ([]byte, error) { +func (s VpnGatewaysScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewaysScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnGatewaysScopedListWarningData struct { @@ -52621,9 +52637,9 @@ type VpnGatewaysScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *VpnGatewaysScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s VpnGatewaysScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod VpnGatewaysScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnTunnel: Represents a Cloud VPN Tunnel resource. For more information @@ -52774,9 +52790,9 @@ type VpnTunnel struct { NullFields []string `json:"-"` } -func (s *VpnTunnel) MarshalJSON() ([]byte, error) { +func (s VpnTunnel) MarshalJSON() ([]byte, error) { type NoMethod VpnTunnel - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnTunnelAggregatedList struct { @@ -52815,9 +52831,9 @@ type VpnTunnelAggregatedList struct { NullFields []string `json:"-"` } -func (s *VpnTunnelAggregatedList) MarshalJSON() ([]byte, error) { +func (s VpnTunnelAggregatedList) MarshalJSON() ([]byte, error) { type NoMethod VpnTunnelAggregatedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnTunnelAggregatedListWarning: [Output Only] Informational warning message. @@ -52900,9 +52916,9 @@ type VpnTunnelAggregatedListWarning struct { NullFields []string `json:"-"` } -func (s *VpnTunnelAggregatedListWarning) MarshalJSON() ([]byte, error) { +func (s VpnTunnelAggregatedListWarning) MarshalJSON() ([]byte, error) { type NoMethod VpnTunnelAggregatedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnTunnelAggregatedListWarningData struct { @@ -52929,9 +52945,9 @@ type VpnTunnelAggregatedListWarningData struct { NullFields []string `json:"-"` } -func (s *VpnTunnelAggregatedListWarningData) MarshalJSON() ([]byte, error) { +func (s VpnTunnelAggregatedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod VpnTunnelAggregatedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnTunnelList: Contains a list of VpnTunnel resources. @@ -52969,9 +52985,9 @@ type VpnTunnelList struct { NullFields []string `json:"-"` } -func (s *VpnTunnelList) MarshalJSON() ([]byte, error) { +func (s VpnTunnelList) MarshalJSON() ([]byte, error) { type NoMethod VpnTunnelList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnTunnelListWarning: [Output Only] Informational warning message. @@ -53054,9 +53070,9 @@ type VpnTunnelListWarning struct { NullFields []string `json:"-"` } -func (s *VpnTunnelListWarning) MarshalJSON() ([]byte, error) { +func (s VpnTunnelListWarning) MarshalJSON() ([]byte, error) { type NoMethod VpnTunnelListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnTunnelListWarningData struct { @@ -53083,9 +53099,9 @@ type VpnTunnelListWarningData struct { NullFields []string `json:"-"` } -func (s *VpnTunnelListWarningData) MarshalJSON() ([]byte, error) { +func (s VpnTunnelListWarningData) MarshalJSON() ([]byte, error) { type NoMethod VpnTunnelListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnTunnelsScopedList struct { @@ -53107,9 +53123,9 @@ type VpnTunnelsScopedList struct { NullFields []string `json:"-"` } -func (s *VpnTunnelsScopedList) MarshalJSON() ([]byte, error) { +func (s VpnTunnelsScopedList) MarshalJSON() ([]byte, error) { type NoMethod VpnTunnelsScopedList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VpnTunnelsScopedListWarning: Informational warning which replaces the list @@ -53193,9 +53209,9 @@ type VpnTunnelsScopedListWarning struct { NullFields []string `json:"-"` } -func (s *VpnTunnelsScopedListWarning) MarshalJSON() ([]byte, error) { +func (s VpnTunnelsScopedListWarning) MarshalJSON() ([]byte, error) { type NoMethod VpnTunnelsScopedListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type VpnTunnelsScopedListWarningData struct { @@ -53222,9 +53238,9 @@ type VpnTunnelsScopedListWarningData struct { NullFields []string `json:"-"` } -func (s *VpnTunnelsScopedListWarningData) MarshalJSON() ([]byte, error) { +func (s VpnTunnelsScopedListWarningData) MarshalJSON() ([]byte, error) { type NoMethod VpnTunnelsScopedListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type WafExpressionSet struct { @@ -53251,9 +53267,9 @@ type WafExpressionSet struct { NullFields []string `json:"-"` } -func (s *WafExpressionSet) MarshalJSON() ([]byte, error) { +func (s WafExpressionSet) MarshalJSON() ([]byte, error) { type NoMethod WafExpressionSet - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type WafExpressionSetExpression struct { @@ -53280,9 +53296,9 @@ type WafExpressionSetExpression struct { NullFields []string `json:"-"` } -func (s *WafExpressionSetExpression) MarshalJSON() ([]byte, error) { +func (s WafExpressionSetExpression) MarshalJSON() ([]byte, error) { type NoMethod WafExpressionSetExpression - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // WeightedBackendService: In contrast to a single BackendService in @@ -53326,9 +53342,9 @@ type WeightedBackendService struct { NullFields []string `json:"-"` } -func (s *WeightedBackendService) MarshalJSON() ([]byte, error) { +func (s WeightedBackendService) MarshalJSON() ([]byte, error) { type NoMethod WeightedBackendService - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type XpnHostList struct { @@ -53365,9 +53381,9 @@ type XpnHostList struct { NullFields []string `json:"-"` } -func (s *XpnHostList) MarshalJSON() ([]byte, error) { +func (s XpnHostList) MarshalJSON() ([]byte, error) { type NoMethod XpnHostList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // XpnHostListWarning: [Output Only] Informational warning message. @@ -53450,9 +53466,9 @@ type XpnHostListWarning struct { NullFields []string `json:"-"` } -func (s *XpnHostListWarning) MarshalJSON() ([]byte, error) { +func (s XpnHostListWarning) MarshalJSON() ([]byte, error) { type NoMethod XpnHostListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type XpnHostListWarningData struct { @@ -53479,9 +53495,9 @@ type XpnHostListWarningData struct { NullFields []string `json:"-"` } -func (s *XpnHostListWarningData) MarshalJSON() ([]byte, error) { +func (s XpnHostListWarningData) MarshalJSON() ([]byte, error) { type NoMethod XpnHostListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // XpnResourceId: Service resource (a.k.a service project) ID. @@ -53509,9 +53525,9 @@ type XpnResourceId struct { NullFields []string `json:"-"` } -func (s *XpnResourceId) MarshalJSON() ([]byte, error) { +func (s XpnResourceId) MarshalJSON() ([]byte, error) { type NoMethod XpnResourceId - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Zone: Represents a Zone resource. A zone is a deployment area. These @@ -53564,9 +53580,9 @@ type Zone struct { NullFields []string `json:"-"` } -func (s *Zone) MarshalJSON() ([]byte, error) { +func (s Zone) MarshalJSON() ([]byte, error) { type NoMethod Zone - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ZoneList: Contains a list of zone resources. @@ -53603,9 +53619,9 @@ type ZoneList struct { NullFields []string `json:"-"` } -func (s *ZoneList) MarshalJSON() ([]byte, error) { +func (s ZoneList) MarshalJSON() ([]byte, error) { type NoMethod ZoneList - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ZoneListWarning: [Output Only] Informational warning message. @@ -53688,9 +53704,9 @@ type ZoneListWarning struct { NullFields []string `json:"-"` } -func (s *ZoneListWarning) MarshalJSON() ([]byte, error) { +func (s ZoneListWarning) MarshalJSON() ([]byte, error) { type NoMethod ZoneListWarning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ZoneListWarningData struct { @@ -53717,9 +53733,9 @@ type ZoneListWarningData struct { NullFields []string `json:"-"` } -func (s *ZoneListWarningData) MarshalJSON() ([]byte, error) { +func (s ZoneListWarningData) MarshalJSON() ([]byte, error) { type NoMethod ZoneListWarningData - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ZoneSetLabelsRequest struct { @@ -53745,9 +53761,9 @@ type ZoneSetLabelsRequest struct { NullFields []string `json:"-"` } -func (s *ZoneSetLabelsRequest) MarshalJSON() ([]byte, error) { +func (s ZoneSetLabelsRequest) MarshalJSON() ([]byte, error) { type NoMethod ZoneSetLabelsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ZoneSetPolicyRequest struct { @@ -53775,7 +53791,7 @@ type ZoneSetPolicyRequest struct { NullFields []string `json:"-"` } -func (s *ZoneSetPolicyRequest) MarshalJSON() ([]byte, error) { +func (s ZoneSetPolicyRequest) MarshalJSON() ([]byte, error) { type NoMethod ZoneSetPolicyRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } diff --git a/vendor/google.golang.org/api/compute/v1/compute3-gen.go b/vendor/google.golang.org/api/compute/v1/compute3-gen.go index 7c0982e9a8..02d741ab8d 100644 --- a/vendor/google.golang.org/api/compute/v1/compute3-gen.go +++ b/vendor/google.golang.org/api/compute/v1/compute3-gen.go @@ -21851,7 +21851,13 @@ type RegionsGetCall struct { // quota information (the `quotas` field). To exclude one or more fields, set // your request's `fields` query parameter to only include the fields you need. // For example, to only include the `id` and `selfLink` fields, add the query -// parameter `?fields=id,selfLink` to your request. +// parameter `?fields=id,selfLink` to your request. This method fails if the +// quota information is unavailable for the region and if the organization +// policy constraint compute.requireBasicQuotaInResponse is enforced. This +// constraint, when enforced, disables the fail-open behaviour when quota +// information (the `items.quotas` field) is unavailable for the region. It is +// recommended to use the default setting for the constraint unless your +// application requires the fail-closed behaviour for this method. // // - project: Project ID for this request. // - region: Name of the region resource to return. diff --git a/vendor/google.golang.org/api/container/v1/container-api.json b/vendor/google.golang.org/api/container/v1/container-api.json index 3d0e4abd34..a07cee9ff9 100644 --- a/vendor/google.golang.org/api/container/v1/container-api.json +++ b/vendor/google.golang.org/api/container/v1/container-api.json @@ -2540,7 +2540,7 @@ } } }, - "revision": "20240608", + "revision": "20240619", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -2592,14 +2592,14 @@ "properties": { "maxPodsPerNode": { "$ref": "MaxPodsConstraint", - "description": "The maximum number of pods per node which use this pod network" + "description": "The maximum number of pods per node which use this pod network." }, "secondaryPodRange": { - "description": "The name of the secondary range on the subnet which provides IP address for this pod range", + "description": "The name of the secondary range on the subnet which provides IP address for this pod range.", "type": "string" }, "subnetwork": { - "description": "Name of the subnetwork where the additional pod network belongs", + "description": "Name of the subnetwork where the additional pod network belongs.", "type": "string" } }, @@ -2676,6 +2676,10 @@ "$ref": "NetworkPolicyConfig", "description": "Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes." }, + "rayOperatorConfig": { + "$ref": "RayOperatorConfig", + "description": "Optional. Configuration for Ray Operator addon." + }, "statefulHaConfig": { "$ref": "StatefulHAConfig", "description": "Optional. Configuration for the StatefulHA add-on." @@ -6272,6 +6276,47 @@ }, "type": "object" }, + "RayClusterLoggingConfig": { + "description": "RayClusterLoggingConfig specifies configuration of Ray logging.", + "id": "RayClusterLoggingConfig", + "properties": { + "enabled": { + "description": "Enable log collection for Ray clusters.", + "type": "boolean" + } + }, + "type": "object" + }, + "RayClusterMonitoringConfig": { + "description": "RayClusterMonitoringConfig specifies monitoring configuration for Ray clusters.", + "id": "RayClusterMonitoringConfig", + "properties": { + "enabled": { + "description": "Enable metrics collection for Ray clusters.", + "type": "boolean" + } + }, + "type": "object" + }, + "RayOperatorConfig": { + "description": "Configuration options for the Ray Operator add-on.", + "id": "RayOperatorConfig", + "properties": { + "enabled": { + "description": "Whether the Ray Operator addon is enabled for this cluster.", + "type": "boolean" + }, + "rayClusterLoggingConfig": { + "$ref": "RayClusterLoggingConfig", + "description": "Optional. Logging configuration for Ray clusters." + }, + "rayClusterMonitoringConfig": { + "$ref": "RayClusterMonitoringConfig", + "description": "Optional. Monitoring configuration for Ray clusters." + } + }, + "type": "object" + }, "RecurringTimeWindow": { "description": "Represents an arbitrary window of time that recurs.", "id": "RecurringTimeWindow", diff --git a/vendor/google.golang.org/api/container/v1/container-gen.go b/vendor/google.golang.org/api/container/v1/container-gen.go index d1260b61ff..e844e3513d 100644 --- a/vendor/google.golang.org/api/container/v1/container-gen.go +++ b/vendor/google.golang.org/api/container/v1/container-gen.go @@ -326,9 +326,9 @@ type AcceleratorConfig struct { NullFields []string `json:"-"` } -func (s *AcceleratorConfig) MarshalJSON() ([]byte, error) { +func (s AcceleratorConfig) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AdditionalNodeNetworkConfig: AdditionalNodeNetworkConfig is the @@ -352,21 +352,21 @@ type AdditionalNodeNetworkConfig struct { NullFields []string `json:"-"` } -func (s *AdditionalNodeNetworkConfig) MarshalJSON() ([]byte, error) { +func (s AdditionalNodeNetworkConfig) MarshalJSON() ([]byte, error) { type NoMethod AdditionalNodeNetworkConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AdditionalPodNetworkConfig: AdditionalPodNetworkConfig is the configuration // for additional pod networks within the NodeNetworkConfig message type AdditionalPodNetworkConfig struct { // MaxPodsPerNode: The maximum number of pods per node which use this pod - // network + // network. MaxPodsPerNode *MaxPodsConstraint `json:"maxPodsPerNode,omitempty"` // SecondaryPodRange: The name of the secondary range on the subnet which - // provides IP address for this pod range + // provides IP address for this pod range. SecondaryPodRange string `json:"secondaryPodRange,omitempty"` - // Subnetwork: Name of the subnetwork where the additional pod network belongs + // Subnetwork: Name of the subnetwork where the additional pod network belongs. Subnetwork string `json:"subnetwork,omitempty"` // ForceSendFields is a list of field names (e.g. "MaxPodsPerNode") to // unconditionally include in API requests. By default, fields with empty or @@ -381,9 +381,9 @@ type AdditionalPodNetworkConfig struct { NullFields []string `json:"-"` } -func (s *AdditionalPodNetworkConfig) MarshalJSON() ([]byte, error) { +func (s AdditionalPodNetworkConfig) MarshalJSON() ([]byte, error) { type NoMethod AdditionalPodNetworkConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AdditionalPodRangesConfig: AdditionalPodRangesConfig is the configuration @@ -408,9 +408,9 @@ type AdditionalPodRangesConfig struct { NullFields []string `json:"-"` } -func (s *AdditionalPodRangesConfig) MarshalJSON() ([]byte, error) { +func (s AdditionalPodRangesConfig) MarshalJSON() ([]byte, error) { type NoMethod AdditionalPodRangesConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AddonsConfig: Configuration for the addons that can be automatically spun up @@ -453,6 +453,8 @@ type AddonsConfig struct { // whether the addon is enabled or not on the Master, it does not track whether // network policy is enabled for the nodes. NetworkPolicyConfig *NetworkPolicyConfig `json:"networkPolicyConfig,omitempty"` + // RayOperatorConfig: Optional. Configuration for Ray Operator addon. + RayOperatorConfig *RayOperatorConfig `json:"rayOperatorConfig,omitempty"` // StatefulHaConfig: Optional. Configuration for the StatefulHA add-on. StatefulHaConfig *StatefulHAConfig `json:"statefulHaConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "CloudRunConfig") to @@ -468,9 +470,9 @@ type AddonsConfig struct { NullFields []string `json:"-"` } -func (s *AddonsConfig) MarshalJSON() ([]byte, error) { +func (s AddonsConfig) MarshalJSON() ([]byte, error) { type NoMethod AddonsConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AdvancedDatapathObservabilityConfig: AdvancedDatapathObservabilityConfig @@ -501,9 +503,9 @@ type AdvancedDatapathObservabilityConfig struct { NullFields []string `json:"-"` } -func (s *AdvancedDatapathObservabilityConfig) MarshalJSON() ([]byte, error) { +func (s AdvancedDatapathObservabilityConfig) MarshalJSON() ([]byte, error) { type NoMethod AdvancedDatapathObservabilityConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AdvancedMachineFeatures: Specifies options for controlling advanced machine @@ -529,9 +531,9 @@ type AdvancedMachineFeatures struct { NullFields []string `json:"-"` } -func (s *AdvancedMachineFeatures) MarshalJSON() ([]byte, error) { +func (s AdvancedMachineFeatures) MarshalJSON() ([]byte, error) { type NoMethod AdvancedMachineFeatures - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AuthenticatorGroupsConfig: Configuration for returning group information @@ -556,9 +558,9 @@ type AuthenticatorGroupsConfig struct { NullFields []string `json:"-"` } -func (s *AuthenticatorGroupsConfig) MarshalJSON() ([]byte, error) { +func (s AuthenticatorGroupsConfig) MarshalJSON() ([]byte, error) { type NoMethod AuthenticatorGroupsConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AutoUpgradeOptions: AutoUpgradeOptions defines the set of options for the @@ -584,9 +586,9 @@ type AutoUpgradeOptions struct { NullFields []string `json:"-"` } -func (s *AutoUpgradeOptions) MarshalJSON() ([]byte, error) { +func (s AutoUpgradeOptions) MarshalJSON() ([]byte, error) { type NoMethod AutoUpgradeOptions - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Autopilot: Autopilot is the configuration for Autopilot settings on the @@ -609,9 +611,9 @@ type Autopilot struct { NullFields []string `json:"-"` } -func (s *Autopilot) MarshalJSON() ([]byte, error) { +func (s Autopilot) MarshalJSON() ([]byte, error) { type NoMethod Autopilot - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AutopilotCompatibilityIssue: AutopilotCompatibilityIssue contains @@ -653,9 +655,9 @@ type AutopilotCompatibilityIssue struct { NullFields []string `json:"-"` } -func (s *AutopilotCompatibilityIssue) MarshalJSON() ([]byte, error) { +func (s AutopilotCompatibilityIssue) MarshalJSON() ([]byte, error) { type NoMethod AutopilotCompatibilityIssue - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AutoprovisioningNodePoolDefaults: AutoprovisioningNodePoolDefaults contains @@ -718,9 +720,9 @@ type AutoprovisioningNodePoolDefaults struct { NullFields []string `json:"-"` } -func (s *AutoprovisioningNodePoolDefaults) MarshalJSON() ([]byte, error) { +func (s AutoprovisioningNodePoolDefaults) MarshalJSON() ([]byte, error) { type NoMethod AutoprovisioningNodePoolDefaults - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BestEffortProvisioning: Best effort provisioning. @@ -746,9 +748,9 @@ type BestEffortProvisioning struct { NullFields []string `json:"-"` } -func (s *BestEffortProvisioning) MarshalJSON() ([]byte, error) { +func (s BestEffortProvisioning) MarshalJSON() ([]byte, error) { type NoMethod BestEffortProvisioning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BigQueryDestination: Parameters for using BigQuery as the destination of @@ -769,9 +771,9 @@ type BigQueryDestination struct { NullFields []string `json:"-"` } -func (s *BigQueryDestination) MarshalJSON() ([]byte, error) { +func (s BigQueryDestination) MarshalJSON() ([]byte, error) { type NoMethod BigQueryDestination - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BinaryAuthorization: Configuration for Binary Authorization. @@ -803,9 +805,9 @@ type BinaryAuthorization struct { NullFields []string `json:"-"` } -func (s *BinaryAuthorization) MarshalJSON() ([]byte, error) { +func (s BinaryAuthorization) MarshalJSON() ([]byte, error) { type NoMethod BinaryAuthorization - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BlueGreenInfo: Information relevant to blue-green upgrade. @@ -849,9 +851,9 @@ type BlueGreenInfo struct { NullFields []string `json:"-"` } -func (s *BlueGreenInfo) MarshalJSON() ([]byte, error) { +func (s BlueGreenInfo) MarshalJSON() ([]byte, error) { type NoMethod BlueGreenInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // BlueGreenSettings: Settings for blue-green upgrade. @@ -874,9 +876,9 @@ type BlueGreenSettings struct { NullFields []string `json:"-"` } -func (s *BlueGreenSettings) MarshalJSON() ([]byte, error) { +func (s BlueGreenSettings) MarshalJSON() ([]byte, error) { type NoMethod BlueGreenSettings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CancelOperationRequest: CancelOperationRequest cancels a single operation. @@ -910,9 +912,9 @@ type CancelOperationRequest struct { NullFields []string `json:"-"` } -func (s *CancelOperationRequest) MarshalJSON() ([]byte, error) { +func (s CancelOperationRequest) MarshalJSON() ([]byte, error) { type NoMethod CancelOperationRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CertificateAuthorityDomainConfig: CertificateAuthorityDomainConfig @@ -939,9 +941,9 @@ type CertificateAuthorityDomainConfig struct { NullFields []string `json:"-"` } -func (s *CertificateAuthorityDomainConfig) MarshalJSON() ([]byte, error) { +func (s CertificateAuthorityDomainConfig) MarshalJSON() ([]byte, error) { type NoMethod CertificateAuthorityDomainConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CheckAutopilotCompatibilityResponse: CheckAutopilotCompatibilityResponse has @@ -967,9 +969,9 @@ type CheckAutopilotCompatibilityResponse struct { NullFields []string `json:"-"` } -func (s *CheckAutopilotCompatibilityResponse) MarshalJSON() ([]byte, error) { +func (s CheckAutopilotCompatibilityResponse) MarshalJSON() ([]byte, error) { type NoMethod CheckAutopilotCompatibilityResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CidrBlock: CidrBlock contains an optional name and one CIDR block. @@ -992,9 +994,9 @@ type CidrBlock struct { NullFields []string `json:"-"` } -func (s *CidrBlock) MarshalJSON() ([]byte, error) { +func (s CidrBlock) MarshalJSON() ([]byte, error) { type NoMethod CidrBlock - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ClientCertificateConfig: Configuration for client certificates on the @@ -1015,9 +1017,9 @@ type ClientCertificateConfig struct { NullFields []string `json:"-"` } -func (s *ClientCertificateConfig) MarshalJSON() ([]byte, error) { +func (s ClientCertificateConfig) MarshalJSON() ([]byte, error) { type NoMethod ClientCertificateConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CloudRunConfig: Configuration options for the Cloud Run feature. @@ -1047,9 +1049,9 @@ type CloudRunConfig struct { NullFields []string `json:"-"` } -func (s *CloudRunConfig) MarshalJSON() ([]byte, error) { +func (s CloudRunConfig) MarshalJSON() ([]byte, error) { type NoMethod CloudRunConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Cluster: A Google Kubernetes Engine cluster. @@ -1345,9 +1347,9 @@ type Cluster struct { NullFields []string `json:"-"` } -func (s *Cluster) MarshalJSON() ([]byte, error) { +func (s Cluster) MarshalJSON() ([]byte, error) { type NoMethod Cluster - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ClusterAutoscaling: ClusterAutoscaling contains global, per-cluster @@ -1387,9 +1389,9 @@ type ClusterAutoscaling struct { NullFields []string `json:"-"` } -func (s *ClusterAutoscaling) MarshalJSON() ([]byte, error) { +func (s ClusterAutoscaling) MarshalJSON() ([]byte, error) { type NoMethod ClusterAutoscaling - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ClusterNetworkPerformanceConfig: Configuration of network bandwidth tiers @@ -1414,9 +1416,9 @@ type ClusterNetworkPerformanceConfig struct { NullFields []string `json:"-"` } -func (s *ClusterNetworkPerformanceConfig) MarshalJSON() ([]byte, error) { +func (s ClusterNetworkPerformanceConfig) MarshalJSON() ([]byte, error) { type NoMethod ClusterNetworkPerformanceConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ClusterUpdate: ClusterUpdate describes an update to the cluster. Exactly one @@ -1656,9 +1658,9 @@ type ClusterUpdate struct { NullFields []string `json:"-"` } -func (s *ClusterUpdate) MarshalJSON() ([]byte, error) { +func (s ClusterUpdate) MarshalJSON() ([]byte, error) { type NoMethod ClusterUpdate - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CompleteIPRotationRequest: CompleteIPRotationRequest moves the cluster @@ -1692,9 +1694,9 @@ type CompleteIPRotationRequest struct { NullFields []string `json:"-"` } -func (s *CompleteIPRotationRequest) MarshalJSON() ([]byte, error) { +func (s CompleteIPRotationRequest) MarshalJSON() ([]byte, error) { type NoMethod CompleteIPRotationRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CompleteNodePoolUpgradeRequest: CompleteNodePoolUpgradeRequest sets the name @@ -1720,9 +1722,9 @@ type ConfidentialNodes struct { NullFields []string `json:"-"` } -func (s *ConfidentialNodes) MarshalJSON() ([]byte, error) { +func (s ConfidentialNodes) MarshalJSON() ([]byte, error) { type NoMethod ConfidentialNodes - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ConfigConnectorConfig: Configuration options for the Config Connector @@ -1743,9 +1745,9 @@ type ConfigConnectorConfig struct { NullFields []string `json:"-"` } -func (s *ConfigConnectorConfig) MarshalJSON() ([]byte, error) { +func (s ConfigConnectorConfig) MarshalJSON() ([]byte, error) { type NoMethod ConfigConnectorConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ConsumptionMeteringConfig: Parameters for controlling consumption metering. @@ -1767,9 +1769,9 @@ type ConsumptionMeteringConfig struct { NullFields []string `json:"-"` } -func (s *ConsumptionMeteringConfig) MarshalJSON() ([]byte, error) { +func (s ConsumptionMeteringConfig) MarshalJSON() ([]byte, error) { type NoMethod ConsumptionMeteringConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ContainerdConfig: ContainerdConfig contains configuration to customize @@ -1791,9 +1793,9 @@ type ContainerdConfig struct { NullFields []string `json:"-"` } -func (s *ContainerdConfig) MarshalJSON() ([]byte, error) { +func (s ContainerdConfig) MarshalJSON() ([]byte, error) { type NoMethod ContainerdConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CostManagementConfig: Configuration for fine-grained cost management @@ -1814,9 +1816,9 @@ type CostManagementConfig struct { NullFields []string `json:"-"` } -func (s *CostManagementConfig) MarshalJSON() ([]byte, error) { +func (s CostManagementConfig) MarshalJSON() ([]byte, error) { type NoMethod CostManagementConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CreateClusterRequest: CreateClusterRequest creates a cluster. @@ -1849,9 +1851,9 @@ type CreateClusterRequest struct { NullFields []string `json:"-"` } -func (s *CreateClusterRequest) MarshalJSON() ([]byte, error) { +func (s CreateClusterRequest) MarshalJSON() ([]byte, error) { type NoMethod CreateClusterRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CreateNodePoolRequest: CreateNodePoolRequest creates a node pool for a @@ -1888,9 +1890,9 @@ type CreateNodePoolRequest struct { NullFields []string `json:"-"` } -func (s *CreateNodePoolRequest) MarshalJSON() ([]byte, error) { +func (s CreateNodePoolRequest) MarshalJSON() ([]byte, error) { type NoMethod CreateNodePoolRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DNSConfig: DNSConfig contains the desired set of options for configuring @@ -1933,9 +1935,9 @@ type DNSConfig struct { NullFields []string `json:"-"` } -func (s *DNSConfig) MarshalJSON() ([]byte, error) { +func (s DNSConfig) MarshalJSON() ([]byte, error) { type NoMethod DNSConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DailyMaintenanceWindow: Time window specified for daily maintenance @@ -1963,9 +1965,9 @@ type DailyMaintenanceWindow struct { NullFields []string `json:"-"` } -func (s *DailyMaintenanceWindow) MarshalJSON() ([]byte, error) { +func (s DailyMaintenanceWindow) MarshalJSON() ([]byte, error) { type NoMethod DailyMaintenanceWindow - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DatabaseEncryption: Configuration of etcd encryption. @@ -2018,9 +2020,9 @@ type DatabaseEncryption struct { NullFields []string `json:"-"` } -func (s *DatabaseEncryption) MarshalJSON() ([]byte, error) { +func (s DatabaseEncryption) MarshalJSON() ([]byte, error) { type NoMethod DatabaseEncryption - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DefaultSnatStatus: DefaultSnatStatus contains the desired state of whether @@ -2041,9 +2043,9 @@ type DefaultSnatStatus struct { NullFields []string `json:"-"` } -func (s *DefaultSnatStatus) MarshalJSON() ([]byte, error) { +func (s DefaultSnatStatus) MarshalJSON() ([]byte, error) { type NoMethod DefaultSnatStatus - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // DnsCacheConfig: Configuration for NodeLocal DNSCache @@ -2063,9 +2065,9 @@ type DnsCacheConfig struct { NullFields []string `json:"-"` } -func (s *DnsCacheConfig) MarshalJSON() ([]byte, error) { +func (s DnsCacheConfig) MarshalJSON() ([]byte, error) { type NoMethod DnsCacheConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Empty: A generic empty message that you can re-use to avoid defining @@ -2101,9 +2103,9 @@ type EnterpriseConfig struct { NullFields []string `json:"-"` } -func (s *EnterpriseConfig) MarshalJSON() ([]byte, error) { +func (s EnterpriseConfig) MarshalJSON() ([]byte, error) { type NoMethod EnterpriseConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // EphemeralStorageLocalSsdConfig: EphemeralStorageLocalSsdConfig contains @@ -2137,9 +2139,9 @@ type EphemeralStorageLocalSsdConfig struct { NullFields []string `json:"-"` } -func (s *EphemeralStorageLocalSsdConfig) MarshalJSON() ([]byte, error) { +func (s EphemeralStorageLocalSsdConfig) MarshalJSON() ([]byte, error) { type NoMethod EphemeralStorageLocalSsdConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // FastSocket: Configuration of Fast Socket feature. @@ -2159,9 +2161,9 @@ type FastSocket struct { NullFields []string `json:"-"` } -func (s *FastSocket) MarshalJSON() ([]byte, error) { +func (s FastSocket) MarshalJSON() ([]byte, error) { type NoMethod FastSocket - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Filter: Allows filtering to one or more specific event types. If event types @@ -2190,9 +2192,9 @@ type Filter struct { NullFields []string `json:"-"` } -func (s *Filter) MarshalJSON() ([]byte, error) { +func (s Filter) MarshalJSON() ([]byte, error) { type NoMethod Filter - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Fleet: Fleet is the fleet configuration for the cluster. @@ -2221,9 +2223,9 @@ type Fleet struct { NullFields []string `json:"-"` } -func (s *Fleet) MarshalJSON() ([]byte, error) { +func (s Fleet) MarshalJSON() ([]byte, error) { type NoMethod Fleet - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GCPSecretManagerCertificateConfig: GCPSecretManagerCertificateConfig @@ -2247,9 +2249,9 @@ type GCPSecretManagerCertificateConfig struct { NullFields []string `json:"-"` } -func (s *GCPSecretManagerCertificateConfig) MarshalJSON() ([]byte, error) { +func (s GCPSecretManagerCertificateConfig) MarshalJSON() ([]byte, error) { type NoMethod GCPSecretManagerCertificateConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GPUDriverInstallationConfig: GPUDriverInstallationConfig specifies the @@ -2278,9 +2280,9 @@ type GPUDriverInstallationConfig struct { NullFields []string `json:"-"` } -func (s *GPUDriverInstallationConfig) MarshalJSON() ([]byte, error) { +func (s GPUDriverInstallationConfig) MarshalJSON() ([]byte, error) { type NoMethod GPUDriverInstallationConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GPUSharingConfig: GPUSharingConfig represents the GPU sharing configuration @@ -2310,9 +2312,9 @@ type GPUSharingConfig struct { NullFields []string `json:"-"` } -func (s *GPUSharingConfig) MarshalJSON() ([]byte, error) { +func (s GPUSharingConfig) MarshalJSON() ([]byte, error) { type NoMethod GPUSharingConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GatewayAPIConfig: GatewayAPIConfig contains the desired config of Gateway @@ -2341,9 +2343,9 @@ type GatewayAPIConfig struct { NullFields []string `json:"-"` } -func (s *GatewayAPIConfig) MarshalJSON() ([]byte, error) { +func (s GatewayAPIConfig) MarshalJSON() ([]byte, error) { type NoMethod GatewayAPIConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GcePersistentDiskCsiDriverConfig: Configuration for the Compute Engine PD @@ -2365,9 +2367,9 @@ type GcePersistentDiskCsiDriverConfig struct { NullFields []string `json:"-"` } -func (s *GcePersistentDiskCsiDriverConfig) MarshalJSON() ([]byte, error) { +func (s GcePersistentDiskCsiDriverConfig) MarshalJSON() ([]byte, error) { type NoMethod GcePersistentDiskCsiDriverConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GcfsConfig: GcfsConfig contains configurations of Google Container File @@ -2388,9 +2390,9 @@ type GcfsConfig struct { NullFields []string `json:"-"` } -func (s *GcfsConfig) MarshalJSON() ([]byte, error) { +func (s GcfsConfig) MarshalJSON() ([]byte, error) { type NoMethod GcfsConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GcpFilestoreCsiDriverConfig: Configuration for the GCP Filestore CSI driver. @@ -2410,9 +2412,9 @@ type GcpFilestoreCsiDriverConfig struct { NullFields []string `json:"-"` } -func (s *GcpFilestoreCsiDriverConfig) MarshalJSON() ([]byte, error) { +func (s GcpFilestoreCsiDriverConfig) MarshalJSON() ([]byte, error) { type NoMethod GcpFilestoreCsiDriverConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GcsFuseCsiDriverConfig: Configuration for the Cloud Storage Fuse CSI driver. @@ -2433,9 +2435,9 @@ type GcsFuseCsiDriverConfig struct { NullFields []string `json:"-"` } -func (s *GcsFuseCsiDriverConfig) MarshalJSON() ([]byte, error) { +func (s GcsFuseCsiDriverConfig) MarshalJSON() ([]byte, error) { type NoMethod GcsFuseCsiDriverConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GetJSONWebKeysResponse: GetJSONWebKeysResponse is a valid JSON Web Key Set @@ -2463,9 +2465,9 @@ type GetJSONWebKeysResponse struct { NullFields []string `json:"-"` } -func (s *GetJSONWebKeysResponse) MarshalJSON() ([]byte, error) { +func (s GetJSONWebKeysResponse) MarshalJSON() ([]byte, error) { type NoMethod GetJSONWebKeysResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GetOpenIDConfigResponse: GetOpenIDConfigResponse is an OIDC discovery @@ -2505,9 +2507,9 @@ type GetOpenIDConfigResponse struct { NullFields []string `json:"-"` } -func (s *GetOpenIDConfigResponse) MarshalJSON() ([]byte, error) { +func (s GetOpenIDConfigResponse) MarshalJSON() ([]byte, error) { type NoMethod GetOpenIDConfigResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GkeBackupAgentConfig: Configuration for the Backup for GKE Agent. @@ -2527,9 +2529,9 @@ type GkeBackupAgentConfig struct { NullFields []string `json:"-"` } -func (s *GkeBackupAgentConfig) MarshalJSON() ([]byte, error) { +func (s GkeBackupAgentConfig) MarshalJSON() ([]byte, error) { type NoMethod GkeBackupAgentConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HorizontalPodAutoscaling: Configuration options for the horizontal pod @@ -2554,9 +2556,9 @@ type HorizontalPodAutoscaling struct { NullFields []string `json:"-"` } -func (s *HorizontalPodAutoscaling) MarshalJSON() ([]byte, error) { +func (s HorizontalPodAutoscaling) MarshalJSON() ([]byte, error) { type NoMethod HorizontalPodAutoscaling - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpCacheControlResponseHeader: RFC-2616: cache control support @@ -2580,9 +2582,9 @@ type HttpCacheControlResponseHeader struct { NullFields []string `json:"-"` } -func (s *HttpCacheControlResponseHeader) MarshalJSON() ([]byte, error) { +func (s HttpCacheControlResponseHeader) MarshalJSON() ([]byte, error) { type NoMethod HttpCacheControlResponseHeader - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpLoadBalancing: Configuration options for the HTTP (L7) load balancing @@ -2606,9 +2608,9 @@ type HttpLoadBalancing struct { NullFields []string `json:"-"` } -func (s *HttpLoadBalancing) MarshalJSON() ([]byte, error) { +func (s HttpLoadBalancing) MarshalJSON() ([]byte, error) { type NoMethod HttpLoadBalancing - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HugepagesConfig: Hugepages amount in both 2m and 1g size @@ -2630,9 +2632,9 @@ type HugepagesConfig struct { NullFields []string `json:"-"` } -func (s *HugepagesConfig) MarshalJSON() ([]byte, error) { +func (s HugepagesConfig) MarshalJSON() ([]byte, error) { type NoMethod HugepagesConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ILBSubsettingConfig: ILBSubsettingConfig contains the desired config of L4 @@ -2653,9 +2655,9 @@ type ILBSubsettingConfig struct { NullFields []string `json:"-"` } -func (s *ILBSubsettingConfig) MarshalJSON() ([]byte, error) { +func (s ILBSubsettingConfig) MarshalJSON() ([]byte, error) { type NoMethod ILBSubsettingConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // IPAllocationPolicy: Configuration for controlling how IPs are allocated in @@ -2785,9 +2787,9 @@ type IPAllocationPolicy struct { NullFields []string `json:"-"` } -func (s *IPAllocationPolicy) MarshalJSON() ([]byte, error) { +func (s IPAllocationPolicy) MarshalJSON() ([]byte, error) { type NoMethod IPAllocationPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *IPAllocationPolicy) UnmarshalJSON(data []byte) error { @@ -2823,9 +2825,9 @@ type IdentityServiceConfig struct { NullFields []string `json:"-"` } -func (s *IdentityServiceConfig) MarshalJSON() ([]byte, error) { +func (s IdentityServiceConfig) MarshalJSON() ([]byte, error) { type NoMethod IdentityServiceConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // IntraNodeVisibilityConfig: IntraNodeVisibilityConfig contains the desired @@ -2846,9 +2848,9 @@ type IntraNodeVisibilityConfig struct { NullFields []string `json:"-"` } -func (s *IntraNodeVisibilityConfig) MarshalJSON() ([]byte, error) { +func (s IntraNodeVisibilityConfig) MarshalJSON() ([]byte, error) { type NoMethod IntraNodeVisibilityConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Jwk: Jwk is a JSON Web Key as specified in RFC 7517 @@ -2884,9 +2886,9 @@ type Jwk struct { NullFields []string `json:"-"` } -func (s *Jwk) MarshalJSON() ([]byte, error) { +func (s Jwk) MarshalJSON() ([]byte, error) { type NoMethod Jwk - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // K8sBetaAPIConfig: K8sBetaAPIConfig , configuration for beta APIs @@ -2906,9 +2908,9 @@ type K8sBetaAPIConfig struct { NullFields []string `json:"-"` } -func (s *K8sBetaAPIConfig) MarshalJSON() ([]byte, error) { +func (s K8sBetaAPIConfig) MarshalJSON() ([]byte, error) { type NoMethod K8sBetaAPIConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // KubernetesDashboard: Configuration for the Kubernetes Dashboard. @@ -2928,9 +2930,9 @@ type KubernetesDashboard struct { NullFields []string `json:"-"` } -func (s *KubernetesDashboard) MarshalJSON() ([]byte, error) { +func (s KubernetesDashboard) MarshalJSON() ([]byte, error) { type NoMethod KubernetesDashboard - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LegacyAbac: Configuration for the legacy Attribute Based Access Control @@ -2954,9 +2956,9 @@ type LegacyAbac struct { NullFields []string `json:"-"` } -func (s *LegacyAbac) MarshalJSON() ([]byte, error) { +func (s LegacyAbac) MarshalJSON() ([]byte, error) { type NoMethod LegacyAbac - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LinuxNodeConfig: Parameters that can be configured on Linux nodes. @@ -2994,9 +2996,9 @@ type LinuxNodeConfig struct { NullFields []string `json:"-"` } -func (s *LinuxNodeConfig) MarshalJSON() ([]byte, error) { +func (s LinuxNodeConfig) MarshalJSON() ([]byte, error) { type NoMethod LinuxNodeConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListClustersResponse: ListClustersResponse is the result of @@ -3024,9 +3026,9 @@ type ListClustersResponse struct { NullFields []string `json:"-"` } -func (s *ListClustersResponse) MarshalJSON() ([]byte, error) { +func (s ListClustersResponse) MarshalJSON() ([]byte, error) { type NoMethod ListClustersResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListNodePoolsResponse: ListNodePoolsResponse is the result of @@ -3050,9 +3052,9 @@ type ListNodePoolsResponse struct { NullFields []string `json:"-"` } -func (s *ListNodePoolsResponse) MarshalJSON() ([]byte, error) { +func (s ListNodePoolsResponse) MarshalJSON() ([]byte, error) { type NoMethod ListNodePoolsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListOperationsResponse: ListOperationsResponse is the result of @@ -3079,9 +3081,9 @@ type ListOperationsResponse struct { NullFields []string `json:"-"` } -func (s *ListOperationsResponse) MarshalJSON() ([]byte, error) { +func (s ListOperationsResponse) MarshalJSON() ([]byte, error) { type NoMethod ListOperationsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListUsableSubnetworksResponse: ListUsableSubnetworksResponse is the response @@ -3110,9 +3112,9 @@ type ListUsableSubnetworksResponse struct { NullFields []string `json:"-"` } -func (s *ListUsableSubnetworksResponse) MarshalJSON() ([]byte, error) { +func (s ListUsableSubnetworksResponse) MarshalJSON() ([]byte, error) { type NoMethod ListUsableSubnetworksResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LocalNvmeSsdBlockConfig: LocalNvmeSsdBlockConfig contains configuration for @@ -3145,9 +3147,9 @@ type LocalNvmeSsdBlockConfig struct { NullFields []string `json:"-"` } -func (s *LocalNvmeSsdBlockConfig) MarshalJSON() ([]byte, error) { +func (s LocalNvmeSsdBlockConfig) MarshalJSON() ([]byte, error) { type NoMethod LocalNvmeSsdBlockConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LoggingComponentConfig: LoggingComponentConfig is cluster logging component @@ -3177,9 +3179,9 @@ type LoggingComponentConfig struct { NullFields []string `json:"-"` } -func (s *LoggingComponentConfig) MarshalJSON() ([]byte, error) { +func (s LoggingComponentConfig) MarshalJSON() ([]byte, error) { type NoMethod LoggingComponentConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LoggingConfig: LoggingConfig is cluster logging configuration. @@ -3199,9 +3201,9 @@ type LoggingConfig struct { NullFields []string `json:"-"` } -func (s *LoggingConfig) MarshalJSON() ([]byte, error) { +func (s LoggingConfig) MarshalJSON() ([]byte, error) { type NoMethod LoggingConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LoggingVariantConfig: LoggingVariantConfig specifies the behaviour of the @@ -3227,9 +3229,9 @@ type LoggingVariantConfig struct { NullFields []string `json:"-"` } -func (s *LoggingVariantConfig) MarshalJSON() ([]byte, error) { +func (s LoggingVariantConfig) MarshalJSON() ([]byte, error) { type NoMethod LoggingVariantConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MaintenanceExclusionOptions: Represents the Maintenance exclusion option. @@ -3260,9 +3262,9 @@ type MaintenanceExclusionOptions struct { NullFields []string `json:"-"` } -func (s *MaintenanceExclusionOptions) MarshalJSON() ([]byte, error) { +func (s MaintenanceExclusionOptions) MarshalJSON() ([]byte, error) { type NoMethod MaintenanceExclusionOptions - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MaintenancePolicy: MaintenancePolicy defines the maintenance policy to be @@ -3290,9 +3292,9 @@ type MaintenancePolicy struct { NullFields []string `json:"-"` } -func (s *MaintenancePolicy) MarshalJSON() ([]byte, error) { +func (s MaintenancePolicy) MarshalJSON() ([]byte, error) { type NoMethod MaintenancePolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MaintenanceWindow: MaintenanceWindow defines the maintenance window to be @@ -3321,9 +3323,9 @@ type MaintenanceWindow struct { NullFields []string `json:"-"` } -func (s *MaintenanceWindow) MarshalJSON() ([]byte, error) { +func (s MaintenanceWindow) MarshalJSON() ([]byte, error) { type NoMethod MaintenanceWindow - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ManagedPrometheusConfig: ManagedPrometheusConfig defines the configuration @@ -3344,9 +3346,9 @@ type ManagedPrometheusConfig struct { NullFields []string `json:"-"` } -func (s *ManagedPrometheusConfig) MarshalJSON() ([]byte, error) { +func (s ManagedPrometheusConfig) MarshalJSON() ([]byte, error) { type NoMethod ManagedPrometheusConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MasterAuth: The authentication information for accessing the master @@ -3395,9 +3397,9 @@ type MasterAuth struct { NullFields []string `json:"-"` } -func (s *MasterAuth) MarshalJSON() ([]byte, error) { +func (s MasterAuth) MarshalJSON() ([]byte, error) { type NoMethod MasterAuth - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MasterAuthorizedNetworksConfig: Configuration options for the master @@ -3427,9 +3429,9 @@ type MasterAuthorizedNetworksConfig struct { NullFields []string `json:"-"` } -func (s *MasterAuthorizedNetworksConfig) MarshalJSON() ([]byte, error) { +func (s MasterAuthorizedNetworksConfig) MarshalJSON() ([]byte, error) { type NoMethod MasterAuthorizedNetworksConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MaxPodsConstraint: Constraints applied to pods. @@ -3449,9 +3451,9 @@ type MaxPodsConstraint struct { NullFields []string `json:"-"` } -func (s *MaxPodsConstraint) MarshalJSON() ([]byte, error) { +func (s MaxPodsConstraint) MarshalJSON() ([]byte, error) { type NoMethod MaxPodsConstraint - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MeshCertificates: Configuration for issuance of mTLS keys and certificates @@ -3476,9 +3478,9 @@ type MeshCertificates struct { NullFields []string `json:"-"` } -func (s *MeshCertificates) MarshalJSON() ([]byte, error) { +func (s MeshCertificates) MarshalJSON() ([]byte, error) { type NoMethod MeshCertificates - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Metric: Progress metric is (string, int|float|string) pair. @@ -3504,9 +3506,9 @@ type Metric struct { NullFields []string `json:"-"` } -func (s *Metric) MarshalJSON() ([]byte, error) { +func (s Metric) MarshalJSON() ([]byte, error) { type NoMethod Metric - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *Metric) UnmarshalJSON(data []byte) error { @@ -3558,9 +3560,9 @@ type MonitoringComponentConfig struct { NullFields []string `json:"-"` } -func (s *MonitoringComponentConfig) MarshalJSON() ([]byte, error) { +func (s MonitoringComponentConfig) MarshalJSON() ([]byte, error) { type NoMethod MonitoringComponentConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MonitoringConfig: MonitoringConfig is cluster monitoring configuration. @@ -3588,9 +3590,9 @@ type MonitoringConfig struct { NullFields []string `json:"-"` } -func (s *MonitoringConfig) MarshalJSON() ([]byte, error) { +func (s MonitoringConfig) MarshalJSON() ([]byte, error) { type NoMethod MonitoringConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkConfig: NetworkConfig reports the relative names of network & @@ -3681,9 +3683,9 @@ type NetworkConfig struct { NullFields []string `json:"-"` } -func (s *NetworkConfig) MarshalJSON() ([]byte, error) { +func (s NetworkConfig) MarshalJSON() ([]byte, error) { type NoMethod NetworkConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkPerformanceConfig: Configuration of all network bandwidth tiers @@ -3708,9 +3710,9 @@ type NetworkPerformanceConfig struct { NullFields []string `json:"-"` } -func (s *NetworkPerformanceConfig) MarshalJSON() ([]byte, error) { +func (s NetworkPerformanceConfig) MarshalJSON() ([]byte, error) { type NoMethod NetworkPerformanceConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkPolicy: Configuration options for the NetworkPolicy feature. @@ -3737,9 +3739,9 @@ type NetworkPolicy struct { NullFields []string `json:"-"` } -func (s *NetworkPolicy) MarshalJSON() ([]byte, error) { +func (s NetworkPolicy) MarshalJSON() ([]byte, error) { type NoMethod NetworkPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkPolicyConfig: Configuration for NetworkPolicy. This only tracks @@ -3761,9 +3763,9 @@ type NetworkPolicyConfig struct { NullFields []string `json:"-"` } -func (s *NetworkPolicyConfig) MarshalJSON() ([]byte, error) { +func (s NetworkPolicyConfig) MarshalJSON() ([]byte, error) { type NoMethod NetworkPolicyConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkTags: Collection of Compute Engine network tags that can be applied @@ -3784,9 +3786,9 @@ type NetworkTags struct { NullFields []string `json:"-"` } -func (s *NetworkTags) MarshalJSON() ([]byte, error) { +func (s NetworkTags) MarshalJSON() ([]byte, error) { type NoMethod NetworkTags - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeAffinity: Specifies the NodeAffinity key, values, and affinity operator @@ -3817,9 +3819,9 @@ type NodeAffinity struct { NullFields []string `json:"-"` } -func (s *NodeAffinity) MarshalJSON() ([]byte, error) { +func (s NodeAffinity) MarshalJSON() ([]byte, error) { type NoMethod NodeAffinity - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeConfig: Parameters that describe the nodes in a cluster. GKE Autopilot @@ -3992,9 +3994,9 @@ type NodeConfig struct { NullFields []string `json:"-"` } -func (s *NodeConfig) MarshalJSON() ([]byte, error) { +func (s NodeConfig) MarshalJSON() ([]byte, error) { type NoMethod NodeConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeConfigDefaults: Subset of NodeConfig message that has defaults. @@ -4023,9 +4025,9 @@ type NodeConfigDefaults struct { NullFields []string `json:"-"` } -func (s *NodeConfigDefaults) MarshalJSON() ([]byte, error) { +func (s NodeConfigDefaults) MarshalJSON() ([]byte, error) { type NoMethod NodeConfigDefaults - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeKubeletConfig: Node kubelet configs. @@ -4071,9 +4073,9 @@ type NodeKubeletConfig struct { NullFields []string `json:"-"` } -func (s *NodeKubeletConfig) MarshalJSON() ([]byte, error) { +func (s NodeKubeletConfig) MarshalJSON() ([]byte, error) { type NoMethod NodeKubeletConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeLabels: Collection of node-level Kubernetes labels @@ -4094,9 +4096,9 @@ type NodeLabels struct { NullFields []string `json:"-"` } -func (s *NodeLabels) MarshalJSON() ([]byte, error) { +func (s NodeLabels) MarshalJSON() ([]byte, error) { type NoMethod NodeLabels - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeManagement: NodeManagement defines the set of node management services @@ -4126,9 +4128,9 @@ type NodeManagement struct { NullFields []string `json:"-"` } -func (s *NodeManagement) MarshalJSON() ([]byte, error) { +func (s NodeManagement) MarshalJSON() ([]byte, error) { type NoMethod NodeManagement - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeNetworkConfig: Parameters for node pool-level network config. @@ -4196,9 +4198,9 @@ type NodeNetworkConfig struct { NullFields []string `json:"-"` } -func (s *NodeNetworkConfig) MarshalJSON() ([]byte, error) { +func (s NodeNetworkConfig) MarshalJSON() ([]byte, error) { type NoMethod NodeNetworkConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *NodeNetworkConfig) UnmarshalJSON(data []byte) error { @@ -4322,9 +4324,9 @@ type NodePool struct { NullFields []string `json:"-"` } -func (s *NodePool) MarshalJSON() ([]byte, error) { +func (s NodePool) MarshalJSON() ([]byte, error) { type NoMethod NodePool - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodePoolAutoConfig: Node pool configs that apply to all auto-provisioned @@ -4357,9 +4359,9 @@ type NodePoolAutoConfig struct { NullFields []string `json:"-"` } -func (s *NodePoolAutoConfig) MarshalJSON() ([]byte, error) { +func (s NodePoolAutoConfig) MarshalJSON() ([]byte, error) { type NoMethod NodePoolAutoConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodePoolAutoscaling: NodePoolAutoscaling contains information required by @@ -4406,9 +4408,9 @@ type NodePoolAutoscaling struct { NullFields []string `json:"-"` } -func (s *NodePoolAutoscaling) MarshalJSON() ([]byte, error) { +func (s NodePoolAutoscaling) MarshalJSON() ([]byte, error) { type NoMethod NodePoolAutoscaling - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodePoolDefaults: Subset of Nodepool message that has defaults. @@ -4428,9 +4430,9 @@ type NodePoolDefaults struct { NullFields []string `json:"-"` } -func (s *NodePoolDefaults) MarshalJSON() ([]byte, error) { +func (s NodePoolDefaults) MarshalJSON() ([]byte, error) { type NoMethod NodePoolDefaults - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodePoolLoggingConfig: NodePoolLoggingConfig specifies logging configuration @@ -4451,9 +4453,9 @@ type NodePoolLoggingConfig struct { NullFields []string `json:"-"` } -func (s *NodePoolLoggingConfig) MarshalJSON() ([]byte, error) { +func (s NodePoolLoggingConfig) MarshalJSON() ([]byte, error) { type NoMethod NodePoolLoggingConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeTaint: Kubernetes taint is composed of three fields: key, value, and @@ -4487,9 +4489,9 @@ type NodeTaint struct { NullFields []string `json:"-"` } -func (s *NodeTaint) MarshalJSON() ([]byte, error) { +func (s NodeTaint) MarshalJSON() ([]byte, error) { type NoMethod NodeTaint - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NodeTaints: Collection of Kubernetes node taints @@ -4510,9 +4512,9 @@ type NodeTaints struct { NullFields []string `json:"-"` } -func (s *NodeTaints) MarshalJSON() ([]byte, error) { +func (s NodeTaints) MarshalJSON() ([]byte, error) { type NoMethod NodeTaints - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NotificationConfig: NotificationConfig is the configuration of @@ -4533,9 +4535,9 @@ type NotificationConfig struct { NullFields []string `json:"-"` } -func (s *NotificationConfig) MarshalJSON() ([]byte, error) { +func (s NotificationConfig) MarshalJSON() ([]byte, error) { type NoMethod NotificationConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Operation: This operation resource represents operations that may have @@ -4695,9 +4697,9 @@ type Operation struct { NullFields []string `json:"-"` } -func (s *Operation) MarshalJSON() ([]byte, error) { +func (s Operation) MarshalJSON() ([]byte, error) { type NoMethod Operation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // OperationError: OperationError records errors seen from CloudKMS keys @@ -4722,9 +4724,9 @@ type OperationError struct { NullFields []string `json:"-"` } -func (s *OperationError) MarshalJSON() ([]byte, error) { +func (s OperationError) MarshalJSON() ([]byte, error) { type NoMethod OperationError - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // OperationProgress: Information about operation (or operation stage) @@ -4762,9 +4764,9 @@ type OperationProgress struct { NullFields []string `json:"-"` } -func (s *OperationProgress) MarshalJSON() ([]byte, error) { +func (s OperationProgress) MarshalJSON() ([]byte, error) { type NoMethod OperationProgress - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ParentProductConfig: ParentProductConfig is the configuration of the parent @@ -4788,9 +4790,9 @@ type ParentProductConfig struct { NullFields []string `json:"-"` } -func (s *ParentProductConfig) MarshalJSON() ([]byte, error) { +func (s ParentProductConfig) MarshalJSON() ([]byte, error) { type NoMethod ParentProductConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PlacementPolicy: PlacementPolicy defines the placement policy used by the @@ -4824,9 +4826,9 @@ type PlacementPolicy struct { NullFields []string `json:"-"` } -func (s *PlacementPolicy) MarshalJSON() ([]byte, error) { +func (s PlacementPolicy) MarshalJSON() ([]byte, error) { type NoMethod PlacementPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PodCIDROverprovisionConfig: [PRIVATE FIELD] Config for pod CIDR size @@ -4848,9 +4850,9 @@ type PodCIDROverprovisionConfig struct { NullFields []string `json:"-"` } -func (s *PodCIDROverprovisionConfig) MarshalJSON() ([]byte, error) { +func (s PodCIDROverprovisionConfig) MarshalJSON() ([]byte, error) { type NoMethod PodCIDROverprovisionConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PrivateClusterConfig: Configuration options for private clusters. @@ -4895,9 +4897,9 @@ type PrivateClusterConfig struct { NullFields []string `json:"-"` } -func (s *PrivateClusterConfig) MarshalJSON() ([]byte, error) { +func (s PrivateClusterConfig) MarshalJSON() ([]byte, error) { type NoMethod PrivateClusterConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PrivateClusterMasterGlobalAccessConfig: Configuration for controlling master @@ -4918,9 +4920,9 @@ type PrivateClusterMasterGlobalAccessConfig struct { NullFields []string `json:"-"` } -func (s *PrivateClusterMasterGlobalAccessConfig) MarshalJSON() ([]byte, error) { +func (s PrivateClusterMasterGlobalAccessConfig) MarshalJSON() ([]byte, error) { type NoMethod PrivateClusterMasterGlobalAccessConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PrivateRegistryAccessConfig: PrivateRegistryAccessConfig contains access @@ -4945,9 +4947,9 @@ type PrivateRegistryAccessConfig struct { NullFields []string `json:"-"` } -func (s *PrivateRegistryAccessConfig) MarshalJSON() ([]byte, error) { +func (s PrivateRegistryAccessConfig) MarshalJSON() ([]byte, error) { type NoMethod PrivateRegistryAccessConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // PubSub: Pub/Sub specific notification config. @@ -4974,9 +4976,9 @@ type PubSub struct { NullFields []string `json:"-"` } -func (s *PubSub) MarshalJSON() ([]byte, error) { +func (s PubSub) MarshalJSON() ([]byte, error) { type NoMethod PubSub - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // QueuedProvisioning: QueuedProvisioning defines the queued provisioning used @@ -4999,9 +5001,9 @@ type QueuedProvisioning struct { NullFields []string `json:"-"` } -func (s *QueuedProvisioning) MarshalJSON() ([]byte, error) { +func (s QueuedProvisioning) MarshalJSON() ([]byte, error) { type NoMethod QueuedProvisioning - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RangeInfo: RangeInfo contains the range name and the range utilization by @@ -5024,9 +5026,9 @@ type RangeInfo struct { NullFields []string `json:"-"` } -func (s *RangeInfo) MarshalJSON() ([]byte, error) { +func (s RangeInfo) MarshalJSON() ([]byte, error) { type NoMethod RangeInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *RangeInfo) UnmarshalJSON(data []byte) error { @@ -5043,6 +5045,79 @@ func (s *RangeInfo) UnmarshalJSON(data []byte) error { return nil } +// RayClusterLoggingConfig: RayClusterLoggingConfig specifies configuration of +// Ray logging. +type RayClusterLoggingConfig struct { + // Enabled: Enable log collection for Ray clusters. + Enabled bool `json:"enabled,omitempty"` + // ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Enabled") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s RayClusterLoggingConfig) MarshalJSON() ([]byte, error) { + type NoMethod RayClusterLoggingConfig + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// RayClusterMonitoringConfig: RayClusterMonitoringConfig specifies monitoring +// configuration for Ray clusters. +type RayClusterMonitoringConfig struct { + // Enabled: Enable metrics collection for Ray clusters. + Enabled bool `json:"enabled,omitempty"` + // ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Enabled") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s RayClusterMonitoringConfig) MarshalJSON() ([]byte, error) { + type NoMethod RayClusterMonitoringConfig + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// RayOperatorConfig: Configuration options for the Ray Operator add-on. +type RayOperatorConfig struct { + // Enabled: Whether the Ray Operator addon is enabled for this cluster. + Enabled bool `json:"enabled,omitempty"` + // RayClusterLoggingConfig: Optional. Logging configuration for Ray clusters. + RayClusterLoggingConfig *RayClusterLoggingConfig `json:"rayClusterLoggingConfig,omitempty"` + // RayClusterMonitoringConfig: Optional. Monitoring configuration for Ray + // clusters. + RayClusterMonitoringConfig *RayClusterMonitoringConfig `json:"rayClusterMonitoringConfig,omitempty"` + // ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Enabled") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s RayOperatorConfig) MarshalJSON() ([]byte, error) { + type NoMethod RayOperatorConfig + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // RecurringTimeWindow: Represents an arbitrary window of time that recurs. type RecurringTimeWindow struct { // Recurrence: An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) @@ -5077,9 +5152,9 @@ type RecurringTimeWindow struct { NullFields []string `json:"-"` } -func (s *RecurringTimeWindow) MarshalJSON() ([]byte, error) { +func (s RecurringTimeWindow) MarshalJSON() ([]byte, error) { type NoMethod RecurringTimeWindow - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ReleaseChannel: ReleaseChannel indicates which release channel a cluster is @@ -5116,9 +5191,9 @@ type ReleaseChannel struct { NullFields []string `json:"-"` } -func (s *ReleaseChannel) MarshalJSON() ([]byte, error) { +func (s ReleaseChannel) MarshalJSON() ([]byte, error) { type NoMethod ReleaseChannel - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ReleaseChannelConfig: ReleaseChannelConfig exposes configuration for a @@ -5156,9 +5231,9 @@ type ReleaseChannelConfig struct { NullFields []string `json:"-"` } -func (s *ReleaseChannelConfig) MarshalJSON() ([]byte, error) { +func (s ReleaseChannelConfig) MarshalJSON() ([]byte, error) { type NoMethod ReleaseChannelConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ReservationAffinity: ReservationAffinity @@ -5195,9 +5270,9 @@ type ReservationAffinity struct { NullFields []string `json:"-"` } -func (s *ReservationAffinity) MarshalJSON() ([]byte, error) { +func (s ReservationAffinity) MarshalJSON() ([]byte, error) { type NoMethod ReservationAffinity - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourceLabels: Collection of GCP labels @@ -5218,9 +5293,9 @@ type ResourceLabels struct { NullFields []string `json:"-"` } -func (s *ResourceLabels) MarshalJSON() ([]byte, error) { +func (s ResourceLabels) MarshalJSON() ([]byte, error) { type NoMethod ResourceLabels - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourceLimit: Contains information about amount of some resource in the @@ -5245,9 +5320,9 @@ type ResourceLimit struct { NullFields []string `json:"-"` } -func (s *ResourceLimit) MarshalJSON() ([]byte, error) { +func (s ResourceLimit) MarshalJSON() ([]byte, error) { type NoMethod ResourceLimit - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourceManagerTags: A map of resource manager tag keys and values to be @@ -5275,9 +5350,9 @@ type ResourceManagerTags struct { NullFields []string `json:"-"` } -func (s *ResourceManagerTags) MarshalJSON() ([]byte, error) { +func (s ResourceManagerTags) MarshalJSON() ([]byte, error) { type NoMethod ResourceManagerTags - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ResourceUsageExportConfig: Configuration for exporting cluster resource @@ -5306,9 +5381,9 @@ type ResourceUsageExportConfig struct { NullFields []string `json:"-"` } -func (s *ResourceUsageExportConfig) MarshalJSON() ([]byte, error) { +func (s ResourceUsageExportConfig) MarshalJSON() ([]byte, error) { type NoMethod ResourceUsageExportConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // RollbackNodePoolUpgradeRequest: RollbackNodePoolUpgradeRequest rollbacks the @@ -5350,9 +5425,9 @@ type RollbackNodePoolUpgradeRequest struct { NullFields []string `json:"-"` } -func (s *RollbackNodePoolUpgradeRequest) MarshalJSON() ([]byte, error) { +func (s RollbackNodePoolUpgradeRequest) MarshalJSON() ([]byte, error) { type NoMethod RollbackNodePoolUpgradeRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SandboxConfig: SandboxConfig contains configurations of the sandbox to use @@ -5377,9 +5452,9 @@ type SandboxConfig struct { NullFields []string `json:"-"` } -func (s *SandboxConfig) MarshalJSON() ([]byte, error) { +func (s SandboxConfig) MarshalJSON() ([]byte, error) { type NoMethod SandboxConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecondaryBootDisk: SecondaryBootDisk represents a persistent disk attached @@ -5407,9 +5482,9 @@ type SecondaryBootDisk struct { NullFields []string `json:"-"` } -func (s *SecondaryBootDisk) MarshalJSON() ([]byte, error) { +func (s SecondaryBootDisk) MarshalJSON() ([]byte, error) { type NoMethod SecondaryBootDisk - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecondaryBootDiskUpdateStrategy: SecondaryBootDiskUpdateStrategy is a @@ -5466,9 +5541,9 @@ type SecurityBulletinEvent struct { NullFields []string `json:"-"` } -func (s *SecurityBulletinEvent) MarshalJSON() ([]byte, error) { +func (s SecurityBulletinEvent) MarshalJSON() ([]byte, error) { type NoMethod SecurityBulletinEvent - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SecurityPostureConfig: SecurityPostureConfig defines the flags needed to @@ -5506,9 +5581,9 @@ type SecurityPostureConfig struct { NullFields []string `json:"-"` } -func (s *SecurityPostureConfig) MarshalJSON() ([]byte, error) { +func (s SecurityPostureConfig) MarshalJSON() ([]byte, error) { type NoMethod SecurityPostureConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServerConfig: Kubernetes Engine service configuration. @@ -5542,9 +5617,9 @@ type ServerConfig struct { NullFields []string `json:"-"` } -func (s *ServerConfig) MarshalJSON() ([]byte, error) { +func (s ServerConfig) MarshalJSON() ([]byte, error) { type NoMethod ServerConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceExternalIPsConfig: Config to block services with externalIPs field. @@ -5564,9 +5639,9 @@ type ServiceExternalIPsConfig struct { NullFields []string `json:"-"` } -func (s *ServiceExternalIPsConfig) MarshalJSON() ([]byte, error) { +func (s ServiceExternalIPsConfig) MarshalJSON() ([]byte, error) { type NoMethod ServiceExternalIPsConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SetAddonsConfigRequest: SetAddonsConfigRequest sets the addons associated @@ -5603,9 +5678,9 @@ type SetAddonsConfigRequest struct { NullFields []string `json:"-"` } -func (s *SetAddonsConfigRequest) MarshalJSON() ([]byte, error) { +func (s SetAddonsConfigRequest) MarshalJSON() ([]byte, error) { type NoMethod SetAddonsConfigRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SetLabelsRequest: SetLabelsRequest sets the Google Cloud Platform labels on @@ -5649,9 +5724,9 @@ type SetLabelsRequest struct { NullFields []string `json:"-"` } -func (s *SetLabelsRequest) MarshalJSON() ([]byte, error) { +func (s SetLabelsRequest) MarshalJSON() ([]byte, error) { type NoMethod SetLabelsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SetLegacyAbacRequest: SetLegacyAbacRequest enables or disables the ABAC @@ -5688,9 +5763,9 @@ type SetLegacyAbacRequest struct { NullFields []string `json:"-"` } -func (s *SetLegacyAbacRequest) MarshalJSON() ([]byte, error) { +func (s SetLegacyAbacRequest) MarshalJSON() ([]byte, error) { type NoMethod SetLegacyAbacRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SetLocationsRequest: SetLocationsRequest sets the locations of the cluster. @@ -5730,9 +5805,9 @@ type SetLocationsRequest struct { NullFields []string `json:"-"` } -func (s *SetLocationsRequest) MarshalJSON() ([]byte, error) { +func (s SetLocationsRequest) MarshalJSON() ([]byte, error) { type NoMethod SetLocationsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SetLoggingServiceRequest: SetLoggingServiceRequest sets the logging service @@ -5775,9 +5850,9 @@ type SetLoggingServiceRequest struct { NullFields []string `json:"-"` } -func (s *SetLoggingServiceRequest) MarshalJSON() ([]byte, error) { +func (s SetLoggingServiceRequest) MarshalJSON() ([]byte, error) { type NoMethod SetLoggingServiceRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SetMaintenancePolicyRequest: SetMaintenancePolicyRequest sets the @@ -5813,9 +5888,9 @@ type SetMaintenancePolicyRequest struct { NullFields []string `json:"-"` } -func (s *SetMaintenancePolicyRequest) MarshalJSON() ([]byte, error) { +func (s SetMaintenancePolicyRequest) MarshalJSON() ([]byte, error) { type NoMethod SetMaintenancePolicyRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SetMasterAuthRequest: SetMasterAuthRequest updates the admin password of a @@ -5862,9 +5937,9 @@ type SetMasterAuthRequest struct { NullFields []string `json:"-"` } -func (s *SetMasterAuthRequest) MarshalJSON() ([]byte, error) { +func (s SetMasterAuthRequest) MarshalJSON() ([]byte, error) { type NoMethod SetMasterAuthRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SetMonitoringServiceRequest: SetMonitoringServiceRequest sets the monitoring @@ -5907,9 +5982,9 @@ type SetMonitoringServiceRequest struct { NullFields []string `json:"-"` } -func (s *SetMonitoringServiceRequest) MarshalJSON() ([]byte, error) { +func (s SetMonitoringServiceRequest) MarshalJSON() ([]byte, error) { type NoMethod SetMonitoringServiceRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SetNetworkPolicyRequest: SetNetworkPolicyRequest enables/disables network @@ -5947,9 +6022,9 @@ type SetNetworkPolicyRequest struct { NullFields []string `json:"-"` } -func (s *SetNetworkPolicyRequest) MarshalJSON() ([]byte, error) { +func (s SetNetworkPolicyRequest) MarshalJSON() ([]byte, error) { type NoMethod SetNetworkPolicyRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SetNodePoolAutoscalingRequest: SetNodePoolAutoscalingRequest sets the @@ -5989,9 +6064,9 @@ type SetNodePoolAutoscalingRequest struct { NullFields []string `json:"-"` } -func (s *SetNodePoolAutoscalingRequest) MarshalJSON() ([]byte, error) { +func (s SetNodePoolAutoscalingRequest) MarshalJSON() ([]byte, error) { type NoMethod SetNodePoolAutoscalingRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SetNodePoolManagementRequest: SetNodePoolManagementRequest sets the node @@ -6031,9 +6106,9 @@ type SetNodePoolManagementRequest struct { NullFields []string `json:"-"` } -func (s *SetNodePoolManagementRequest) MarshalJSON() ([]byte, error) { +func (s SetNodePoolManagementRequest) MarshalJSON() ([]byte, error) { type NoMethod SetNodePoolManagementRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SetNodePoolSizeRequest: SetNodePoolSizeRequest sets the size of a node pool. @@ -6072,9 +6147,9 @@ type SetNodePoolSizeRequest struct { NullFields []string `json:"-"` } -func (s *SetNodePoolSizeRequest) MarshalJSON() ([]byte, error) { +func (s SetNodePoolSizeRequest) MarshalJSON() ([]byte, error) { type NoMethod SetNodePoolSizeRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ShieldedInstanceConfig: A set of Shielded Instance options. @@ -6103,9 +6178,9 @@ type ShieldedInstanceConfig struct { NullFields []string `json:"-"` } -func (s *ShieldedInstanceConfig) MarshalJSON() ([]byte, error) { +func (s ShieldedInstanceConfig) MarshalJSON() ([]byte, error) { type NoMethod ShieldedInstanceConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ShieldedNodes: Configuration of Shielded Nodes feature. @@ -6126,9 +6201,9 @@ type ShieldedNodes struct { NullFields []string `json:"-"` } -func (s *ShieldedNodes) MarshalJSON() ([]byte, error) { +func (s ShieldedNodes) MarshalJSON() ([]byte, error) { type NoMethod ShieldedNodes - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SoleTenantConfig: SoleTenantConfig contains the NodeAffinities to specify @@ -6150,9 +6225,9 @@ type SoleTenantConfig struct { NullFields []string `json:"-"` } -func (s *SoleTenantConfig) MarshalJSON() ([]byte, error) { +func (s SoleTenantConfig) MarshalJSON() ([]byte, error) { type NoMethod SoleTenantConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StandardRolloutPolicy: Standard rollout policy is the default policy for @@ -6178,9 +6253,9 @@ type StandardRolloutPolicy struct { NullFields []string `json:"-"` } -func (s *StandardRolloutPolicy) MarshalJSON() ([]byte, error) { +func (s StandardRolloutPolicy) MarshalJSON() ([]byte, error) { type NoMethod StandardRolloutPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *StandardRolloutPolicy) UnmarshalJSON(data []byte) error { @@ -6231,9 +6306,9 @@ type StartIPRotationRequest struct { NullFields []string `json:"-"` } -func (s *StartIPRotationRequest) MarshalJSON() ([]byte, error) { +func (s StartIPRotationRequest) MarshalJSON() ([]byte, error) { type NoMethod StartIPRotationRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StatefulHAConfig: Configuration for the Stateful HA add-on. @@ -6253,9 +6328,9 @@ type StatefulHAConfig struct { NullFields []string `json:"-"` } -func (s *StatefulHAConfig) MarshalJSON() ([]byte, error) { +func (s StatefulHAConfig) MarshalJSON() ([]byte, error) { type NoMethod StatefulHAConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Status: The `Status` type defines a logical error model that is suitable for @@ -6287,9 +6362,9 @@ type Status struct { NullFields []string `json:"-"` } -func (s *Status) MarshalJSON() ([]byte, error) { +func (s Status) MarshalJSON() ([]byte, error) { type NoMethod Status - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StatusCondition: StatusCondition describes why a cluster or a node pool has @@ -6408,9 +6483,9 @@ type StatusCondition struct { NullFields []string `json:"-"` } -func (s *StatusCondition) MarshalJSON() ([]byte, error) { +func (s StatusCondition) MarshalJSON() ([]byte, error) { type NoMethod StatusCondition - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TimeWindow: Represents an arbitrary window of time. @@ -6436,9 +6511,9 @@ type TimeWindow struct { NullFields []string `json:"-"` } -func (s *TimeWindow) MarshalJSON() ([]byte, error) { +func (s TimeWindow) MarshalJSON() ([]byte, error) { type NoMethod TimeWindow - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UpdateClusterRequest: UpdateClusterRequest updates the settings of a @@ -6474,9 +6549,9 @@ type UpdateClusterRequest struct { NullFields []string `json:"-"` } -func (s *UpdateClusterRequest) MarshalJSON() ([]byte, error) { +func (s UpdateClusterRequest) MarshalJSON() ([]byte, error) { type NoMethod UpdateClusterRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UpdateInfo: UpdateInfo contains resource (instance groups, etc), status and @@ -6497,9 +6572,9 @@ type UpdateInfo struct { NullFields []string `json:"-"` } -func (s *UpdateInfo) MarshalJSON() ([]byte, error) { +func (s UpdateInfo) MarshalJSON() ([]byte, error) { type NoMethod UpdateInfo - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UpdateMasterRequest: UpdateMasterRequest updates the master of the cluster. @@ -6540,9 +6615,9 @@ type UpdateMasterRequest struct { NullFields []string `json:"-"` } -func (s *UpdateMasterRequest) MarshalJSON() ([]byte, error) { +func (s UpdateMasterRequest) MarshalJSON() ([]byte, error) { type NoMethod UpdateMasterRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UpdateNodePoolRequest: UpdateNodePoolRequests update a node pool's image @@ -6669,9 +6744,9 @@ type UpdateNodePoolRequest struct { NullFields []string `json:"-"` } -func (s *UpdateNodePoolRequest) MarshalJSON() ([]byte, error) { +func (s UpdateNodePoolRequest) MarshalJSON() ([]byte, error) { type NoMethod UpdateNodePoolRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UpgradeAvailableEvent: UpgradeAvailableEvent is a notification sent to @@ -6706,9 +6781,9 @@ type UpgradeAvailableEvent struct { NullFields []string `json:"-"` } -func (s *UpgradeAvailableEvent) MarshalJSON() ([]byte, error) { +func (s UpgradeAvailableEvent) MarshalJSON() ([]byte, error) { type NoMethod UpgradeAvailableEvent - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UpgradeEvent: UpgradeEvent is a notification sent to customers by the @@ -6746,9 +6821,9 @@ type UpgradeEvent struct { NullFields []string `json:"-"` } -func (s *UpgradeEvent) MarshalJSON() ([]byte, error) { +func (s UpgradeEvent) MarshalJSON() ([]byte, error) { type NoMethod UpgradeEvent - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UpgradeSettings: These upgrade settings control the level of parallelism and @@ -6815,9 +6890,9 @@ type UpgradeSettings struct { NullFields []string `json:"-"` } -func (s *UpgradeSettings) MarshalJSON() ([]byte, error) { +func (s UpgradeSettings) MarshalJSON() ([]byte, error) { type NoMethod UpgradeSettings - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UsableSubnetwork: UsableSubnetwork resource returns the subnetwork name, its @@ -6852,9 +6927,9 @@ type UsableSubnetwork struct { NullFields []string `json:"-"` } -func (s *UsableSubnetwork) MarshalJSON() ([]byte, error) { +func (s UsableSubnetwork) MarshalJSON() ([]byte, error) { type NoMethod UsableSubnetwork - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // UsableSubnetworkSecondaryRange: Secondary IP range of a usable subnetwork. @@ -6894,9 +6969,9 @@ type UsableSubnetworkSecondaryRange struct { NullFields []string `json:"-"` } -func (s *UsableSubnetworkSecondaryRange) MarshalJSON() ([]byte, error) { +func (s UsableSubnetworkSecondaryRange) MarshalJSON() ([]byte, error) { type NoMethod UsableSubnetworkSecondaryRange - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VerticalPodAutoscaling: VerticalPodAutoscaling contains global, per-cluster @@ -6918,9 +6993,9 @@ type VerticalPodAutoscaling struct { NullFields []string `json:"-"` } -func (s *VerticalPodAutoscaling) MarshalJSON() ([]byte, error) { +func (s VerticalPodAutoscaling) MarshalJSON() ([]byte, error) { type NoMethod VerticalPodAutoscaling - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // VirtualNIC: Configuration of gVNIC feature. @@ -6940,9 +7015,9 @@ type VirtualNIC struct { NullFields []string `json:"-"` } -func (s *VirtualNIC) MarshalJSON() ([]byte, error) { +func (s VirtualNIC) MarshalJSON() ([]byte, error) { type NoMethod VirtualNIC - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // WindowsNodeConfig: Parameters that can be configured on Windows nodes. @@ -6972,9 +7047,9 @@ type WindowsNodeConfig struct { NullFields []string `json:"-"` } -func (s *WindowsNodeConfig) MarshalJSON() ([]byte, error) { +func (s WindowsNodeConfig) MarshalJSON() ([]byte, error) { type NoMethod WindowsNodeConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // WorkloadIdentityConfig: Configuration for the use of Kubernetes Service @@ -6996,9 +7071,9 @@ type WorkloadIdentityConfig struct { NullFields []string `json:"-"` } -func (s *WorkloadIdentityConfig) MarshalJSON() ([]byte, error) { +func (s WorkloadIdentityConfig) MarshalJSON() ([]byte, error) { type NoMethod WorkloadIdentityConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // WorkloadMetadataConfig: WorkloadMetadataConfig defines the metadata @@ -7029,9 +7104,9 @@ type WorkloadMetadataConfig struct { NullFields []string `json:"-"` } -func (s *WorkloadMetadataConfig) MarshalJSON() ([]byte, error) { +func (s WorkloadMetadataConfig) MarshalJSON() ([]byte, error) { type NoMethod WorkloadMetadataConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // WorkloadPolicyConfig: WorkloadPolicyConfig is the configuration of workload @@ -7052,9 +7127,9 @@ type WorkloadPolicyConfig struct { NullFields []string `json:"-"` } -func (s *WorkloadPolicyConfig) MarshalJSON() ([]byte, error) { +func (s WorkloadPolicyConfig) MarshalJSON() ([]byte, error) { type NoMethod WorkloadPolicyConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ProjectsAggregatedUsableSubnetworksListCall struct { diff --git a/vendor/google.golang.org/api/internal/creds.go b/vendor/google.golang.org/api/internal/creds.go index e6c4fe90d4..5ea555ed01 100644 --- a/vendor/google.golang.org/api/internal/creds.go +++ b/vendor/google.golang.org/api/internal/creds.go @@ -127,7 +127,7 @@ func baseCreds(ctx context.Context, ds *DialSettings) (*google.Credentials, erro if ds.Credentials != nil { return ds.Credentials, nil } - if ds.CredentialsJSON != nil { + if len(ds.CredentialsJSON) > 0 { return credentialsFromJSON(ctx, ds.CredentialsJSON, ds) } if ds.CredentialsFile != "" { diff --git a/vendor/google.golang.org/api/internal/settings.go b/vendor/google.golang.org/api/internal/settings.go index 6d0c18e5a8..edba49af49 100644 --- a/vendor/google.golang.org/api/internal/settings.go +++ b/vendor/google.golang.org/api/internal/settings.go @@ -126,7 +126,7 @@ func (ds *DialSettings) Validate() error { if ds.Credentials != nil { nCreds++ } - if ds.CredentialsJSON != nil { + if len(ds.CredentialsJSON) > 0 { nCreds++ } if ds.CredentialsFile != "" { diff --git a/vendor/google.golang.org/api/internal/version.go b/vendor/google.golang.org/api/internal/version.go index b6fd68d50e..1bcbf2cb30 100644 --- a/vendor/google.golang.org/api/internal/version.go +++ b/vendor/google.golang.org/api/internal/version.go @@ -5,4 +5,4 @@ package internal // Version is the current tagged release of the library. -const Version = "0.187.0" +const Version = "0.189.0" diff --git a/vendor/google.golang.org/api/networkservices/v1/networkservices-api.json b/vendor/google.golang.org/api/networkservices/v1/networkservices-api.json index f15b765552..fcec8c8efa 100644 --- a/vendor/google.golang.org/api/networkservices/v1/networkservices-api.json +++ b/vendor/google.golang.org/api/networkservices/v1/networkservices-api.json @@ -535,37 +535,6 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpointPolicies/{endpointPoliciesId}:getIamPolicy", - "httpMethod": "GET", - "id": "networkservices.projects.locations.endpointPolicies.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/endpointPolicies/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, "list": { "description": "Lists EndpointPolicies in a given project and location.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpointPolicies", @@ -635,62 +604,6 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpointPolicies/{endpointPoliciesId}:setIamPolicy", - "httpMethod": "POST", - "id": "networkservices.projects.locations.endpointPolicies.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/endpointPolicies/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpointPolicies/{endpointPoliciesId}:testIamPermissions", - "httpMethod": "POST", - "id": "networkservices.projects.locations.endpointPolicies.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/endpointPolicies/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] } } }, @@ -779,37 +692,6 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gateways/{gatewaysId}:getIamPolicy", - "httpMethod": "GET", - "id": "networkservices.projects.locations.gateways.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/gateways/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, "list": { "description": "Lists Gateways in a given project and location.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gateways", @@ -879,62 +761,6 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gateways/{gatewaysId}:setIamPolicy", - "httpMethod": "POST", - "id": "networkservices.projects.locations.gateways.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/gateways/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gateways/{gatewaysId}:testIamPermissions", - "httpMethod": "POST", - "id": "networkservices.projects.locations.gateways.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/gateways/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] } } }, @@ -1701,37 +1527,6 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/meshes/{meshesId}:getIamPolicy", - "httpMethod": "GET", - "id": "networkservices.projects.locations.meshes.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/meshes/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, "list": { "description": "Lists Meshes in a given project and location.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/meshes", @@ -1801,62 +1596,6 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/meshes/{meshesId}:setIamPolicy", - "httpMethod": "POST", - "id": "networkservices.projects.locations.meshes.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/meshes/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/meshes/{meshesId}:testIamPermissions", - "httpMethod": "POST", - "id": "networkservices.projects.locations.meshes.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/meshes/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] } } }, @@ -2068,37 +1807,6 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceBindings/{serviceBindingsId}:getIamPolicy", - "httpMethod": "GET", - "id": "networkservices.projects.locations.serviceBindings.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/serviceBindings/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, "list": { "description": "Lists ServiceBinding in a given project and location.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceBindings", @@ -2134,62 +1842,6 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceBindings/{serviceBindingsId}:setIamPolicy", - "httpMethod": "POST", - "id": "networkservices.projects.locations.serviceBindings.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/serviceBindings/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceBindings/{serviceBindingsId}:testIamPermissions", - "httpMethod": "POST", - "id": "networkservices.projects.locations.serviceBindings.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/serviceBindings/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] } } }, @@ -2725,7 +2377,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the TlsRoute resource. It matches pattern `projects/*/locations/global/tlsRoutes/tls_route_name\u003e`.", + "description": "Identifier. Name of the TlsRoute resource. It matches pattern `projects/*/locations/global/tlsRoutes/tls_route_name\u003e`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/tlsRoutes/[^/]+$", "required": true, @@ -2756,7 +2408,7 @@ } } }, - "revision": "20240613", + "revision": "20240707", "rootUrl": "https://networkservices.googleapis.com/", "schemas": { "AuditConfig": { @@ -5021,7 +4673,7 @@ "type": "array" }, "name": { - "description": "Required. Name of the TlsRoute resource. It matches pattern `projects/*/locations/global/tlsRoutes/tls_route_name\u003e`.", + "description": "Identifier. Name of the TlsRoute resource. It matches pattern `projects/*/locations/global/tlsRoutes/tls_route_name\u003e`.", "type": "string" }, "rules": { diff --git a/vendor/google.golang.org/api/networkservices/v1/networkservices-gen.go b/vendor/google.golang.org/api/networkservices/v1/networkservices-gen.go index 477ff532d8..03d634dda2 100644 --- a/vendor/google.golang.org/api/networkservices/v1/networkservices-gen.go +++ b/vendor/google.golang.org/api/networkservices/v1/networkservices-gen.go @@ -391,9 +391,9 @@ type AuditConfig struct { NullFields []string `json:"-"` } -func (s *AuditConfig) MarshalJSON() ([]byte, error) { +func (s AuditConfig) MarshalJSON() ([]byte, error) { type NoMethod AuditConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AuditLogConfig: Provides the configuration for logging a type of @@ -426,9 +426,9 @@ type AuditLogConfig struct { NullFields []string `json:"-"` } -func (s *AuditLogConfig) MarshalJSON() ([]byte, error) { +func (s AuditLogConfig) MarshalJSON() ([]byte, error) { type NoMethod AuditLogConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Binding: Associates `members`, or principals, with a `role`. @@ -525,9 +525,9 @@ type Binding struct { NullFields []string `json:"-"` } -func (s *Binding) MarshalJSON() ([]byte, error) { +func (s Binding) MarshalJSON() ([]byte, error) { type NoMethod Binding - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CancelOperationRequest: The request message for Operations.CancelOperation. @@ -562,9 +562,9 @@ type EndpointMatcher struct { NullFields []string `json:"-"` } -func (s *EndpointMatcher) MarshalJSON() ([]byte, error) { +func (s EndpointMatcher) MarshalJSON() ([]byte, error) { type NoMethod EndpointMatcher - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // EndpointMatcherMetadataLabelMatcher: The matcher that is based on node @@ -609,9 +609,9 @@ type EndpointMatcherMetadataLabelMatcher struct { NullFields []string `json:"-"` } -func (s *EndpointMatcherMetadataLabelMatcher) MarshalJSON() ([]byte, error) { +func (s EndpointMatcherMetadataLabelMatcher) MarshalJSON() ([]byte, error) { type NoMethod EndpointMatcherMetadataLabelMatcher - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // EndpointMatcherMetadataLabelMatcherMetadataLabels: Defines a name-pair value @@ -635,9 +635,9 @@ type EndpointMatcherMetadataLabelMatcherMetadataLabels struct { NullFields []string `json:"-"` } -func (s *EndpointMatcherMetadataLabelMatcherMetadataLabels) MarshalJSON() ([]byte, error) { +func (s EndpointMatcherMetadataLabelMatcherMetadataLabels) MarshalJSON() ([]byte, error) { type NoMethod EndpointMatcherMetadataLabelMatcherMetadataLabels - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // EndpointPolicy: EndpointPolicy is a resource that helps apply desired @@ -708,9 +708,9 @@ type EndpointPolicy struct { NullFields []string `json:"-"` } -func (s *EndpointPolicy) MarshalJSON() ([]byte, error) { +func (s EndpointPolicy) MarshalJSON() ([]byte, error) { type NoMethod EndpointPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Expr: Represents a textual expression in the Common Expression Language @@ -756,9 +756,9 @@ type Expr struct { NullFields []string `json:"-"` } -func (s *Expr) MarshalJSON() ([]byte, error) { +func (s Expr) MarshalJSON() ([]byte, error) { type NoMethod Expr - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ExtensionChain: A single extension chain wrapper that contains the match @@ -791,9 +791,9 @@ type ExtensionChain struct { NullFields []string `json:"-"` } -func (s *ExtensionChain) MarshalJSON() ([]byte, error) { +func (s ExtensionChain) MarshalJSON() ([]byte, error) { type NoMethod ExtensionChain - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ExtensionChainExtension: A single extension in the chain to execute for the @@ -871,9 +871,9 @@ type ExtensionChainExtension struct { NullFields []string `json:"-"` } -func (s *ExtensionChainExtension) MarshalJSON() ([]byte, error) { +func (s ExtensionChainExtension) MarshalJSON() ([]byte, error) { type NoMethod ExtensionChainExtension - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ExtensionChainMatchCondition: Conditions under which this chain is invoked @@ -897,9 +897,9 @@ type ExtensionChainMatchCondition struct { NullFields []string `json:"-"` } -func (s *ExtensionChainMatchCondition) MarshalJSON() ([]byte, error) { +func (s ExtensionChainMatchCondition) MarshalJSON() ([]byte, error) { type NoMethod ExtensionChainMatchCondition - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Gateway: Gateway represents the configuration for a proxy, typically a load @@ -1013,9 +1013,9 @@ type Gateway struct { NullFields []string `json:"-"` } -func (s *Gateway) MarshalJSON() ([]byte, error) { +func (s Gateway) MarshalJSON() ([]byte, error) { type NoMethod Gateway - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GrpcRoute: GrpcRoute is the resource defining how gRPC traffic routed by a @@ -1086,9 +1086,9 @@ type GrpcRoute struct { NullFields []string `json:"-"` } -func (s *GrpcRoute) MarshalJSON() ([]byte, error) { +func (s GrpcRoute) MarshalJSON() ([]byte, error) { type NoMethod GrpcRoute - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GrpcRouteDestination: The destination to which traffic will be routed. @@ -1119,9 +1119,9 @@ type GrpcRouteDestination struct { NullFields []string `json:"-"` } -func (s *GrpcRouteDestination) MarshalJSON() ([]byte, error) { +func (s GrpcRouteDestination) MarshalJSON() ([]byte, error) { type NoMethod GrpcRouteDestination - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GrpcRouteFaultInjectionPolicy: The specification for fault injection @@ -1148,9 +1148,9 @@ type GrpcRouteFaultInjectionPolicy struct { NullFields []string `json:"-"` } -func (s *GrpcRouteFaultInjectionPolicy) MarshalJSON() ([]byte, error) { +func (s GrpcRouteFaultInjectionPolicy) MarshalJSON() ([]byte, error) { type NoMethod GrpcRouteFaultInjectionPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GrpcRouteFaultInjectionPolicyAbort: Specification of how client requests are @@ -1175,9 +1175,9 @@ type GrpcRouteFaultInjectionPolicyAbort struct { NullFields []string `json:"-"` } -func (s *GrpcRouteFaultInjectionPolicyAbort) MarshalJSON() ([]byte, error) { +func (s GrpcRouteFaultInjectionPolicyAbort) MarshalJSON() ([]byte, error) { type NoMethod GrpcRouteFaultInjectionPolicyAbort - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GrpcRouteFaultInjectionPolicyDelay: Specification of how client requests are @@ -1201,9 +1201,9 @@ type GrpcRouteFaultInjectionPolicyDelay struct { NullFields []string `json:"-"` } -func (s *GrpcRouteFaultInjectionPolicyDelay) MarshalJSON() ([]byte, error) { +func (s GrpcRouteFaultInjectionPolicyDelay) MarshalJSON() ([]byte, error) { type NoMethod GrpcRouteFaultInjectionPolicyDelay - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GrpcRouteHeaderMatch: A match against a collection of headers. @@ -1234,9 +1234,9 @@ type GrpcRouteHeaderMatch struct { NullFields []string `json:"-"` } -func (s *GrpcRouteHeaderMatch) MarshalJSON() ([]byte, error) { +func (s GrpcRouteHeaderMatch) MarshalJSON() ([]byte, error) { type NoMethod GrpcRouteHeaderMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GrpcRouteMethodMatch: Specifies a match against a method. @@ -1273,9 +1273,9 @@ type GrpcRouteMethodMatch struct { NullFields []string `json:"-"` } -func (s *GrpcRouteMethodMatch) MarshalJSON() ([]byte, error) { +func (s GrpcRouteMethodMatch) MarshalJSON() ([]byte, error) { type NoMethod GrpcRouteMethodMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GrpcRouteRetryPolicy: The specifications for retries. @@ -1307,9 +1307,9 @@ type GrpcRouteRetryPolicy struct { NullFields []string `json:"-"` } -func (s *GrpcRouteRetryPolicy) MarshalJSON() ([]byte, error) { +func (s GrpcRouteRetryPolicy) MarshalJSON() ([]byte, error) { type NoMethod GrpcRouteRetryPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GrpcRouteRouteAction: Specifies how to route matched traffic. @@ -1357,9 +1357,9 @@ type GrpcRouteRouteAction struct { NullFields []string `json:"-"` } -func (s *GrpcRouteRouteAction) MarshalJSON() ([]byte, error) { +func (s GrpcRouteRouteAction) MarshalJSON() ([]byte, error) { type NoMethod GrpcRouteRouteAction - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GrpcRouteRouteMatch: Criteria for matching traffic. A RouteMatch will be @@ -1383,9 +1383,9 @@ type GrpcRouteRouteMatch struct { NullFields []string `json:"-"` } -func (s *GrpcRouteRouteMatch) MarshalJSON() ([]byte, error) { +func (s GrpcRouteRouteMatch) MarshalJSON() ([]byte, error) { type NoMethod GrpcRouteRouteMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GrpcRouteRouteRule: Describes how to route traffic. @@ -1411,9 +1411,9 @@ type GrpcRouteRouteRule struct { NullFields []string `json:"-"` } -func (s *GrpcRouteRouteRule) MarshalJSON() ([]byte, error) { +func (s GrpcRouteRouteRule) MarshalJSON() ([]byte, error) { type NoMethod GrpcRouteRouteRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GrpcRouteStatefulSessionAffinityPolicy: The specification for cookie-based @@ -1442,9 +1442,9 @@ type GrpcRouteStatefulSessionAffinityPolicy struct { NullFields []string `json:"-"` } -func (s *GrpcRouteStatefulSessionAffinityPolicy) MarshalJSON() ([]byte, error) { +func (s GrpcRouteStatefulSessionAffinityPolicy) MarshalJSON() ([]byte, error) { type NoMethod GrpcRouteStatefulSessionAffinityPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRoute: HttpRoute is the resource defining how HTTP traffic should be @@ -1512,9 +1512,9 @@ type HttpRoute struct { NullFields []string `json:"-"` } -func (s *HttpRoute) MarshalJSON() ([]byte, error) { +func (s HttpRoute) MarshalJSON() ([]byte, error) { type NoMethod HttpRoute - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteCorsPolicy: The Specification for allowing client side cross-origin @@ -1559,9 +1559,9 @@ type HttpRouteCorsPolicy struct { NullFields []string `json:"-"` } -func (s *HttpRouteCorsPolicy) MarshalJSON() ([]byte, error) { +func (s HttpRouteCorsPolicy) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteCorsPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteDestination: Specifications of a destination to which the request @@ -1604,9 +1604,9 @@ type HttpRouteDestination struct { NullFields []string `json:"-"` } -func (s *HttpRouteDestination) MarshalJSON() ([]byte, error) { +func (s HttpRouteDestination) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteDestination - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteFaultInjectionPolicy: The specification for fault injection @@ -1633,9 +1633,9 @@ type HttpRouteFaultInjectionPolicy struct { NullFields []string `json:"-"` } -func (s *HttpRouteFaultInjectionPolicy) MarshalJSON() ([]byte, error) { +func (s HttpRouteFaultInjectionPolicy) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteFaultInjectionPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteFaultInjectionPolicyAbort: Specification of how client requests are @@ -1660,9 +1660,9 @@ type HttpRouteFaultInjectionPolicyAbort struct { NullFields []string `json:"-"` } -func (s *HttpRouteFaultInjectionPolicyAbort) MarshalJSON() ([]byte, error) { +func (s HttpRouteFaultInjectionPolicyAbort) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteFaultInjectionPolicyAbort - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteFaultInjectionPolicyDelay: Specification of how client requests are @@ -1686,9 +1686,9 @@ type HttpRouteFaultInjectionPolicyDelay struct { NullFields []string `json:"-"` } -func (s *HttpRouteFaultInjectionPolicyDelay) MarshalJSON() ([]byte, error) { +func (s HttpRouteFaultInjectionPolicyDelay) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteFaultInjectionPolicyDelay - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteHeaderMatch: Specifies how to select a route rule based on HTTP @@ -1731,9 +1731,9 @@ type HttpRouteHeaderMatch struct { NullFields []string `json:"-"` } -func (s *HttpRouteHeaderMatch) MarshalJSON() ([]byte, error) { +func (s HttpRouteHeaderMatch) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteHeaderMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteHeaderMatchIntegerRange: Represents an integer value range. @@ -1755,9 +1755,9 @@ type HttpRouteHeaderMatchIntegerRange struct { NullFields []string `json:"-"` } -func (s *HttpRouteHeaderMatchIntegerRange) MarshalJSON() ([]byte, error) { +func (s HttpRouteHeaderMatchIntegerRange) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteHeaderMatchIntegerRange - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteHeaderModifier: The specification for modifying HTTP header in HTTP @@ -1784,9 +1784,9 @@ type HttpRouteHeaderModifier struct { NullFields []string `json:"-"` } -func (s *HttpRouteHeaderModifier) MarshalJSON() ([]byte, error) { +func (s HttpRouteHeaderModifier) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteHeaderModifier - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteHttpDirectResponse: Static HTTP response object to be returned. @@ -1812,9 +1812,9 @@ type HttpRouteHttpDirectResponse struct { NullFields []string `json:"-"` } -func (s *HttpRouteHttpDirectResponse) MarshalJSON() ([]byte, error) { +func (s HttpRouteHttpDirectResponse) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteHttpDirectResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteQueryParameterMatch: Specifications to match a query parameter in @@ -1848,9 +1848,9 @@ type HttpRouteQueryParameterMatch struct { NullFields []string `json:"-"` } -func (s *HttpRouteQueryParameterMatch) MarshalJSON() ([]byte, error) { +func (s HttpRouteQueryParameterMatch) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteQueryParameterMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteRedirect: The specification for redirecting traffic. @@ -1903,9 +1903,9 @@ type HttpRouteRedirect struct { NullFields []string `json:"-"` } -func (s *HttpRouteRedirect) MarshalJSON() ([]byte, error) { +func (s HttpRouteRedirect) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteRedirect - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteRequestMirrorPolicy: Specifies the policy on how requests are @@ -1932,9 +1932,9 @@ type HttpRouteRequestMirrorPolicy struct { NullFields []string `json:"-"` } -func (s *HttpRouteRequestMirrorPolicy) MarshalJSON() ([]byte, error) { +func (s HttpRouteRequestMirrorPolicy) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteRequestMirrorPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *HttpRouteRequestMirrorPolicy) UnmarshalJSON(data []byte) error { @@ -1985,9 +1985,9 @@ type HttpRouteRetryPolicy struct { NullFields []string `json:"-"` } -func (s *HttpRouteRetryPolicy) MarshalJSON() ([]byte, error) { +func (s HttpRouteRetryPolicy) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteRetryPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteRouteAction: The specifications for routing traffic and applying @@ -2059,9 +2059,9 @@ type HttpRouteRouteAction struct { NullFields []string `json:"-"` } -func (s *HttpRouteRouteAction) MarshalJSON() ([]byte, error) { +func (s HttpRouteRouteAction) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteRouteAction - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteRouteMatch: RouteMatch defines specifications used to match @@ -2103,9 +2103,9 @@ type HttpRouteRouteMatch struct { NullFields []string `json:"-"` } -func (s *HttpRouteRouteMatch) MarshalJSON() ([]byte, error) { +func (s HttpRouteRouteMatch) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteRouteMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteRouteRule: Specifies how to match traffic and how to route traffic @@ -2133,9 +2133,9 @@ type HttpRouteRouteRule struct { NullFields []string `json:"-"` } -func (s *HttpRouteRouteRule) MarshalJSON() ([]byte, error) { +func (s HttpRouteRouteRule) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteRouteRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteStatefulSessionAffinityPolicy: The specification for cookie-based @@ -2164,9 +2164,9 @@ type HttpRouteStatefulSessionAffinityPolicy struct { NullFields []string `json:"-"` } -func (s *HttpRouteStatefulSessionAffinityPolicy) MarshalJSON() ([]byte, error) { +func (s HttpRouteStatefulSessionAffinityPolicy) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteStatefulSessionAffinityPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteURLRewrite: The specification for modifying the URL of the request, @@ -2192,9 +2192,9 @@ type HttpRouteURLRewrite struct { NullFields []string `json:"-"` } -func (s *HttpRouteURLRewrite) MarshalJSON() ([]byte, error) { +func (s HttpRouteURLRewrite) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteURLRewrite - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LbRouteExtension: `LbRouteExtension` is a resource that lets you control @@ -2265,9 +2265,9 @@ type LbRouteExtension struct { NullFields []string `json:"-"` } -func (s *LbRouteExtension) MarshalJSON() ([]byte, error) { +func (s LbRouteExtension) MarshalJSON() ([]byte, error) { type NoMethod LbRouteExtension - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LbTrafficExtension: `LbTrafficExtension` is a resource that lets the @@ -2338,9 +2338,9 @@ type LbTrafficExtension struct { NullFields []string `json:"-"` } -func (s *LbTrafficExtension) MarshalJSON() ([]byte, error) { +func (s LbTrafficExtension) MarshalJSON() ([]byte, error) { type NoMethod LbTrafficExtension - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListEndpointPoliciesResponse: Response returned by the ListEndpointPolicies @@ -2369,9 +2369,9 @@ type ListEndpointPoliciesResponse struct { NullFields []string `json:"-"` } -func (s *ListEndpointPoliciesResponse) MarshalJSON() ([]byte, error) { +func (s ListEndpointPoliciesResponse) MarshalJSON() ([]byte, error) { type NoMethod ListEndpointPoliciesResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListGatewaysResponse: Response returned by the ListGateways method. @@ -2401,9 +2401,9 @@ type ListGatewaysResponse struct { NullFields []string `json:"-"` } -func (s *ListGatewaysResponse) MarshalJSON() ([]byte, error) { +func (s ListGatewaysResponse) MarshalJSON() ([]byte, error) { type NoMethod ListGatewaysResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListGrpcRoutesResponse: Response returned by the ListGrpcRoutes method. @@ -2431,9 +2431,9 @@ type ListGrpcRoutesResponse struct { NullFields []string `json:"-"` } -func (s *ListGrpcRoutesResponse) MarshalJSON() ([]byte, error) { +func (s ListGrpcRoutesResponse) MarshalJSON() ([]byte, error) { type NoMethod ListGrpcRoutesResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListHttpRoutesResponse: Response returned by the ListHttpRoutes method. @@ -2461,9 +2461,9 @@ type ListHttpRoutesResponse struct { NullFields []string `json:"-"` } -func (s *ListHttpRoutesResponse) MarshalJSON() ([]byte, error) { +func (s ListHttpRoutesResponse) MarshalJSON() ([]byte, error) { type NoMethod ListHttpRoutesResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListLbRouteExtensionsResponse: Message for response to listing @@ -2492,9 +2492,9 @@ type ListLbRouteExtensionsResponse struct { NullFields []string `json:"-"` } -func (s *ListLbRouteExtensionsResponse) MarshalJSON() ([]byte, error) { +func (s ListLbRouteExtensionsResponse) MarshalJSON() ([]byte, error) { type NoMethod ListLbRouteExtensionsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListLbTrafficExtensionsResponse: Message for response to listing @@ -2523,9 +2523,9 @@ type ListLbTrafficExtensionsResponse struct { NullFields []string `json:"-"` } -func (s *ListLbTrafficExtensionsResponse) MarshalJSON() ([]byte, error) { +func (s ListLbTrafficExtensionsResponse) MarshalJSON() ([]byte, error) { type NoMethod ListLbTrafficExtensionsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListLocationsResponse: The response message for Locations.ListLocations. @@ -2551,9 +2551,9 @@ type ListLocationsResponse struct { NullFields []string `json:"-"` } -func (s *ListLocationsResponse) MarshalJSON() ([]byte, error) { +func (s ListLocationsResponse) MarshalJSON() ([]byte, error) { type NoMethod ListLocationsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListMeshesResponse: Response returned by the ListMeshes method. @@ -2581,9 +2581,9 @@ type ListMeshesResponse struct { NullFields []string `json:"-"` } -func (s *ListMeshesResponse) MarshalJSON() ([]byte, error) { +func (s ListMeshesResponse) MarshalJSON() ([]byte, error) { type NoMethod ListMeshesResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListOperationsResponse: The response message for Operations.ListOperations. @@ -2609,9 +2609,9 @@ type ListOperationsResponse struct { NullFields []string `json:"-"` } -func (s *ListOperationsResponse) MarshalJSON() ([]byte, error) { +func (s ListOperationsResponse) MarshalJSON() ([]byte, error) { type NoMethod ListOperationsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListServiceBindingsResponse: Response returned by the ListServiceBindings @@ -2640,9 +2640,9 @@ type ListServiceBindingsResponse struct { NullFields []string `json:"-"` } -func (s *ListServiceBindingsResponse) MarshalJSON() ([]byte, error) { +func (s ListServiceBindingsResponse) MarshalJSON() ([]byte, error) { type NoMethod ListServiceBindingsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListServiceLbPoliciesResponse: Response returned by the @@ -2671,9 +2671,9 @@ type ListServiceLbPoliciesResponse struct { NullFields []string `json:"-"` } -func (s *ListServiceLbPoliciesResponse) MarshalJSON() ([]byte, error) { +func (s ListServiceLbPoliciesResponse) MarshalJSON() ([]byte, error) { type NoMethod ListServiceLbPoliciesResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListTcpRoutesResponse: Response returned by the ListTcpRoutes method. @@ -2701,9 +2701,9 @@ type ListTcpRoutesResponse struct { NullFields []string `json:"-"` } -func (s *ListTcpRoutesResponse) MarshalJSON() ([]byte, error) { +func (s ListTcpRoutesResponse) MarshalJSON() ([]byte, error) { type NoMethod ListTcpRoutesResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListTlsRoutesResponse: Response returned by the ListTlsRoutes method. @@ -2731,9 +2731,9 @@ type ListTlsRoutesResponse struct { NullFields []string `json:"-"` } -func (s *ListTlsRoutesResponse) MarshalJSON() ([]byte, error) { +func (s ListTlsRoutesResponse) MarshalJSON() ([]byte, error) { type NoMethod ListTlsRoutesResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Location: A resource that represents a Google Cloud location. @@ -2769,9 +2769,9 @@ type Location struct { NullFields []string `json:"-"` } -func (s *Location) MarshalJSON() ([]byte, error) { +func (s Location) MarshalJSON() ([]byte, error) { type NoMethod Location - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Mesh: Mesh represents a logical configuration grouping for workload to @@ -2827,9 +2827,9 @@ type Mesh struct { NullFields []string `json:"-"` } -func (s *Mesh) MarshalJSON() ([]byte, error) { +func (s Mesh) MarshalJSON() ([]byte, error) { type NoMethod Mesh - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Operation: This resource represents a long-running operation that is the @@ -2874,9 +2874,9 @@ type Operation struct { NullFields []string `json:"-"` } -func (s *Operation) MarshalJSON() ([]byte, error) { +func (s Operation) MarshalJSON() ([]byte, error) { type NoMethod Operation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // OperationMetadata: Represents the metadata of the long-running operation. @@ -2912,9 +2912,9 @@ type OperationMetadata struct { NullFields []string `json:"-"` } -func (s *OperationMetadata) MarshalJSON() ([]byte, error) { +func (s OperationMetadata) MarshalJSON() ([]byte, error) { type NoMethod OperationMetadata - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Policy: An Identity and Access Management (IAM) policy, which specifies @@ -3004,9 +3004,9 @@ type Policy struct { NullFields []string `json:"-"` } -func (s *Policy) MarshalJSON() ([]byte, error) { +func (s Policy) MarshalJSON() ([]byte, error) { type NoMethod Policy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceBinding: ServiceBinding is the resource that defines a Service @@ -3049,9 +3049,9 @@ type ServiceBinding struct { NullFields []string `json:"-"` } -func (s *ServiceBinding) MarshalJSON() ([]byte, error) { +func (s ServiceBinding) MarshalJSON() ([]byte, error) { type NoMethod ServiceBinding - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceLbPolicy: ServiceLbPolicy holds global load balancing and traffic @@ -3110,9 +3110,9 @@ type ServiceLbPolicy struct { NullFields []string `json:"-"` } -func (s *ServiceLbPolicy) MarshalJSON() ([]byte, error) { +func (s ServiceLbPolicy) MarshalJSON() ([]byte, error) { type NoMethod ServiceLbPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceLbPolicyAutoCapacityDrain: Option to specify if an unhealthy IG/NEG @@ -3137,9 +3137,9 @@ type ServiceLbPolicyAutoCapacityDrain struct { NullFields []string `json:"-"` } -func (s *ServiceLbPolicyAutoCapacityDrain) MarshalJSON() ([]byte, error) { +func (s ServiceLbPolicyAutoCapacityDrain) MarshalJSON() ([]byte, error) { type NoMethod ServiceLbPolicyAutoCapacityDrain - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceLbPolicyFailoverConfig: Option to specify health based failover @@ -3165,9 +3165,9 @@ type ServiceLbPolicyFailoverConfig struct { NullFields []string `json:"-"` } -func (s *ServiceLbPolicyFailoverConfig) MarshalJSON() ([]byte, error) { +func (s ServiceLbPolicyFailoverConfig) MarshalJSON() ([]byte, error) { type NoMethod ServiceLbPolicyFailoverConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SetIamPolicyRequest: Request message for `SetIamPolicy` method. @@ -3194,9 +3194,9 @@ type SetIamPolicyRequest struct { NullFields []string `json:"-"` } -func (s *SetIamPolicyRequest) MarshalJSON() ([]byte, error) { +func (s SetIamPolicyRequest) MarshalJSON() ([]byte, error) { type NoMethod SetIamPolicyRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Status: The `Status` type defines a logical error model that is suitable for @@ -3228,9 +3228,9 @@ type Status struct { NullFields []string `json:"-"` } -func (s *Status) MarshalJSON() ([]byte, error) { +func (s Status) MarshalJSON() ([]byte, error) { type NoMethod Status - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TcpRoute: TcpRoute is the resource defining how TCP traffic should be routed @@ -3281,9 +3281,9 @@ type TcpRoute struct { NullFields []string `json:"-"` } -func (s *TcpRoute) MarshalJSON() ([]byte, error) { +func (s TcpRoute) MarshalJSON() ([]byte, error) { type NoMethod TcpRoute - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TcpRouteRouteAction: The specifications for routing traffic and applying @@ -3317,9 +3317,9 @@ type TcpRouteRouteAction struct { NullFields []string `json:"-"` } -func (s *TcpRouteRouteAction) MarshalJSON() ([]byte, error) { +func (s TcpRouteRouteAction) MarshalJSON() ([]byte, error) { type NoMethod TcpRouteRouteAction - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TcpRouteRouteDestination: Describe the destination for traffic to be routed @@ -3350,9 +3350,9 @@ type TcpRouteRouteDestination struct { NullFields []string `json:"-"` } -func (s *TcpRouteRouteDestination) MarshalJSON() ([]byte, error) { +func (s TcpRouteRouteDestination) MarshalJSON() ([]byte, error) { type NoMethod TcpRouteRouteDestination - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TcpRouteRouteMatch: RouteMatch defines the predicate used to match requests @@ -3382,9 +3382,9 @@ type TcpRouteRouteMatch struct { NullFields []string `json:"-"` } -func (s *TcpRouteRouteMatch) MarshalJSON() ([]byte, error) { +func (s TcpRouteRouteMatch) MarshalJSON() ([]byte, error) { type NoMethod TcpRouteRouteMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TcpRouteRouteRule: Specifies how to match traffic and how to route traffic @@ -3409,9 +3409,9 @@ type TcpRouteRouteRule struct { NullFields []string `json:"-"` } -func (s *TcpRouteRouteRule) MarshalJSON() ([]byte, error) { +func (s TcpRouteRouteRule) MarshalJSON() ([]byte, error) { type NoMethod TcpRouteRouteRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TestIamPermissionsRequest: Request message for `TestIamPermissions` method. @@ -3434,9 +3434,9 @@ type TestIamPermissionsRequest struct { NullFields []string `json:"-"` } -func (s *TestIamPermissionsRequest) MarshalJSON() ([]byte, error) { +func (s TestIamPermissionsRequest) MarshalJSON() ([]byte, error) { type NoMethod TestIamPermissionsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TestIamPermissionsResponse: Response message for `TestIamPermissions` @@ -3461,9 +3461,9 @@ type TestIamPermissionsResponse struct { NullFields []string `json:"-"` } -func (s *TestIamPermissionsResponse) MarshalJSON() ([]byte, error) { +func (s TestIamPermissionsResponse) MarshalJSON() ([]byte, error) { type NoMethod TestIamPermissionsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TlsRoute: TlsRoute defines how traffic should be routed based on SNI and @@ -3487,7 +3487,7 @@ type TlsRoute struct { // `projects/*/locations/global/meshes/` The attached Mesh should be of a type // SIDECAR Meshes []string `json:"meshes,omitempty"` - // Name: Required. Name of the TlsRoute resource. It matches pattern + // Name: Identifier. Name of the TlsRoute resource. It matches pattern // `projects/*/locations/global/tlsRoutes/tls_route_name>`. Name string `json:"name,omitempty"` // Rules: Required. Rules that define how traffic is routed and handled. At @@ -3514,9 +3514,9 @@ type TlsRoute struct { NullFields []string `json:"-"` } -func (s *TlsRoute) MarshalJSON() ([]byte, error) { +func (s TlsRoute) MarshalJSON() ([]byte, error) { type NoMethod TlsRoute - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TlsRouteRouteAction: The specifications for routing traffic and applying @@ -3543,9 +3543,9 @@ type TlsRouteRouteAction struct { NullFields []string `json:"-"` } -func (s *TlsRouteRouteAction) MarshalJSON() ([]byte, error) { +func (s TlsRouteRouteAction) MarshalJSON() ([]byte, error) { type NoMethod TlsRouteRouteAction - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TlsRouteRouteDestination: Describe the destination for traffic to be routed @@ -3571,9 +3571,9 @@ type TlsRouteRouteDestination struct { NullFields []string `json:"-"` } -func (s *TlsRouteRouteDestination) MarshalJSON() ([]byte, error) { +func (s TlsRouteRouteDestination) MarshalJSON() ([]byte, error) { type NoMethod TlsRouteRouteDestination - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TlsRouteRouteMatch: RouteMatch defines the predicate used to match requests @@ -3604,9 +3604,9 @@ type TlsRouteRouteMatch struct { NullFields []string `json:"-"` } -func (s *TlsRouteRouteMatch) MarshalJSON() ([]byte, error) { +func (s TlsRouteRouteMatch) MarshalJSON() ([]byte, error) { type NoMethod TlsRouteRouteMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TlsRouteRouteRule: Specifies how to match traffic and how to route traffic @@ -3630,9 +3630,9 @@ type TlsRouteRouteRule struct { NullFields []string `json:"-"` } -func (s *TlsRouteRouteRule) MarshalJSON() ([]byte, error) { +func (s TlsRouteRouteRule) MarshalJSON() ([]byte, error) { type NoMethod TlsRouteRouteRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TrafficPortSelector: Specification of a port-based selector. @@ -3655,9 +3655,9 @@ type TrafficPortSelector struct { NullFields []string `json:"-"` } -func (s *TrafficPortSelector) MarshalJSON() ([]byte, error) { +func (s TrafficPortSelector) MarshalJSON() ([]byte, error) { type NoMethod TrafficPortSelector - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ProjectsLocationsGetCall struct { @@ -5256,133 +5256,6 @@ func (c *ProjectsLocationsEndpointPoliciesGetCall) Do(opts ...googleapi.CallOpti return ret, nil } -type ProjectsLocationsEndpointPoliciesGetIamPolicyCall struct { - s *Service - resource string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header -} - -// GetIamPolicy: Gets the access control policy for a resource. Returns an -// empty policy if the resource exists and does not have a policy set. -// -// - resource: REQUIRED: The resource for which the policy is being requested. -// See Resource names (https://cloud.google.com/apis/design/resource_names) -// for the appropriate value for this field. -func (r *ProjectsLocationsEndpointPoliciesService) GetIamPolicy(resource string) *ProjectsLocationsEndpointPoliciesGetIamPolicyCall { - c := &ProjectsLocationsEndpointPoliciesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.resource = resource - return c -} - -// OptionsRequestedPolicyVersion sets the optional parameter -// "options.requestedPolicyVersion": The maximum policy version that will be -// used to format the policy. Valid values are 0, 1, and 3. Requests specifying -// an invalid value will be rejected. Requests for policies with any -// conditional role bindings must specify version 3. Policies with no -// conditional role bindings may specify any valid value or leave the field -// unset. The policy in the response might use the policy version that you -// specified, or it might use a lower policy version. For example, if you -// specify version 3, but the policy has no conditional role bindings, the -// response uses version 1. To learn which resources support conditions in -// their IAM policies, see the IAM documentation -// (https://cloud.google.com/iam/help/conditions/resource-policies). -func (c *ProjectsLocationsEndpointPoliciesGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsEndpointPoliciesGetIamPolicyCall { - c.urlParams_.Set("options.requestedPolicyVersion", fmt.Sprint(optionsRequestedPolicyVersion)) - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more -// details. -func (c *ProjectsLocationsEndpointPoliciesGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointPoliciesGetIamPolicyCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// IfNoneMatch sets an optional parameter which makes the operation fail if the -// object's ETag matches the given value. This is useful for getting updates -// only after the object has changed since the last request. -func (c *ProjectsLocationsEndpointPoliciesGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsEndpointPoliciesGetIamPolicyCall { - c.ifNoneMatch_ = entityTag - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsEndpointPoliciesGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsEndpointPoliciesGetIamPolicyCall { - c.ctx_ = ctx - return c -} - -// Header returns a http.Header that can be modified by the caller to add -// headers to the request. -func (c *ProjectsLocationsEndpointPoliciesGetIamPolicyCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsEndpointPoliciesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } - var body io.Reader = nil - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+resource}:getIamPolicy") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "resource": c.resource, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "networkservices.projects.locations.endpointPolicies.getIamPolicy" call. -// Any non-2xx status code is an error. Response headers are in either -// *Policy.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsEndpointPoliciesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, gensupport.WrapError(&googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - }) - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, gensupport.WrapError(err) - } - ret := &Policy{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - type ProjectsLocationsEndpointPoliciesListCall struct { s *Service parent string @@ -5642,62 +5515,66 @@ func (c *ProjectsLocationsEndpointPoliciesPatchCall) Do(opts ...googleapi.CallOp return ret, nil } -type ProjectsLocationsEndpointPoliciesSetIamPolicyCall struct { - s *Service - resource string - setiampolicyrequest *SetIamPolicyRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsGatewaysCreateCall struct { + s *Service + parent string + gateway *Gateway + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// SetIamPolicy: Sets the access control policy on the specified resource. -// Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, -// and `PERMISSION_DENIED` errors. +// Create: Creates a new Gateway in a given project and location. // -// - resource: REQUIRED: The resource for which the policy is being specified. -// See Resource names (https://cloud.google.com/apis/design/resource_names) -// for the appropriate value for this field. -func (r *ProjectsLocationsEndpointPoliciesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsEndpointPoliciesSetIamPolicyCall { - c := &ProjectsLocationsEndpointPoliciesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.resource = resource - c.setiampolicyrequest = setiampolicyrequest +// - parent: The parent resource of the Gateway. Must be in the format +// `projects/*/locations/*`. +func (r *ProjectsLocationsGatewaysService) Create(parent string, gateway *Gateway) *ProjectsLocationsGatewaysCreateCall { + c := &ProjectsLocationsGatewaysCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.gateway = gateway + return c +} + +// GatewayId sets the optional parameter "gatewayId": Required. Short name of +// the Gateway resource to be created. +func (c *ProjectsLocationsGatewaysCreateCall) GatewayId(gatewayId string) *ProjectsLocationsGatewaysCreateCall { + c.urlParams_.Set("gatewayId", gatewayId) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsEndpointPoliciesSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointPoliciesSetIamPolicyCall { +func (c *ProjectsLocationsGatewaysCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsEndpointPoliciesSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsEndpointPoliciesSetIamPolicyCall { +func (c *ProjectsLocationsGatewaysCreateCall) Context(ctx context.Context) *ProjectsLocationsGatewaysCreateCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsEndpointPoliciesSetIamPolicyCall) Header() http.Header { +func (c *ProjectsLocationsGatewaysCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsEndpointPoliciesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsGatewaysCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.setiampolicyrequest) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.gateway) if err != nil { return nil, err } c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+resource}:setIamPolicy") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/gateways") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -5705,17 +5582,17 @@ func (c *ProjectsLocationsEndpointPoliciesSetIamPolicyCall) doRequest(alt string } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "resource": c.resource, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.endpointPolicies.setIamPolicy" call. +// Do executes the "networkservices.projects.locations.gateways.create" call. // Any non-2xx status code is an error. Response headers are in either -// *Policy.ServerResponse.Header or (if a response was returned at all) in +// *Operation.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsEndpointPoliciesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) { +func (c *ProjectsLocationsGatewaysCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -5734,7 +5611,7 @@ func (c *ProjectsLocationsEndpointPoliciesSetIamPolicyCall) Do(opts ...googleapi if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &Policy{ + ret := &Operation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -5747,84 +5624,71 @@ func (c *ProjectsLocationsEndpointPoliciesSetIamPolicyCall) Do(opts ...googleapi return ret, nil } -type ProjectsLocationsEndpointPoliciesTestIamPermissionsCall struct { - s *Service - resource string - testiampermissionsrequest *TestIamPermissionsRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsGatewaysDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// TestIamPermissions: Returns permissions that a caller has on the specified -// resource. If the resource does not exist, this will return an empty set of -// permissions, not a `NOT_FOUND` error. Note: This operation is designed to be -// used for building permission-aware UIs and command-line tools, not for -// authorization checking. This operation may "fail open" without warning. +// Delete: Deletes a single Gateway. // -// - resource: REQUIRED: The resource for which the policy detail is being -// requested. See Resource names -// (https://cloud.google.com/apis/design/resource_names) for the appropriate -// value for this field. -func (r *ProjectsLocationsEndpointPoliciesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsEndpointPoliciesTestIamPermissionsCall { - c := &ProjectsLocationsEndpointPoliciesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.resource = resource - c.testiampermissionsrequest = testiampermissionsrequest +// - name: A name of the Gateway to delete. Must be in the format +// `projects/*/locations/*/gateways/*`. +func (r *ProjectsLocationsGatewaysService) Delete(name string) *ProjectsLocationsGatewaysDeleteCall { + c := &ProjectsLocationsGatewaysDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsEndpointPoliciesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointPoliciesTestIamPermissionsCall { +func (c *ProjectsLocationsGatewaysDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsEndpointPoliciesTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsEndpointPoliciesTestIamPermissionsCall { +func (c *ProjectsLocationsGatewaysDeleteCall) Context(ctx context.Context) *ProjectsLocationsGatewaysDeleteCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsEndpointPoliciesTestIamPermissionsCall) Header() http.Header { +func (c *ProjectsLocationsGatewaysDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsEndpointPoliciesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) +func (c *ProjectsLocationsGatewaysDeleteCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.testiampermissionsrequest) - if err != nil { - return nil, err - } c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+resource}:testIamPermissions") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("DELETE", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "resource": c.resource, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.endpointPolicies.testIamPermissions" call. +// Do executes the "networkservices.projects.locations.gateways.delete" call. // Any non-2xx status code is an error. Response headers are in either -// *TestIamPermissionsResponse.ServerResponse.Header or (if a response was -// returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was because -// http.StatusNotModified was returned. -func (c *ProjectsLocationsEndpointPoliciesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error) { +// *Operation.ServerResponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was returned. +func (c *ProjectsLocationsGatewaysDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -5843,7 +5707,7 @@ func (c *ProjectsLocationsEndpointPoliciesTestIamPermissionsCall) Do(opts ...goo if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &TestIamPermissionsResponse{ + ret := &Operation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -5856,84 +5720,83 @@ func (c *ProjectsLocationsEndpointPoliciesTestIamPermissionsCall) Do(opts ...goo return ret, nil } -type ProjectsLocationsGatewaysCreateCall struct { - s *Service - parent string - gateway *Gateway - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsGatewaysGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// Create: Creates a new Gateway in a given project and location. +// Get: Gets details of a single Gateway. // -// - parent: The parent resource of the Gateway. Must be in the format -// `projects/*/locations/*`. -func (r *ProjectsLocationsGatewaysService) Create(parent string, gateway *Gateway) *ProjectsLocationsGatewaysCreateCall { - c := &ProjectsLocationsGatewaysCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - c.gateway = gateway - return c -} - -// GatewayId sets the optional parameter "gatewayId": Required. Short name of -// the Gateway resource to be created. -func (c *ProjectsLocationsGatewaysCreateCall) GatewayId(gatewayId string) *ProjectsLocationsGatewaysCreateCall { - c.urlParams_.Set("gatewayId", gatewayId) +// - name: A name of the Gateway to get. Must be in the format +// `projects/*/locations/*/gateways/*`. +func (r *ProjectsLocationsGatewaysService) Get(name string) *ProjectsLocationsGatewaysGetCall { + c := &ProjectsLocationsGatewaysGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsGatewaysCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysCreateCall { +func (c *ProjectsLocationsGatewaysGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets an optional parameter which makes the operation fail if the +// object's ETag matches the given value. This is useful for getting updates +// only after the object has changed since the last request. +func (c *ProjectsLocationsGatewaysGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGatewaysGetCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsGatewaysCreateCall) Context(ctx context.Context) *ProjectsLocationsGatewaysCreateCall { +func (c *ProjectsLocationsGatewaysGetCall) Context(ctx context.Context) *ProjectsLocationsGatewaysGetCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsGatewaysCreateCall) Header() http.Header { +func (c *ProjectsLocationsGatewaysGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGatewaysCreateCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.gateway) - if err != nil { - return nil, err +func (c *ProjectsLocationsGatewaysGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } + var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/gateways") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.gateways.create" call. +// Do executes the "networkservices.projects.locations.gateways.get" call. // Any non-2xx status code is an error. Response headers are in either -// *Operation.ServerResponse.Header or (if a response was returned at all) in +// *Gateway.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsGatewaysCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *ProjectsLocationsGatewaysGetCall) Do(opts ...googleapi.CallOption) (*Gateway, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -5952,7 +5815,7 @@ func (c *ProjectsLocationsGatewaysCreateCall) Do(opts ...googleapi.CallOption) ( if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &Operation{ + ret := &Gateway{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -5965,71 +5828,100 @@ func (c *ProjectsLocationsGatewaysCreateCall) Do(opts ...googleapi.CallOption) ( return ret, nil } -type ProjectsLocationsGatewaysDeleteCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsGatewaysListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// Delete: Deletes a single Gateway. +// List: Lists Gateways in a given project and location. // -// - name: A name of the Gateway to delete. Must be in the format -// `projects/*/locations/*/gateways/*`. -func (r *ProjectsLocationsGatewaysService) Delete(name string) *ProjectsLocationsGatewaysDeleteCall { - c := &ProjectsLocationsGatewaysDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name +// - parent: The project and location from which the Gateways should be listed, +// specified in the format `projects/*/locations/*`. +func (r *ProjectsLocationsGatewaysService) List(parent string) *ProjectsLocationsGatewaysListCall { + c := &ProjectsLocationsGatewaysListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// PageSize sets the optional parameter "pageSize": Maximum number of Gateways +// to return per call. +func (c *ProjectsLocationsGatewaysListCall) PageSize(pageSize int64) *ProjectsLocationsGatewaysListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The value returned by the +// last `ListGatewaysResponse` Indicates that this is a continuation of a prior +// `ListGateways` call, and that the system should return the next page of +// data. +func (c *ProjectsLocationsGatewaysListCall) PageToken(pageToken string) *ProjectsLocationsGatewaysListCall { + c.urlParams_.Set("pageToken", pageToken) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsGatewaysDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysDeleteCall { +func (c *ProjectsLocationsGatewaysListCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets an optional parameter which makes the operation fail if the +// object's ETag matches the given value. This is useful for getting updates +// only after the object has changed since the last request. +func (c *ProjectsLocationsGatewaysListCall) IfNoneMatch(entityTag string) *ProjectsLocationsGatewaysListCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsGatewaysDeleteCall) Context(ctx context.Context) *ProjectsLocationsGatewaysDeleteCall { +func (c *ProjectsLocationsGatewaysListCall) Context(ctx context.Context) *ProjectsLocationsGatewaysListCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsGatewaysDeleteCall) Header() http.Header { +func (c *ProjectsLocationsGatewaysListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGatewaysDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsGatewaysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/gateways") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("DELETE", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.gateways.delete" call. +// Do executes the "networkservices.projects.locations.gateways.list" call. // Any non-2xx status code is an error. Response headers are in either -// *Operation.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsGatewaysDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +// *ListGatewaysResponse.ServerResponse.Header or (if a response was returned +// at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to +// check whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsGatewaysListCall) Do(opts ...googleapi.CallOption) (*ListGatewaysResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -6048,7 +5940,7 @@ func (c *ProjectsLocationsGatewaysDeleteCall) Do(opts ...googleapi.CallOption) ( if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &Operation{ + ret := &ListGatewaysResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -6061,67 +5953,92 @@ func (c *ProjectsLocationsGatewaysDeleteCall) Do(opts ...googleapi.CallOption) ( return ret, nil } -type ProjectsLocationsGatewaysGetCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsGatewaysListCall) Pages(ctx context.Context, f func(*ListGatewaysResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } } -// Get: Gets details of a single Gateway. +type ProjectsLocationsGatewaysPatchCall struct { + s *Service + name string + gateway *Gateway + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Patch: Updates the parameters of a single Gateway. // -// - name: A name of the Gateway to get. Must be in the format -// `projects/*/locations/*/gateways/*`. -func (r *ProjectsLocationsGatewaysService) Get(name string) *ProjectsLocationsGatewaysGetCall { - c := &ProjectsLocationsGatewaysGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - name: Name of the Gateway resource. It matches pattern +// `projects/*/locations/*/gateways/`. +func (r *ProjectsLocationsGatewaysService) Patch(name string, gateway *Gateway) *ProjectsLocationsGatewaysPatchCall { + c := &ProjectsLocationsGatewaysPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name + c.gateway = gateway + return c +} + +// UpdateMask sets the optional parameter "updateMask": Field mask is used to +// specify the fields to be overwritten in the Gateway resource by the update. +// The fields specified in the update_mask are relative to the resource, not +// the full request. A field will be overwritten if it is in the mask. If the +// user does not provide a mask then all fields will be overwritten. +func (c *ProjectsLocationsGatewaysPatchCall) UpdateMask(updateMask string) *ProjectsLocationsGatewaysPatchCall { + c.urlParams_.Set("updateMask", updateMask) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsGatewaysGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysGetCall { +func (c *ProjectsLocationsGatewaysPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets an optional parameter which makes the operation fail if the -// object's ETag matches the given value. This is useful for getting updates -// only after the object has changed since the last request. -func (c *ProjectsLocationsGatewaysGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGatewaysGetCall { - c.ifNoneMatch_ = entityTag - return c -} - // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsGatewaysGetCall) Context(ctx context.Context) *ProjectsLocationsGatewaysGetCall { +func (c *ProjectsLocationsGatewaysPatchCall) Context(ctx context.Context) *ProjectsLocationsGatewaysPatchCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsGatewaysGetCall) Header() http.Header { +func (c *ProjectsLocationsGatewaysPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGatewaysGetCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } +func (c *ProjectsLocationsGatewaysPatchCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.gateway) + if err != nil { + return nil, err + } c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("PATCH", urls, body) if err != nil { return nil, err } @@ -6132,12 +6049,12 @@ func (c *ProjectsLocationsGatewaysGetCall) doRequest(alt string) (*http.Response return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.gateways.get" call. +// Do executes the "networkservices.projects.locations.gateways.patch" call. // Any non-2xx status code is an error. Response headers are in either -// *Gateway.ServerResponse.Header or (if a response was returned at all) in +// *Operation.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsGatewaysGetCall) Do(opts ...googleapi.CallOption) (*Gateway, error) { +func (c *ProjectsLocationsGatewaysPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -6156,7 +6073,7 @@ func (c *ProjectsLocationsGatewaysGetCall) Do(opts ...googleapi.CallOption) (*Ga if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &Gateway{ + ret := &Operation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -6169,102 +6086,84 @@ func (c *ProjectsLocationsGatewaysGetCall) Do(opts ...googleapi.CallOption) (*Ga return ret, nil } -type ProjectsLocationsGatewaysGetIamPolicyCall struct { - s *Service - resource string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header +type ProjectsLocationsGrpcRoutesCreateCall struct { + s *Service + parent string + grpcroute *GrpcRoute + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// GetIamPolicy: Gets the access control policy for a resource. Returns an -// empty policy if the resource exists and does not have a policy set. +// Create: Creates a new GrpcRoute in a given project and location. // -// - resource: REQUIRED: The resource for which the policy is being requested. -// See Resource names (https://cloud.google.com/apis/design/resource_names) -// for the appropriate value for this field. -func (r *ProjectsLocationsGatewaysService) GetIamPolicy(resource string) *ProjectsLocationsGatewaysGetIamPolicyCall { - c := &ProjectsLocationsGatewaysGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.resource = resource +// - parent: The parent resource of the GrpcRoute. Must be in the format +// `projects/*/locations/global`. +func (r *ProjectsLocationsGrpcRoutesService) Create(parent string, grpcroute *GrpcRoute) *ProjectsLocationsGrpcRoutesCreateCall { + c := &ProjectsLocationsGrpcRoutesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.grpcroute = grpcroute return c } -// OptionsRequestedPolicyVersion sets the optional parameter -// "options.requestedPolicyVersion": The maximum policy version that will be -// used to format the policy. Valid values are 0, 1, and 3. Requests specifying -// an invalid value will be rejected. Requests for policies with any -// conditional role bindings must specify version 3. Policies with no -// conditional role bindings may specify any valid value or leave the field -// unset. The policy in the response might use the policy version that you -// specified, or it might use a lower policy version. For example, if you -// specify version 3, but the policy has no conditional role bindings, the -// response uses version 1. To learn which resources support conditions in -// their IAM policies, see the IAM documentation -// (https://cloud.google.com/iam/help/conditions/resource-policies). -func (c *ProjectsLocationsGatewaysGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsGatewaysGetIamPolicyCall { - c.urlParams_.Set("options.requestedPolicyVersion", fmt.Sprint(optionsRequestedPolicyVersion)) +// GrpcRouteId sets the optional parameter "grpcRouteId": Required. Short name +// of the GrpcRoute resource to be created. +func (c *ProjectsLocationsGrpcRoutesCreateCall) GrpcRouteId(grpcRouteId string) *ProjectsLocationsGrpcRoutesCreateCall { + c.urlParams_.Set("grpcRouteId", grpcRouteId) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsGatewaysGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysGetIamPolicyCall { +func (c *ProjectsLocationsGrpcRoutesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsGrpcRoutesCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets an optional parameter which makes the operation fail if the -// object's ETag matches the given value. This is useful for getting updates -// only after the object has changed since the last request. -func (c *ProjectsLocationsGatewaysGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsGatewaysGetIamPolicyCall { - c.ifNoneMatch_ = entityTag - return c -} - // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsGatewaysGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsGatewaysGetIamPolicyCall { +func (c *ProjectsLocationsGrpcRoutesCreateCall) Context(ctx context.Context) *ProjectsLocationsGrpcRoutesCreateCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsGatewaysGetIamPolicyCall) Header() http.Header { +func (c *ProjectsLocationsGrpcRoutesCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGatewaysGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } +func (c *ProjectsLocationsGrpcRoutesCreateCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.grpcroute) + if err != nil { + return nil, err + } c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+resource}:getIamPolicy") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/grpcRoutes") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "resource": c.resource, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.gateways.getIamPolicy" call. +// Do executes the "networkservices.projects.locations.grpcRoutes.create" call. // Any non-2xx status code is an error. Response headers are in either -// *Policy.ServerResponse.Header or (if a response was returned at all) in +// *Operation.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsGatewaysGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) { +func (c *ProjectsLocationsGrpcRoutesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -6283,7 +6182,7 @@ func (c *ProjectsLocationsGatewaysGetIamPolicyCall) Do(opts ...googleapi.CallOpt if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &Policy{ + ret := &Operation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -6296,100 +6195,71 @@ func (c *ProjectsLocationsGatewaysGetIamPolicyCall) Do(opts ...googleapi.CallOpt return ret, nil } -type ProjectsLocationsGatewaysListCall struct { - s *Service - parent string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header +type ProjectsLocationsGrpcRoutesDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// List: Lists Gateways in a given project and location. +// Delete: Deletes a single GrpcRoute. // -// - parent: The project and location from which the Gateways should be listed, -// specified in the format `projects/*/locations/*`. -func (r *ProjectsLocationsGatewaysService) List(parent string) *ProjectsLocationsGatewaysListCall { - c := &ProjectsLocationsGatewaysListCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - return c -} - -// PageSize sets the optional parameter "pageSize": Maximum number of Gateways -// to return per call. -func (c *ProjectsLocationsGatewaysListCall) PageSize(pageSize int64) *ProjectsLocationsGatewaysListCall { - c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) - return c -} - -// PageToken sets the optional parameter "pageToken": The value returned by the -// last `ListGatewaysResponse` Indicates that this is a continuation of a prior -// `ListGateways` call, and that the system should return the next page of -// data. -func (c *ProjectsLocationsGatewaysListCall) PageToken(pageToken string) *ProjectsLocationsGatewaysListCall { - c.urlParams_.Set("pageToken", pageToken) +// - name: A name of the GrpcRoute to delete. Must be in the format +// `projects/*/locations/global/grpcRoutes/*`. +func (r *ProjectsLocationsGrpcRoutesService) Delete(name string) *ProjectsLocationsGrpcRoutesDeleteCall { + c := &ProjectsLocationsGrpcRoutesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsGatewaysListCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysListCall { +func (c *ProjectsLocationsGrpcRoutesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsGrpcRoutesDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets an optional parameter which makes the operation fail if the -// object's ETag matches the given value. This is useful for getting updates -// only after the object has changed since the last request. -func (c *ProjectsLocationsGatewaysListCall) IfNoneMatch(entityTag string) *ProjectsLocationsGatewaysListCall { - c.ifNoneMatch_ = entityTag - return c -} - // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsGatewaysListCall) Context(ctx context.Context) *ProjectsLocationsGatewaysListCall { +func (c *ProjectsLocationsGrpcRoutesDeleteCall) Context(ctx context.Context) *ProjectsLocationsGrpcRoutesDeleteCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsGatewaysListCall) Header() http.Header { +func (c *ProjectsLocationsGrpcRoutesDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGatewaysListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsGrpcRoutesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/gateways") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("DELETE", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.gateways.list" call. +// Do executes the "networkservices.projects.locations.grpcRoutes.delete" call. // Any non-2xx status code is an error. Response headers are in either -// *ListGatewaysResponse.ServerResponse.Header or (if a response was returned -// at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to -// check whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsGatewaysListCall) Do(opts ...googleapi.CallOption) (*ListGatewaysResponse, error) { +// *Operation.ServerResponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was returned. +func (c *ProjectsLocationsGrpcRoutesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -6408,7 +6278,7 @@ func (c *ProjectsLocationsGatewaysListCall) Do(opts ...googleapi.CallOption) (*L if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &ListGatewaysResponse{ + ret := &Operation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -6421,92 +6291,67 @@ func (c *ProjectsLocationsGatewaysListCall) Do(opts ...googleapi.CallOption) (*L return ret, nil } -// Pages invokes f for each page of results. -// A non-nil error returned from f will halt the iteration. -// The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsGatewaysListCall) Pages(ctx context.Context, f func(*ListGatewaysResponse) error) error { - c.ctx_ = ctx - defer c.PageToken(c.urlParams_.Get("pageToken")) - for { - x, err := c.Do() - if err != nil { - return err - } - if err := f(x); err != nil { - return err - } - if x.NextPageToken == "" { - return nil - } - c.PageToken(x.NextPageToken) - } -} - -type ProjectsLocationsGatewaysPatchCall struct { - s *Service - name string - gateway *Gateway - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsGrpcRoutesGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// Patch: Updates the parameters of a single Gateway. +// Get: Gets details of a single GrpcRoute. // -// - name: Name of the Gateway resource. It matches pattern -// `projects/*/locations/*/gateways/`. -func (r *ProjectsLocationsGatewaysService) Patch(name string, gateway *Gateway) *ProjectsLocationsGatewaysPatchCall { - c := &ProjectsLocationsGatewaysPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - name: A name of the GrpcRoute to get. Must be in the format +// `projects/*/locations/global/grpcRoutes/*`. +func (r *ProjectsLocationsGrpcRoutesService) Get(name string) *ProjectsLocationsGrpcRoutesGetCall { + c := &ProjectsLocationsGrpcRoutesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name - c.gateway = gateway - return c -} - -// UpdateMask sets the optional parameter "updateMask": Field mask is used to -// specify the fields to be overwritten in the Gateway resource by the update. -// The fields specified in the update_mask are relative to the resource, not -// the full request. A field will be overwritten if it is in the mask. If the -// user does not provide a mask then all fields will be overwritten. -func (c *ProjectsLocationsGatewaysPatchCall) UpdateMask(updateMask string) *ProjectsLocationsGatewaysPatchCall { - c.urlParams_.Set("updateMask", updateMask) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsGatewaysPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysPatchCall { +func (c *ProjectsLocationsGrpcRoutesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGrpcRoutesGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets an optional parameter which makes the operation fail if the +// object's ETag matches the given value. This is useful for getting updates +// only after the object has changed since the last request. +func (c *ProjectsLocationsGrpcRoutesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGrpcRoutesGetCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsGatewaysPatchCall) Context(ctx context.Context) *ProjectsLocationsGatewaysPatchCall { +func (c *ProjectsLocationsGrpcRoutesGetCall) Context(ctx context.Context) *ProjectsLocationsGrpcRoutesGetCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsGatewaysPatchCall) Header() http.Header { +func (c *ProjectsLocationsGrpcRoutesGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGatewaysPatchCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.gateway) - if err != nil { - return nil, err +func (c *ProjectsLocationsGrpcRoutesGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } + var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("PATCH", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } @@ -6517,12 +6362,12 @@ func (c *ProjectsLocationsGatewaysPatchCall) doRequest(alt string) (*http.Respon return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.gateways.patch" call. +// Do executes the "networkservices.projects.locations.grpcRoutes.get" call. // Any non-2xx status code is an error. Response headers are in either -// *Operation.ServerResponse.Header or (if a response was returned at all) in +// *GrpcRoute.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsGatewaysPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *ProjectsLocationsGrpcRoutesGetCall) Do(opts ...googleapi.CallOption) (*GrpcRoute, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -6541,7 +6386,7 @@ func (c *ProjectsLocationsGatewaysPatchCall) Do(opts ...googleapi.CallOption) (* if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &Operation{ + ret := &GrpcRoute{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -6554,80 +6399,100 @@ func (c *ProjectsLocationsGatewaysPatchCall) Do(opts ...googleapi.CallOption) (* return ret, nil } -type ProjectsLocationsGatewaysSetIamPolicyCall struct { - s *Service - resource string - setiampolicyrequest *SetIamPolicyRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsGrpcRoutesListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// SetIamPolicy: Sets the access control policy on the specified resource. -// Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, -// and `PERMISSION_DENIED` errors. +// List: Lists GrpcRoutes in a given project and location. // -// - resource: REQUIRED: The resource for which the policy is being specified. -// See Resource names (https://cloud.google.com/apis/design/resource_names) -// for the appropriate value for this field. -func (r *ProjectsLocationsGatewaysService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsGatewaysSetIamPolicyCall { - c := &ProjectsLocationsGatewaysSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.resource = resource - c.setiampolicyrequest = setiampolicyrequest +// - parent: The project and location from which the GrpcRoutes should be +// listed, specified in the format `projects/*/locations/global`. +func (r *ProjectsLocationsGrpcRoutesService) List(parent string) *ProjectsLocationsGrpcRoutesListCall { + c := &ProjectsLocationsGrpcRoutesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// PageSize sets the optional parameter "pageSize": Maximum number of +// GrpcRoutes to return per call. +func (c *ProjectsLocationsGrpcRoutesListCall) PageSize(pageSize int64) *ProjectsLocationsGrpcRoutesListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The value returned by the +// last `ListGrpcRoutesResponse` Indicates that this is a continuation of a +// prior `ListGrpcRoutes` call, and that the system should return the next page +// of data. +func (c *ProjectsLocationsGrpcRoutesListCall) PageToken(pageToken string) *ProjectsLocationsGrpcRoutesListCall { + c.urlParams_.Set("pageToken", pageToken) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsGatewaysSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysSetIamPolicyCall { +func (c *ProjectsLocationsGrpcRoutesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsGrpcRoutesListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets an optional parameter which makes the operation fail if the +// object's ETag matches the given value. This is useful for getting updates +// only after the object has changed since the last request. +func (c *ProjectsLocationsGrpcRoutesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsGrpcRoutesListCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsGatewaysSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsGatewaysSetIamPolicyCall { +func (c *ProjectsLocationsGrpcRoutesListCall) Context(ctx context.Context) *ProjectsLocationsGrpcRoutesListCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsGatewaysSetIamPolicyCall) Header() http.Header { +func (c *ProjectsLocationsGrpcRoutesListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGatewaysSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.setiampolicyrequest) - if err != nil { - return nil, err +func (c *ProjectsLocationsGrpcRoutesListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } + var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+resource}:setIamPolicy") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/grpcRoutes") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "resource": c.resource, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.gateways.setIamPolicy" call. +// Do executes the "networkservices.projects.locations.grpcRoutes.list" call. // Any non-2xx status code is an error. Response headers are in either -// *Policy.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsGatewaysSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) { +// *ListGrpcRoutesResponse.ServerResponse.Header or (if a response was returned +// at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to +// check whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsGrpcRoutesListCall) Do(opts ...googleapi.CallOption) (*ListGrpcRoutesResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -6646,7 +6511,7 @@ func (c *ProjectsLocationsGatewaysSetIamPolicyCall) Do(opts ...googleapi.CallOpt if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &Policy{ + ret := &ListGrpcRoutesResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -6659,84 +6524,109 @@ func (c *ProjectsLocationsGatewaysSetIamPolicyCall) Do(opts ...googleapi.CallOpt return ret, nil } -type ProjectsLocationsGatewaysTestIamPermissionsCall struct { - s *Service - resource string - testiampermissionsrequest *TestIamPermissionsRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsGrpcRoutesListCall) Pages(ctx context.Context, f func(*ListGrpcRoutesResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } } -// TestIamPermissions: Returns permissions that a caller has on the specified -// resource. If the resource does not exist, this will return an empty set of -// permissions, not a `NOT_FOUND` error. Note: This operation is designed to be -// used for building permission-aware UIs and command-line tools, not for -// authorization checking. This operation may "fail open" without warning. +type ProjectsLocationsGrpcRoutesPatchCall struct { + s *Service + name string + grpcroute *GrpcRoute + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Patch: Updates the parameters of a single GrpcRoute. // -// - resource: REQUIRED: The resource for which the policy detail is being -// requested. See Resource names -// (https://cloud.google.com/apis/design/resource_names) for the appropriate -// value for this field. -func (r *ProjectsLocationsGatewaysService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsGatewaysTestIamPermissionsCall { - c := &ProjectsLocationsGatewaysTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.resource = resource - c.testiampermissionsrequest = testiampermissionsrequest +// - name: Name of the GrpcRoute resource. It matches pattern +// `projects/*/locations/global/grpcRoutes/`. +func (r *ProjectsLocationsGrpcRoutesService) Patch(name string, grpcroute *GrpcRoute) *ProjectsLocationsGrpcRoutesPatchCall { + c := &ProjectsLocationsGrpcRoutesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.grpcroute = grpcroute + return c +} + +// UpdateMask sets the optional parameter "updateMask": Field mask is used to +// specify the fields to be overwritten in the GrpcRoute resource by the +// update. The fields specified in the update_mask are relative to the +// resource, not the full request. A field will be overwritten if it is in the +// mask. If the user does not provide a mask then all fields will be +// overwritten. +func (c *ProjectsLocationsGrpcRoutesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsGrpcRoutesPatchCall { + c.urlParams_.Set("updateMask", updateMask) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsGatewaysTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysTestIamPermissionsCall { +func (c *ProjectsLocationsGrpcRoutesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsGrpcRoutesPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsGatewaysTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsGatewaysTestIamPermissionsCall { +func (c *ProjectsLocationsGrpcRoutesPatchCall) Context(ctx context.Context) *ProjectsLocationsGrpcRoutesPatchCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsGatewaysTestIamPermissionsCall) Header() http.Header { +func (c *ProjectsLocationsGrpcRoutesPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGatewaysTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsGrpcRoutesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.testiampermissionsrequest) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.grpcroute) if err != nil { return nil, err } c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+resource}:testIamPermissions") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("PATCH", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "resource": c.resource, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.gateways.testIamPermissions" call. +// Do executes the "networkservices.projects.locations.grpcRoutes.patch" call. // Any non-2xx status code is an error. Response headers are in either -// *TestIamPermissionsResponse.ServerResponse.Header or (if a response was -// returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was because -// http.StatusNotModified was returned. -func (c *ProjectsLocationsGatewaysTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error) { +// *Operation.ServerResponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was returned. +func (c *ProjectsLocationsGrpcRoutesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -6755,7 +6645,7 @@ func (c *ProjectsLocationsGatewaysTestIamPermissionsCall) Do(opts ...googleapi.C if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &TestIamPermissionsResponse{ + ret := &Operation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -6768,66 +6658,66 @@ func (c *ProjectsLocationsGatewaysTestIamPermissionsCall) Do(opts ...googleapi.C return ret, nil } -type ProjectsLocationsGrpcRoutesCreateCall struct { +type ProjectsLocationsHttpRoutesCreateCall struct { s *Service parent string - grpcroute *GrpcRoute + httproute *HttpRoute urlParams_ gensupport.URLParams ctx_ context.Context header_ http.Header } -// Create: Creates a new GrpcRoute in a given project and location. +// Create: Creates a new HttpRoute in a given project and location. // -// - parent: The parent resource of the GrpcRoute. Must be in the format +// - parent: The parent resource of the HttpRoute. Must be in the format // `projects/*/locations/global`. -func (r *ProjectsLocationsGrpcRoutesService) Create(parent string, grpcroute *GrpcRoute) *ProjectsLocationsGrpcRoutesCreateCall { - c := &ProjectsLocationsGrpcRoutesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} +func (r *ProjectsLocationsHttpRoutesService) Create(parent string, httproute *HttpRoute) *ProjectsLocationsHttpRoutesCreateCall { + c := &ProjectsLocationsHttpRoutesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent - c.grpcroute = grpcroute + c.httproute = httproute return c } -// GrpcRouteId sets the optional parameter "grpcRouteId": Required. Short name -// of the GrpcRoute resource to be created. -func (c *ProjectsLocationsGrpcRoutesCreateCall) GrpcRouteId(grpcRouteId string) *ProjectsLocationsGrpcRoutesCreateCall { - c.urlParams_.Set("grpcRouteId", grpcRouteId) +// HttpRouteId sets the optional parameter "httpRouteId": Required. Short name +// of the HttpRoute resource to be created. +func (c *ProjectsLocationsHttpRoutesCreateCall) HttpRouteId(httpRouteId string) *ProjectsLocationsHttpRoutesCreateCall { + c.urlParams_.Set("httpRouteId", httpRouteId) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsGrpcRoutesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsGrpcRoutesCreateCall { +func (c *ProjectsLocationsHttpRoutesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsHttpRoutesCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsGrpcRoutesCreateCall) Context(ctx context.Context) *ProjectsLocationsGrpcRoutesCreateCall { +func (c *ProjectsLocationsHttpRoutesCreateCall) Context(ctx context.Context) *ProjectsLocationsHttpRoutesCreateCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsGrpcRoutesCreateCall) Header() http.Header { +func (c *ProjectsLocationsHttpRoutesCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGrpcRoutesCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsHttpRoutesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.grpcroute) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.httproute) if err != nil { return nil, err } c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/grpcRoutes") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/httpRoutes") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -6840,12 +6730,12 @@ func (c *ProjectsLocationsGrpcRoutesCreateCall) doRequest(alt string) (*http.Res return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.grpcRoutes.create" call. +// Do executes the "networkservices.projects.locations.httpRoutes.create" call. // Any non-2xx status code is an error. Response headers are in either // *Operation.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsGrpcRoutesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *ProjectsLocationsHttpRoutesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -6877,7 +6767,7 @@ func (c *ProjectsLocationsGrpcRoutesCreateCall) Do(opts ...googleapi.CallOption) return ret, nil } -type ProjectsLocationsGrpcRoutesDeleteCall struct { +type ProjectsLocationsHttpRoutesDeleteCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -6885,12 +6775,12 @@ type ProjectsLocationsGrpcRoutesDeleteCall struct { header_ http.Header } -// Delete: Deletes a single GrpcRoute. +// Delete: Deletes a single HttpRoute. // -// - name: A name of the GrpcRoute to delete. Must be in the format -// `projects/*/locations/global/grpcRoutes/*`. -func (r *ProjectsLocationsGrpcRoutesService) Delete(name string) *ProjectsLocationsGrpcRoutesDeleteCall { - c := &ProjectsLocationsGrpcRoutesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - name: A name of the HttpRoute to delete. Must be in the format +// `projects/*/locations/global/httpRoutes/*`. +func (r *ProjectsLocationsHttpRoutesService) Delete(name string) *ProjectsLocationsHttpRoutesDeleteCall { + c := &ProjectsLocationsHttpRoutesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } @@ -6898,27 +6788,27 @@ func (r *ProjectsLocationsGrpcRoutesService) Delete(name string) *ProjectsLocati // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsGrpcRoutesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsGrpcRoutesDeleteCall { +func (c *ProjectsLocationsHttpRoutesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsHttpRoutesDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsGrpcRoutesDeleteCall) Context(ctx context.Context) *ProjectsLocationsGrpcRoutesDeleteCall { +func (c *ProjectsLocationsHttpRoutesDeleteCall) Context(ctx context.Context) *ProjectsLocationsHttpRoutesDeleteCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsGrpcRoutesDeleteCall) Header() http.Header { +func (c *ProjectsLocationsHttpRoutesDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGrpcRoutesDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsHttpRoutesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) var body io.Reader = nil c.urlParams_.Set("alt", alt) @@ -6936,12 +6826,12 @@ func (c *ProjectsLocationsGrpcRoutesDeleteCall) doRequest(alt string) (*http.Res return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.grpcRoutes.delete" call. +// Do executes the "networkservices.projects.locations.httpRoutes.delete" call. // Any non-2xx status code is an error. Response headers are in either // *Operation.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsGrpcRoutesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *ProjectsLocationsHttpRoutesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -6973,7 +6863,7 @@ func (c *ProjectsLocationsGrpcRoutesDeleteCall) Do(opts ...googleapi.CallOption) return ret, nil } -type ProjectsLocationsGrpcRoutesGetCall struct { +type ProjectsLocationsHttpRoutesGetCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -6982,12 +6872,12 @@ type ProjectsLocationsGrpcRoutesGetCall struct { header_ http.Header } -// Get: Gets details of a single GrpcRoute. +// Get: Gets details of a single HttpRoute. // -// - name: A name of the GrpcRoute to get. Must be in the format -// `projects/*/locations/global/grpcRoutes/*`. -func (r *ProjectsLocationsGrpcRoutesService) Get(name string) *ProjectsLocationsGrpcRoutesGetCall { - c := &ProjectsLocationsGrpcRoutesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - name: A name of the HttpRoute to get. Must be in the format +// `projects/*/locations/global/httpRoutes/*`. +func (r *ProjectsLocationsHttpRoutesService) Get(name string) *ProjectsLocationsHttpRoutesGetCall { + c := &ProjectsLocationsHttpRoutesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } @@ -6995,7 +6885,7 @@ func (r *ProjectsLocationsGrpcRoutesService) Get(name string) *ProjectsLocations // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsGrpcRoutesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGrpcRoutesGetCall { +func (c *ProjectsLocationsHttpRoutesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsHttpRoutesGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -7003,27 +6893,27 @@ func (c *ProjectsLocationsGrpcRoutesGetCall) Fields(s ...googleapi.Field) *Proje // IfNoneMatch sets an optional parameter which makes the operation fail if the // object's ETag matches the given value. This is useful for getting updates // only after the object has changed since the last request. -func (c *ProjectsLocationsGrpcRoutesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGrpcRoutesGetCall { +func (c *ProjectsLocationsHttpRoutesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsHttpRoutesGetCall { c.ifNoneMatch_ = entityTag return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsGrpcRoutesGetCall) Context(ctx context.Context) *ProjectsLocationsGrpcRoutesGetCall { +func (c *ProjectsLocationsHttpRoutesGetCall) Context(ctx context.Context) *ProjectsLocationsHttpRoutesGetCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsGrpcRoutesGetCall) Header() http.Header { +func (c *ProjectsLocationsHttpRoutesGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGrpcRoutesGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsHttpRoutesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) if c.ifNoneMatch_ != "" { reqHeaders.Set("If-None-Match", c.ifNoneMatch_) @@ -7044,12 +6934,12 @@ func (c *ProjectsLocationsGrpcRoutesGetCall) doRequest(alt string) (*http.Respon return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.grpcRoutes.get" call. +// Do executes the "networkservices.projects.locations.httpRoutes.get" call. // Any non-2xx status code is an error. Response headers are in either -// *GrpcRoute.ServerResponse.Header or (if a response was returned at all) in +// *HttpRoute.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsGrpcRoutesGetCall) Do(opts ...googleapi.CallOption) (*GrpcRoute, error) { +func (c *ProjectsLocationsHttpRoutesGetCall) Do(opts ...googleapi.CallOption) (*HttpRoute, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -7068,7 +6958,7 @@ func (c *ProjectsLocationsGrpcRoutesGetCall) Do(opts ...googleapi.CallOption) (* if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &GrpcRoute{ + ret := &HttpRoute{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -7081,7 +6971,7 @@ func (c *ProjectsLocationsGrpcRoutesGetCall) Do(opts ...googleapi.CallOption) (* return ret, nil } -type ProjectsLocationsGrpcRoutesListCall struct { +type ProjectsLocationsHttpRoutesListCall struct { s *Service parent string urlParams_ gensupport.URLParams @@ -7090,28 +6980,28 @@ type ProjectsLocationsGrpcRoutesListCall struct { header_ http.Header } -// List: Lists GrpcRoutes in a given project and location. +// List: Lists HttpRoute in a given project and location. // -// - parent: The project and location from which the GrpcRoutes should be +// - parent: The project and location from which the HttpRoutes should be // listed, specified in the format `projects/*/locations/global`. -func (r *ProjectsLocationsGrpcRoutesService) List(parent string) *ProjectsLocationsGrpcRoutesListCall { - c := &ProjectsLocationsGrpcRoutesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} +func (r *ProjectsLocationsHttpRoutesService) List(parent string) *ProjectsLocationsHttpRoutesListCall { + c := &ProjectsLocationsHttpRoutesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent return c } // PageSize sets the optional parameter "pageSize": Maximum number of -// GrpcRoutes to return per call. -func (c *ProjectsLocationsGrpcRoutesListCall) PageSize(pageSize int64) *ProjectsLocationsGrpcRoutesListCall { +// HttpRoutes to return per call. +func (c *ProjectsLocationsHttpRoutesListCall) PageSize(pageSize int64) *ProjectsLocationsHttpRoutesListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": The value returned by the -// last `ListGrpcRoutesResponse` Indicates that this is a continuation of a -// prior `ListGrpcRoutes` call, and that the system should return the next page +// last `ListHttpRoutesResponse` Indicates that this is a continuation of a +// prior `ListHttpRoutes` call, and that the system should return the next page // of data. -func (c *ProjectsLocationsGrpcRoutesListCall) PageToken(pageToken string) *ProjectsLocationsGrpcRoutesListCall { +func (c *ProjectsLocationsHttpRoutesListCall) PageToken(pageToken string) *ProjectsLocationsHttpRoutesListCall { c.urlParams_.Set("pageToken", pageToken) return c } @@ -7119,7 +7009,7 @@ func (c *ProjectsLocationsGrpcRoutesListCall) PageToken(pageToken string) *Proje // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsGrpcRoutesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsGrpcRoutesListCall { +func (c *ProjectsLocationsHttpRoutesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsHttpRoutesListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -7127,27 +7017,27 @@ func (c *ProjectsLocationsGrpcRoutesListCall) Fields(s ...googleapi.Field) *Proj // IfNoneMatch sets an optional parameter which makes the operation fail if the // object's ETag matches the given value. This is useful for getting updates // only after the object has changed since the last request. -func (c *ProjectsLocationsGrpcRoutesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsGrpcRoutesListCall { +func (c *ProjectsLocationsHttpRoutesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsHttpRoutesListCall { c.ifNoneMatch_ = entityTag return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsGrpcRoutesListCall) Context(ctx context.Context) *ProjectsLocationsGrpcRoutesListCall { +func (c *ProjectsLocationsHttpRoutesListCall) Context(ctx context.Context) *ProjectsLocationsHttpRoutesListCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsGrpcRoutesListCall) Header() http.Header { +func (c *ProjectsLocationsHttpRoutesListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGrpcRoutesListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsHttpRoutesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) if c.ifNoneMatch_ != "" { reqHeaders.Set("If-None-Match", c.ifNoneMatch_) @@ -7155,7 +7045,7 @@ func (c *ProjectsLocationsGrpcRoutesListCall) doRequest(alt string) (*http.Respo var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/grpcRoutes") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/httpRoutes") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -7168,13 +7058,13 @@ func (c *ProjectsLocationsGrpcRoutesListCall) doRequest(alt string) (*http.Respo return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.grpcRoutes.list" call. +// Do executes the "networkservices.projects.locations.httpRoutes.list" call. // Any non-2xx status code is an error. Response headers are in either -// *ListGrpcRoutesResponse.ServerResponse.Header or (if a response was returned +// *ListHttpRoutesResponse.ServerResponse.Header or (if a response was returned // at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to // check whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsGrpcRoutesListCall) Do(opts ...googleapi.CallOption) (*ListGrpcRoutesResponse, error) { +func (c *ProjectsLocationsHttpRoutesListCall) Do(opts ...googleapi.CallOption) (*ListHttpRoutesResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -7193,7 +7083,7 @@ func (c *ProjectsLocationsGrpcRoutesListCall) Do(opts ...googleapi.CallOption) ( if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &ListGrpcRoutesResponse{ + ret := &ListHttpRoutesResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -7209,7 +7099,7 @@ func (c *ProjectsLocationsGrpcRoutesListCall) Do(opts ...googleapi.CallOption) ( // Pages invokes f for each page of results. // A non-nil error returned from f will halt the iteration. // The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsGrpcRoutesListCall) Pages(ctx context.Context, f func(*ListGrpcRoutesResponse) error) error { +func (c *ProjectsLocationsHttpRoutesListCall) Pages(ctx context.Context, f func(*ListHttpRoutesResponse) error) error { c.ctx_ = ctx defer c.PageToken(c.urlParams_.Get("pageToken")) for { @@ -7227,33 +7117,33 @@ func (c *ProjectsLocationsGrpcRoutesListCall) Pages(ctx context.Context, f func( } } -type ProjectsLocationsGrpcRoutesPatchCall struct { +type ProjectsLocationsHttpRoutesPatchCall struct { s *Service name string - grpcroute *GrpcRoute + httproute *HttpRoute urlParams_ gensupport.URLParams ctx_ context.Context header_ http.Header } -// Patch: Updates the parameters of a single GrpcRoute. +// Patch: Updates the parameters of a single HttpRoute. // -// - name: Name of the GrpcRoute resource. It matches pattern -// `projects/*/locations/global/grpcRoutes/`. -func (r *ProjectsLocationsGrpcRoutesService) Patch(name string, grpcroute *GrpcRoute) *ProjectsLocationsGrpcRoutesPatchCall { - c := &ProjectsLocationsGrpcRoutesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - c.grpcroute = grpcroute +// - name: Name of the HttpRoute resource. It matches pattern +// `projects/*/locations/global/httpRoutes/http_route_name>`. +func (r *ProjectsLocationsHttpRoutesService) Patch(name string, httproute *HttpRoute) *ProjectsLocationsHttpRoutesPatchCall { + c := &ProjectsLocationsHttpRoutesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.httproute = httproute return c } // UpdateMask sets the optional parameter "updateMask": Field mask is used to -// specify the fields to be overwritten in the GrpcRoute resource by the +// specify the fields to be overwritten in the HttpRoute resource by the // update. The fields specified in the update_mask are relative to the // resource, not the full request. A field will be overwritten if it is in the // mask. If the user does not provide a mask then all fields will be // overwritten. -func (c *ProjectsLocationsGrpcRoutesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsGrpcRoutesPatchCall { +func (c *ProjectsLocationsHttpRoutesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsHttpRoutesPatchCall { c.urlParams_.Set("updateMask", updateMask) return c } @@ -7261,30 +7151,30 @@ func (c *ProjectsLocationsGrpcRoutesPatchCall) UpdateMask(updateMask string) *Pr // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsGrpcRoutesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsGrpcRoutesPatchCall { +func (c *ProjectsLocationsHttpRoutesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsHttpRoutesPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsGrpcRoutesPatchCall) Context(ctx context.Context) *ProjectsLocationsGrpcRoutesPatchCall { +func (c *ProjectsLocationsHttpRoutesPatchCall) Context(ctx context.Context) *ProjectsLocationsHttpRoutesPatchCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsGrpcRoutesPatchCall) Header() http.Header { +func (c *ProjectsLocationsHttpRoutesPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGrpcRoutesPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsHttpRoutesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.grpcroute) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.httproute) if err != nil { return nil, err } @@ -7303,12 +7193,12 @@ func (c *ProjectsLocationsGrpcRoutesPatchCall) doRequest(alt string) (*http.Resp return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.grpcRoutes.patch" call. +// Do executes the "networkservices.projects.locations.httpRoutes.patch" call. // Any non-2xx status code is an error. Response headers are in either // *Operation.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsGrpcRoutesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *ProjectsLocationsHttpRoutesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -7340,66 +7230,83 @@ func (c *ProjectsLocationsGrpcRoutesPatchCall) Do(opts ...googleapi.CallOption) return ret, nil } -type ProjectsLocationsHttpRoutesCreateCall struct { - s *Service - parent string - httproute *HttpRoute - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsLbRouteExtensionsCreateCall struct { + s *Service + parent string + lbrouteextension *LbRouteExtension + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Create: Creates a new HttpRoute in a given project and location. +// Create: Creates a new `LbRouteExtension` resource in a given project and +// location. // -// - parent: The parent resource of the HttpRoute. Must be in the format -// `projects/*/locations/global`. -func (r *ProjectsLocationsHttpRoutesService) Create(parent string, httproute *HttpRoute) *ProjectsLocationsHttpRoutesCreateCall { - c := &ProjectsLocationsHttpRoutesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - parent: The parent resource of the `LbRouteExtension` resource. Must be in +// the format `projects/{project}/locations/{location}`. +func (r *ProjectsLocationsLbRouteExtensionsService) Create(parent string, lbrouteextension *LbRouteExtension) *ProjectsLocationsLbRouteExtensionsCreateCall { + c := &ProjectsLocationsLbRouteExtensionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent - c.httproute = httproute + c.lbrouteextension = lbrouteextension return c } -// HttpRouteId sets the optional parameter "httpRouteId": Required. Short name -// of the HttpRoute resource to be created. -func (c *ProjectsLocationsHttpRoutesCreateCall) HttpRouteId(httpRouteId string) *ProjectsLocationsHttpRoutesCreateCall { - c.urlParams_.Set("httpRouteId", httpRouteId) +// LbRouteExtensionId sets the optional parameter "lbRouteExtensionId": +// Required. User-provided ID of the `LbRouteExtension` resource to be created. +func (c *ProjectsLocationsLbRouteExtensionsCreateCall) LbRouteExtensionId(lbRouteExtensionId string) *ProjectsLocationsLbRouteExtensionsCreateCall { + c.urlParams_.Set("lbRouteExtensionId", lbRouteExtensionId) + return c +} + +// RequestId sets the optional parameter "requestId": An optional request ID to +// identify requests. Specify a unique request ID so that if you must retry +// your request, the server can ignore the request if it has already been +// completed. The server guarantees that for at least 60 minutes since the +// first request. For example, consider a situation where you make an initial +// request and the request times out. If you make the request again with the +// same request ID, the server can check if original operation with the same +// request ID was received, and if so, ignores the second request. This +// prevents clients from accidentally creating duplicate commitments. The +// request ID must be a valid UUID with the exception that zero UUID is not +// supported (00000000-0000-0000-0000-000000000000). +func (c *ProjectsLocationsLbRouteExtensionsCreateCall) RequestId(requestId string) *ProjectsLocationsLbRouteExtensionsCreateCall { + c.urlParams_.Set("requestId", requestId) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsHttpRoutesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsHttpRoutesCreateCall { +func (c *ProjectsLocationsLbRouteExtensionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbRouteExtensionsCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsHttpRoutesCreateCall) Context(ctx context.Context) *ProjectsLocationsHttpRoutesCreateCall { +func (c *ProjectsLocationsLbRouteExtensionsCreateCall) Context(ctx context.Context) *ProjectsLocationsLbRouteExtensionsCreateCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsHttpRoutesCreateCall) Header() http.Header { +func (c *ProjectsLocationsLbRouteExtensionsCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsHttpRoutesCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsLbRouteExtensionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.httproute) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.lbrouteextension) if err != nil { return nil, err } c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/httpRoutes") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/lbRouteExtensions") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -7412,12 +7319,12 @@ func (c *ProjectsLocationsHttpRoutesCreateCall) doRequest(alt string) (*http.Res return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.httpRoutes.create" call. +// Do executes the "networkservices.projects.locations.lbRouteExtensions.create" call. // Any non-2xx status code is an error. Response headers are in either // *Operation.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsHttpRoutesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *ProjectsLocationsLbRouteExtensionsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -7449,7 +7356,7 @@ func (c *ProjectsLocationsHttpRoutesCreateCall) Do(opts ...googleapi.CallOption) return ret, nil } -type ProjectsLocationsHttpRoutesDeleteCall struct { +type ProjectsLocationsLbRouteExtensionsDeleteCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -7457,40 +7364,58 @@ type ProjectsLocationsHttpRoutesDeleteCall struct { header_ http.Header } -// Delete: Deletes a single HttpRoute. +// Delete: Deletes the specified `LbRouteExtension` resource. // -// - name: A name of the HttpRoute to delete. Must be in the format -// `projects/*/locations/global/httpRoutes/*`. -func (r *ProjectsLocationsHttpRoutesService) Delete(name string) *ProjectsLocationsHttpRoutesDeleteCall { - c := &ProjectsLocationsHttpRoutesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - name: The name of the `LbRouteExtension` resource to delete. Must be in +// the format +// `projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extens +// ion}`. +func (r *ProjectsLocationsLbRouteExtensionsService) Delete(name string) *ProjectsLocationsLbRouteExtensionsDeleteCall { + c := &ProjectsLocationsLbRouteExtensionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } +// RequestId sets the optional parameter "requestId": An optional request ID to +// identify requests. Specify a unique request ID so that if you must retry +// your request, the server can ignore the request if it has already been +// completed. The server guarantees that for at least 60 minutes after the +// first request. For example, consider a situation where you make an initial +// request and the request times out. If you make the request again with the +// same request ID, the server can check if original operation with the same +// request ID was received, and if so, ignores the second request. This +// prevents clients from accidentally creating duplicate commitments. The +// request ID must be a valid UUID with the exception that zero UUID is not +// supported (00000000-0000-0000-0000-000000000000). +func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) RequestId(requestId string) *ProjectsLocationsLbRouteExtensionsDeleteCall { + c.urlParams_.Set("requestId", requestId) + return c +} + // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsHttpRoutesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsHttpRoutesDeleteCall { +func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbRouteExtensionsDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsHttpRoutesDeleteCall) Context(ctx context.Context) *ProjectsLocationsHttpRoutesDeleteCall { +func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsLbRouteExtensionsDeleteCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsHttpRoutesDeleteCall) Header() http.Header { +func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsHttpRoutesDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) var body io.Reader = nil c.urlParams_.Set("alt", alt) @@ -7508,12 +7433,12 @@ func (c *ProjectsLocationsHttpRoutesDeleteCall) doRequest(alt string) (*http.Res return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.httpRoutes.delete" call. +// Do executes the "networkservices.projects.locations.lbRouteExtensions.delete" call. // Any non-2xx status code is an error. Response headers are in either // *Operation.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsHttpRoutesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -7545,7 +7470,7 @@ func (c *ProjectsLocationsHttpRoutesDeleteCall) Do(opts ...googleapi.CallOption) return ret, nil } -type ProjectsLocationsHttpRoutesGetCall struct { +type ProjectsLocationsLbRouteExtensionsGetCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -7554,12 +7479,14 @@ type ProjectsLocationsHttpRoutesGetCall struct { header_ http.Header } -// Get: Gets details of a single HttpRoute. +// Get: Gets details of the specified `LbRouteExtension` resource. // -// - name: A name of the HttpRoute to get. Must be in the format -// `projects/*/locations/global/httpRoutes/*`. -func (r *ProjectsLocationsHttpRoutesService) Get(name string) *ProjectsLocationsHttpRoutesGetCall { - c := &ProjectsLocationsHttpRoutesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - name: A name of the `LbRouteExtension` resource to get. Must be in the +// format +// `projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extens +// ion}`. +func (r *ProjectsLocationsLbRouteExtensionsService) Get(name string) *ProjectsLocationsLbRouteExtensionsGetCall { + c := &ProjectsLocationsLbRouteExtensionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } @@ -7567,7 +7494,7 @@ func (r *ProjectsLocationsHttpRoutesService) Get(name string) *ProjectsLocations // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsHttpRoutesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsHttpRoutesGetCall { +func (c *ProjectsLocationsLbRouteExtensionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbRouteExtensionsGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -7575,27 +7502,27 @@ func (c *ProjectsLocationsHttpRoutesGetCall) Fields(s ...googleapi.Field) *Proje // IfNoneMatch sets an optional parameter which makes the operation fail if the // object's ETag matches the given value. This is useful for getting updates // only after the object has changed since the last request. -func (c *ProjectsLocationsHttpRoutesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsHttpRoutesGetCall { +func (c *ProjectsLocationsLbRouteExtensionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsLbRouteExtensionsGetCall { c.ifNoneMatch_ = entityTag return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsHttpRoutesGetCall) Context(ctx context.Context) *ProjectsLocationsHttpRoutesGetCall { +func (c *ProjectsLocationsLbRouteExtensionsGetCall) Context(ctx context.Context) *ProjectsLocationsLbRouteExtensionsGetCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsHttpRoutesGetCall) Header() http.Header { +func (c *ProjectsLocationsLbRouteExtensionsGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsHttpRoutesGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsLbRouteExtensionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) if c.ifNoneMatch_ != "" { reqHeaders.Set("If-None-Match", c.ifNoneMatch_) @@ -7616,12 +7543,13 @@ func (c *ProjectsLocationsHttpRoutesGetCall) doRequest(alt string) (*http.Respon return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.httpRoutes.get" call. +// Do executes the "networkservices.projects.locations.lbRouteExtensions.get" call. // Any non-2xx status code is an error. Response headers are in either -// *HttpRoute.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsHttpRoutesGetCall) Do(opts ...googleapi.CallOption) (*HttpRoute, error) { +// *LbRouteExtension.ServerResponse.Header or (if a response was returned at +// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to +// check whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsLbRouteExtensionsGetCall) Do(opts ...googleapi.CallOption) (*LbRouteExtension, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -7640,7 +7568,7 @@ func (c *ProjectsLocationsHttpRoutesGetCall) Do(opts ...googleapi.CallOption) (* if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &HttpRoute{ + ret := &LbRouteExtension{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -7653,7 +7581,7 @@ func (c *ProjectsLocationsHttpRoutesGetCall) Do(opts ...googleapi.CallOption) (* return ret, nil } -type ProjectsLocationsHttpRoutesListCall struct { +type ProjectsLocationsLbRouteExtensionsListCall struct { s *Service parent string urlParams_ gensupport.URLParams @@ -7662,28 +7590,41 @@ type ProjectsLocationsHttpRoutesListCall struct { header_ http.Header } -// List: Lists HttpRoute in a given project and location. +// List: Lists `LbRouteExtension` resources in a given project and location. // -// - parent: The project and location from which the HttpRoutes should be -// listed, specified in the format `projects/*/locations/global`. -func (r *ProjectsLocationsHttpRoutesService) List(parent string) *ProjectsLocationsHttpRoutesListCall { - c := &ProjectsLocationsHttpRoutesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - parent: The project and location from which the `LbRouteExtension` +// resources are listed, specified in the following format: +// `projects/{project}/locations/{location}`. +func (r *ProjectsLocationsLbRouteExtensionsService) List(parent string) *ProjectsLocationsLbRouteExtensionsListCall { + c := &ProjectsLocationsLbRouteExtensionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent return c } -// PageSize sets the optional parameter "pageSize": Maximum number of -// HttpRoutes to return per call. -func (c *ProjectsLocationsHttpRoutesListCall) PageSize(pageSize int64) *ProjectsLocationsHttpRoutesListCall { +// Filter sets the optional parameter "filter": Filtering results. +func (c *ProjectsLocationsLbRouteExtensionsListCall) Filter(filter string) *ProjectsLocationsLbRouteExtensionsListCall { + c.urlParams_.Set("filter", filter) + return c +} + +// OrderBy sets the optional parameter "orderBy": Hint for how to order the +// results. +func (c *ProjectsLocationsLbRouteExtensionsListCall) OrderBy(orderBy string) *ProjectsLocationsLbRouteExtensionsListCall { + c.urlParams_.Set("orderBy", orderBy) + return c +} + +// PageSize sets the optional parameter "pageSize": Requested page size. The +// server might return fewer items than requested. If unspecified, the server +// picks an appropriate default. +func (c *ProjectsLocationsLbRouteExtensionsListCall) PageSize(pageSize int64) *ProjectsLocationsLbRouteExtensionsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } -// PageToken sets the optional parameter "pageToken": The value returned by the -// last `ListHttpRoutesResponse` Indicates that this is a continuation of a -// prior `ListHttpRoutes` call, and that the system should return the next page -// of data. -func (c *ProjectsLocationsHttpRoutesListCall) PageToken(pageToken string) *ProjectsLocationsHttpRoutesListCall { +// PageToken sets the optional parameter "pageToken": A token identifying a +// page of results that the server returns. +func (c *ProjectsLocationsLbRouteExtensionsListCall) PageToken(pageToken string) *ProjectsLocationsLbRouteExtensionsListCall { c.urlParams_.Set("pageToken", pageToken) return c } @@ -7691,7 +7632,7 @@ func (c *ProjectsLocationsHttpRoutesListCall) PageToken(pageToken string) *Proje // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsHttpRoutesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsHttpRoutesListCall { +func (c *ProjectsLocationsLbRouteExtensionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbRouteExtensionsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -7699,27 +7640,27 @@ func (c *ProjectsLocationsHttpRoutesListCall) Fields(s ...googleapi.Field) *Proj // IfNoneMatch sets an optional parameter which makes the operation fail if the // object's ETag matches the given value. This is useful for getting updates // only after the object has changed since the last request. -func (c *ProjectsLocationsHttpRoutesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsHttpRoutesListCall { +func (c *ProjectsLocationsLbRouteExtensionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsLbRouteExtensionsListCall { c.ifNoneMatch_ = entityTag return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsHttpRoutesListCall) Context(ctx context.Context) *ProjectsLocationsHttpRoutesListCall { +func (c *ProjectsLocationsLbRouteExtensionsListCall) Context(ctx context.Context) *ProjectsLocationsLbRouteExtensionsListCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsHttpRoutesListCall) Header() http.Header { +func (c *ProjectsLocationsLbRouteExtensionsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsHttpRoutesListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsLbRouteExtensionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) if c.ifNoneMatch_ != "" { reqHeaders.Set("If-None-Match", c.ifNoneMatch_) @@ -7727,7 +7668,7 @@ func (c *ProjectsLocationsHttpRoutesListCall) doRequest(alt string) (*http.Respo var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/httpRoutes") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/lbRouteExtensions") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -7740,13 +7681,13 @@ func (c *ProjectsLocationsHttpRoutesListCall) doRequest(alt string) (*http.Respo return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.httpRoutes.list" call. +// Do executes the "networkservices.projects.locations.lbRouteExtensions.list" call. // Any non-2xx status code is an error. Response headers are in either -// *ListHttpRoutesResponse.ServerResponse.Header or (if a response was returned -// at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to -// check whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsHttpRoutesListCall) Do(opts ...googleapi.CallOption) (*ListHttpRoutesResponse, error) { +// *ListLbRouteExtensionsResponse.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was because +// http.StatusNotModified was returned. +func (c *ProjectsLocationsLbRouteExtensionsListCall) Do(opts ...googleapi.CallOption) (*ListLbRouteExtensionsResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -7765,7 +7706,7 @@ func (c *ProjectsLocationsHttpRoutesListCall) Do(opts ...googleapi.CallOption) ( if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &ListHttpRoutesResponse{ + ret := &ListLbRouteExtensionsResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -7781,7 +7722,7 @@ func (c *ProjectsLocationsHttpRoutesListCall) Do(opts ...googleapi.CallOption) ( // Pages invokes f for each page of results. // A non-nil error returned from f will halt the iteration. // The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsHttpRoutesListCall) Pages(ctx context.Context, f func(*ListHttpRoutesResponse) error) error { +func (c *ProjectsLocationsLbRouteExtensionsListCall) Pages(ctx context.Context, f func(*ListLbRouteExtensionsResponse) error) error { c.ctx_ = ctx defer c.PageToken(c.urlParams_.Get("pageToken")) for { @@ -7799,33 +7740,50 @@ func (c *ProjectsLocationsHttpRoutesListCall) Pages(ctx context.Context, f func( } } -type ProjectsLocationsHttpRoutesPatchCall struct { - s *Service - name string - httproute *HttpRoute - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsLbRouteExtensionsPatchCall struct { + s *Service + name string + lbrouteextension *LbRouteExtension + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Patch: Updates the parameters of a single HttpRoute. +// Patch: Updates the parameters of the specified `LbRouteExtension` resource. // -// - name: Name of the HttpRoute resource. It matches pattern -// `projects/*/locations/global/httpRoutes/http_route_name>`. -func (r *ProjectsLocationsHttpRoutesService) Patch(name string, httproute *HttpRoute) *ProjectsLocationsHttpRoutesPatchCall { - c := &ProjectsLocationsHttpRoutesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - name: Identifier. Name of the `LbRouteExtension` resource in the following +// format: +// `projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extens +// ion}`. +func (r *ProjectsLocationsLbRouteExtensionsService) Patch(name string, lbrouteextension *LbRouteExtension) *ProjectsLocationsLbRouteExtensionsPatchCall { + c := &ProjectsLocationsLbRouteExtensionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name - c.httproute = httproute + c.lbrouteextension = lbrouteextension return c } -// UpdateMask sets the optional parameter "updateMask": Field mask is used to -// specify the fields to be overwritten in the HttpRoute resource by the -// update. The fields specified in the update_mask are relative to the -// resource, not the full request. A field will be overwritten if it is in the -// mask. If the user does not provide a mask then all fields will be -// overwritten. -func (c *ProjectsLocationsHttpRoutesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsHttpRoutesPatchCall { +// RequestId sets the optional parameter "requestId": An optional request ID to +// identify requests. Specify a unique request ID so that if you must retry +// your request, the server can ignore the request if it has already been +// completed. The server guarantees that for at least 60 minutes since the +// first request. For example, consider a situation where you make an initial +// request and the request times out. If you make the request again with the +// same request ID, the server can check if original operation with the same +// request ID was received, and if so, ignores the second request. This +// prevents clients from accidentally creating duplicate commitments. The +// request ID must be a valid UUID with the exception that zero UUID is not +// supported (00000000-0000-0000-0000-000000000000). +func (c *ProjectsLocationsLbRouteExtensionsPatchCall) RequestId(requestId string) *ProjectsLocationsLbRouteExtensionsPatchCall { + c.urlParams_.Set("requestId", requestId) + return c +} + +// UpdateMask sets the optional parameter "updateMask": Used to specify the +// fields to be overwritten in the `LbRouteExtension` resource by the update. +// The fields specified in the update_mask are relative to the resource, not +// the full request. A field is overwritten if it is in the mask. If the user +// does not specify a mask, then all fields are overwritten. +func (c *ProjectsLocationsLbRouteExtensionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsLbRouteExtensionsPatchCall { c.urlParams_.Set("updateMask", updateMask) return c } @@ -7833,30 +7791,30 @@ func (c *ProjectsLocationsHttpRoutesPatchCall) UpdateMask(updateMask string) *Pr // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsHttpRoutesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsHttpRoutesPatchCall { +func (c *ProjectsLocationsLbRouteExtensionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbRouteExtensionsPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsHttpRoutesPatchCall) Context(ctx context.Context) *ProjectsLocationsHttpRoutesPatchCall { +func (c *ProjectsLocationsLbRouteExtensionsPatchCall) Context(ctx context.Context) *ProjectsLocationsLbRouteExtensionsPatchCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsHttpRoutesPatchCall) Header() http.Header { +func (c *ProjectsLocationsLbRouteExtensionsPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsHttpRoutesPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsLbRouteExtensionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.httproute) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.lbrouteextension) if err != nil { return nil, err } @@ -7875,12 +7833,12 @@ func (c *ProjectsLocationsHttpRoutesPatchCall) doRequest(alt string) (*http.Resp return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.httpRoutes.patch" call. +// Do executes the "networkservices.projects.locations.lbRouteExtensions.patch" call. // Any non-2xx status code is an error. Response headers are in either // *Operation.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsHttpRoutesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *ProjectsLocationsLbRouteExtensionsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -7912,31 +7870,32 @@ func (c *ProjectsLocationsHttpRoutesPatchCall) Do(opts ...googleapi.CallOption) return ret, nil } -type ProjectsLocationsLbRouteExtensionsCreateCall struct { - s *Service - parent string - lbrouteextension *LbRouteExtension - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsLbTrafficExtensionsCreateCall struct { + s *Service + parent string + lbtrafficextension *LbTrafficExtension + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Create: Creates a new `LbRouteExtension` resource in a given project and +// Create: Creates a new `LbTrafficExtension` resource in a given project and // location. // -// - parent: The parent resource of the `LbRouteExtension` resource. Must be in -// the format `projects/{project}/locations/{location}`. -func (r *ProjectsLocationsLbRouteExtensionsService) Create(parent string, lbrouteextension *LbRouteExtension) *ProjectsLocationsLbRouteExtensionsCreateCall { - c := &ProjectsLocationsLbRouteExtensionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - parent: The parent resource of the `LbTrafficExtension` resource. Must be +// in the format `projects/{project}/locations/{location}`. +func (r *ProjectsLocationsLbTrafficExtensionsService) Create(parent string, lbtrafficextension *LbTrafficExtension) *ProjectsLocationsLbTrafficExtensionsCreateCall { + c := &ProjectsLocationsLbTrafficExtensionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent - c.lbrouteextension = lbrouteextension + c.lbtrafficextension = lbtrafficextension return c } -// LbRouteExtensionId sets the optional parameter "lbRouteExtensionId": -// Required. User-provided ID of the `LbRouteExtension` resource to be created. -func (c *ProjectsLocationsLbRouteExtensionsCreateCall) LbRouteExtensionId(lbRouteExtensionId string) *ProjectsLocationsLbRouteExtensionsCreateCall { - c.urlParams_.Set("lbRouteExtensionId", lbRouteExtensionId) +// LbTrafficExtensionId sets the optional parameter "lbTrafficExtensionId": +// Required. User-provided ID of the `LbTrafficExtension` resource to be +// created. +func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) LbTrafficExtensionId(lbTrafficExtensionId string) *ProjectsLocationsLbTrafficExtensionsCreateCall { + c.urlParams_.Set("lbTrafficExtensionId", lbTrafficExtensionId) return c } @@ -7951,7 +7910,7 @@ func (c *ProjectsLocationsLbRouteExtensionsCreateCall) LbRouteExtensionId(lbRout // prevents clients from accidentally creating duplicate commitments. The // request ID must be a valid UUID with the exception that zero UUID is not // supported (00000000-0000-0000-0000-000000000000). -func (c *ProjectsLocationsLbRouteExtensionsCreateCall) RequestId(requestId string) *ProjectsLocationsLbRouteExtensionsCreateCall { +func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) RequestId(requestId string) *ProjectsLocationsLbTrafficExtensionsCreateCall { c.urlParams_.Set("requestId", requestId) return c } @@ -7959,36 +7918,36 @@ func (c *ProjectsLocationsLbRouteExtensionsCreateCall) RequestId(requestId strin // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsLbRouteExtensionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbRouteExtensionsCreateCall { +func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTrafficExtensionsCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsLbRouteExtensionsCreateCall) Context(ctx context.Context) *ProjectsLocationsLbRouteExtensionsCreateCall { +func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) Context(ctx context.Context) *ProjectsLocationsLbTrafficExtensionsCreateCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsLbRouteExtensionsCreateCall) Header() http.Header { +func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsLbRouteExtensionsCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.lbrouteextension) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.lbtrafficextension) if err != nil { return nil, err } c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/lbRouteExtensions") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/lbTrafficExtensions") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -8001,12 +7960,12 @@ func (c *ProjectsLocationsLbRouteExtensionsCreateCall) doRequest(alt string) (*h return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.lbRouteExtensions.create" call. +// Do executes the "networkservices.projects.locations.lbTrafficExtensions.create" call. // Any non-2xx status code is an error. Response headers are in either // *Operation.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsLbRouteExtensionsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -8038,7 +7997,7 @@ func (c *ProjectsLocationsLbRouteExtensionsCreateCall) Do(opts ...googleapi.Call return ret, nil } -type ProjectsLocationsLbRouteExtensionsDeleteCall struct { +type ProjectsLocationsLbTrafficExtensionsDeleteCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -8046,14 +8005,14 @@ type ProjectsLocationsLbRouteExtensionsDeleteCall struct { header_ http.Header } -// Delete: Deletes the specified `LbRouteExtension` resource. +// Delete: Deletes the specified `LbTrafficExtension` resource. // -// - name: The name of the `LbRouteExtension` resource to delete. Must be in +// - name: The name of the `LbTrafficExtension` resource to delete. Must be in // the format -// `projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extens -// ion}`. -func (r *ProjectsLocationsLbRouteExtensionsService) Delete(name string) *ProjectsLocationsLbRouteExtensionsDeleteCall { - c := &ProjectsLocationsLbRouteExtensionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// `projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_ex +// tension}`. +func (r *ProjectsLocationsLbTrafficExtensionsService) Delete(name string) *ProjectsLocationsLbTrafficExtensionsDeleteCall { + c := &ProjectsLocationsLbTrafficExtensionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } @@ -8069,7 +8028,7 @@ func (r *ProjectsLocationsLbRouteExtensionsService) Delete(name string) *Project // prevents clients from accidentally creating duplicate commitments. The // request ID must be a valid UUID with the exception that zero UUID is not // supported (00000000-0000-0000-0000-000000000000). -func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) RequestId(requestId string) *ProjectsLocationsLbRouteExtensionsDeleteCall { +func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) RequestId(requestId string) *ProjectsLocationsLbTrafficExtensionsDeleteCall { c.urlParams_.Set("requestId", requestId) return c } @@ -8077,27 +8036,27 @@ func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) RequestId(requestId strin // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbRouteExtensionsDeleteCall { +func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTrafficExtensionsDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsLbRouteExtensionsDeleteCall { +func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsLbTrafficExtensionsDeleteCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) Header() http.Header { +func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) var body io.Reader = nil c.urlParams_.Set("alt", alt) @@ -8115,12 +8074,12 @@ func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) doRequest(alt string) (*h return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.lbRouteExtensions.delete" call. +// Do executes the "networkservices.projects.locations.lbTrafficExtensions.delete" call. // Any non-2xx status code is an error. Response headers are in either // *Operation.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -8152,7 +8111,7 @@ func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) Do(opts ...googleapi.Call return ret, nil } -type ProjectsLocationsLbRouteExtensionsGetCall struct { +type ProjectsLocationsLbTrafficExtensionsGetCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -8161,14 +8120,14 @@ type ProjectsLocationsLbRouteExtensionsGetCall struct { header_ http.Header } -// Get: Gets details of the specified `LbRouteExtension` resource. +// Get: Gets details of the specified `LbTrafficExtension` resource. // -// - name: A name of the `LbRouteExtension` resource to get. Must be in the +// - name: A name of the `LbTrafficExtension` resource to get. Must be in the // format -// `projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extens -// ion}`. -func (r *ProjectsLocationsLbRouteExtensionsService) Get(name string) *ProjectsLocationsLbRouteExtensionsGetCall { - c := &ProjectsLocationsLbRouteExtensionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// `projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_ex +// tension}`. +func (r *ProjectsLocationsLbTrafficExtensionsService) Get(name string) *ProjectsLocationsLbTrafficExtensionsGetCall { + c := &ProjectsLocationsLbTrafficExtensionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } @@ -8176,7 +8135,7 @@ func (r *ProjectsLocationsLbRouteExtensionsService) Get(name string) *ProjectsLo // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsLbRouteExtensionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbRouteExtensionsGetCall { +func (c *ProjectsLocationsLbTrafficExtensionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTrafficExtensionsGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -8184,27 +8143,27 @@ func (c *ProjectsLocationsLbRouteExtensionsGetCall) Fields(s ...googleapi.Field) // IfNoneMatch sets an optional parameter which makes the operation fail if the // object's ETag matches the given value. This is useful for getting updates // only after the object has changed since the last request. -func (c *ProjectsLocationsLbRouteExtensionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsLbRouteExtensionsGetCall { +func (c *ProjectsLocationsLbTrafficExtensionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsLbTrafficExtensionsGetCall { c.ifNoneMatch_ = entityTag return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsLbRouteExtensionsGetCall) Context(ctx context.Context) *ProjectsLocationsLbRouteExtensionsGetCall { +func (c *ProjectsLocationsLbTrafficExtensionsGetCall) Context(ctx context.Context) *ProjectsLocationsLbTrafficExtensionsGetCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsLbRouteExtensionsGetCall) Header() http.Header { +func (c *ProjectsLocationsLbTrafficExtensionsGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsLbRouteExtensionsGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsLbTrafficExtensionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) if c.ifNoneMatch_ != "" { reqHeaders.Set("If-None-Match", c.ifNoneMatch_) @@ -8225,13 +8184,13 @@ func (c *ProjectsLocationsLbRouteExtensionsGetCall) doRequest(alt string) (*http return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.lbRouteExtensions.get" call. +// Do executes the "networkservices.projects.locations.lbTrafficExtensions.get" call. // Any non-2xx status code is an error. Response headers are in either -// *LbRouteExtension.ServerResponse.Header or (if a response was returned at +// *LbTrafficExtension.ServerResponse.Header or (if a response was returned at // all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to // check whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsLbRouteExtensionsGetCall) Do(opts ...googleapi.CallOption) (*LbRouteExtension, error) { +func (c *ProjectsLocationsLbTrafficExtensionsGetCall) Do(opts ...googleapi.CallOption) (*LbTrafficExtension, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -8250,7 +8209,7 @@ func (c *ProjectsLocationsLbRouteExtensionsGetCall) Do(opts ...googleapi.CallOpt if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &LbRouteExtension{ + ret := &LbTrafficExtension{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -8263,7 +8222,7 @@ func (c *ProjectsLocationsLbRouteExtensionsGetCall) Do(opts ...googleapi.CallOpt return ret, nil } -type ProjectsLocationsLbRouteExtensionsListCall struct { +type ProjectsLocationsLbTrafficExtensionsListCall struct { s *Service parent string urlParams_ gensupport.URLParams @@ -8272,26 +8231,26 @@ type ProjectsLocationsLbRouteExtensionsListCall struct { header_ http.Header } -// List: Lists `LbRouteExtension` resources in a given project and location. +// List: Lists `LbTrafficExtension` resources in a given project and location. // -// - parent: The project and location from which the `LbRouteExtension` +// - parent: The project and location from which the `LbTrafficExtension` // resources are listed, specified in the following format: // `projects/{project}/locations/{location}`. -func (r *ProjectsLocationsLbRouteExtensionsService) List(parent string) *ProjectsLocationsLbRouteExtensionsListCall { - c := &ProjectsLocationsLbRouteExtensionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} +func (r *ProjectsLocationsLbTrafficExtensionsService) List(parent string) *ProjectsLocationsLbTrafficExtensionsListCall { + c := &ProjectsLocationsLbTrafficExtensionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent return c } // Filter sets the optional parameter "filter": Filtering results. -func (c *ProjectsLocationsLbRouteExtensionsListCall) Filter(filter string) *ProjectsLocationsLbRouteExtensionsListCall { +func (c *ProjectsLocationsLbTrafficExtensionsListCall) Filter(filter string) *ProjectsLocationsLbTrafficExtensionsListCall { c.urlParams_.Set("filter", filter) return c } // OrderBy sets the optional parameter "orderBy": Hint for how to order the // results. -func (c *ProjectsLocationsLbRouteExtensionsListCall) OrderBy(orderBy string) *ProjectsLocationsLbRouteExtensionsListCall { +func (c *ProjectsLocationsLbTrafficExtensionsListCall) OrderBy(orderBy string) *ProjectsLocationsLbTrafficExtensionsListCall { c.urlParams_.Set("orderBy", orderBy) return c } @@ -8299,14 +8258,14 @@ func (c *ProjectsLocationsLbRouteExtensionsListCall) OrderBy(orderBy string) *Pr // PageSize sets the optional parameter "pageSize": Requested page size. The // server might return fewer items than requested. If unspecified, the server // picks an appropriate default. -func (c *ProjectsLocationsLbRouteExtensionsListCall) PageSize(pageSize int64) *ProjectsLocationsLbRouteExtensionsListCall { +func (c *ProjectsLocationsLbTrafficExtensionsListCall) PageSize(pageSize int64) *ProjectsLocationsLbTrafficExtensionsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": A token identifying a // page of results that the server returns. -func (c *ProjectsLocationsLbRouteExtensionsListCall) PageToken(pageToken string) *ProjectsLocationsLbRouteExtensionsListCall { +func (c *ProjectsLocationsLbTrafficExtensionsListCall) PageToken(pageToken string) *ProjectsLocationsLbTrafficExtensionsListCall { c.urlParams_.Set("pageToken", pageToken) return c } @@ -8314,7 +8273,7 @@ func (c *ProjectsLocationsLbRouteExtensionsListCall) PageToken(pageToken string) // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsLbRouteExtensionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbRouteExtensionsListCall { +func (c *ProjectsLocationsLbTrafficExtensionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTrafficExtensionsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -8322,27 +8281,27 @@ func (c *ProjectsLocationsLbRouteExtensionsListCall) Fields(s ...googleapi.Field // IfNoneMatch sets an optional parameter which makes the operation fail if the // object's ETag matches the given value. This is useful for getting updates // only after the object has changed since the last request. -func (c *ProjectsLocationsLbRouteExtensionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsLbRouteExtensionsListCall { +func (c *ProjectsLocationsLbTrafficExtensionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsLbTrafficExtensionsListCall { c.ifNoneMatch_ = entityTag return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsLbRouteExtensionsListCall) Context(ctx context.Context) *ProjectsLocationsLbRouteExtensionsListCall { +func (c *ProjectsLocationsLbTrafficExtensionsListCall) Context(ctx context.Context) *ProjectsLocationsLbTrafficExtensionsListCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsLbRouteExtensionsListCall) Header() http.Header { +func (c *ProjectsLocationsLbTrafficExtensionsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsLbRouteExtensionsListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsLbTrafficExtensionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) if c.ifNoneMatch_ != "" { reqHeaders.Set("If-None-Match", c.ifNoneMatch_) @@ -8350,7 +8309,7 @@ func (c *ProjectsLocationsLbRouteExtensionsListCall) doRequest(alt string) (*htt var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/lbRouteExtensions") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/lbTrafficExtensions") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -8363,13 +8322,13 @@ func (c *ProjectsLocationsLbRouteExtensionsListCall) doRequest(alt string) (*htt return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.lbRouteExtensions.list" call. +// Do executes the "networkservices.projects.locations.lbTrafficExtensions.list" call. // Any non-2xx status code is an error. Response headers are in either -// *ListLbRouteExtensionsResponse.ServerResponse.Header or (if a response was +// *ListLbTrafficExtensionsResponse.ServerResponse.Header or (if a response was // returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was because // http.StatusNotModified was returned. -func (c *ProjectsLocationsLbRouteExtensionsListCall) Do(opts ...googleapi.CallOption) (*ListLbRouteExtensionsResponse, error) { +func (c *ProjectsLocationsLbTrafficExtensionsListCall) Do(opts ...googleapi.CallOption) (*ListLbTrafficExtensionsResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -8388,7 +8347,7 @@ func (c *ProjectsLocationsLbRouteExtensionsListCall) Do(opts ...googleapi.CallOp if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &ListLbRouteExtensionsResponse{ + ret := &ListLbTrafficExtensionsResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -8404,7 +8363,7 @@ func (c *ProjectsLocationsLbRouteExtensionsListCall) Do(opts ...googleapi.CallOp // Pages invokes f for each page of results. // A non-nil error returned from f will halt the iteration. // The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsLbRouteExtensionsListCall) Pages(ctx context.Context, f func(*ListLbRouteExtensionsResponse) error) error { +func (c *ProjectsLocationsLbTrafficExtensionsListCall) Pages(ctx context.Context, f func(*ListLbTrafficExtensionsResponse) error) error { c.ctx_ = ctx defer c.PageToken(c.urlParams_.Get("pageToken")) for { @@ -8422,25 +8381,26 @@ func (c *ProjectsLocationsLbRouteExtensionsListCall) Pages(ctx context.Context, } } -type ProjectsLocationsLbRouteExtensionsPatchCall struct { - s *Service - name string - lbrouteextension *LbRouteExtension - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsLbTrafficExtensionsPatchCall struct { + s *Service + name string + lbtrafficextension *LbTrafficExtension + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Patch: Updates the parameters of the specified `LbRouteExtension` resource. +// Patch: Updates the parameters of the specified `LbTrafficExtension` +// resource. // -// - name: Identifier. Name of the `LbRouteExtension` resource in the following -// format: -// `projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extens -// ion}`. -func (r *ProjectsLocationsLbRouteExtensionsService) Patch(name string, lbrouteextension *LbRouteExtension) *ProjectsLocationsLbRouteExtensionsPatchCall { - c := &ProjectsLocationsLbRouteExtensionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - name: Identifier. Name of the `LbTrafficExtension` resource in the +// following format: +// `projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_ex +// tension}`. +func (r *ProjectsLocationsLbTrafficExtensionsService) Patch(name string, lbtrafficextension *LbTrafficExtension) *ProjectsLocationsLbTrafficExtensionsPatchCall { + c := &ProjectsLocationsLbTrafficExtensionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name - c.lbrouteextension = lbrouteextension + c.lbtrafficextension = lbtrafficextension return c } @@ -8455,17 +8415,17 @@ func (r *ProjectsLocationsLbRouteExtensionsService) Patch(name string, lbrouteex // prevents clients from accidentally creating duplicate commitments. The // request ID must be a valid UUID with the exception that zero UUID is not // supported (00000000-0000-0000-0000-000000000000). -func (c *ProjectsLocationsLbRouteExtensionsPatchCall) RequestId(requestId string) *ProjectsLocationsLbRouteExtensionsPatchCall { +func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) RequestId(requestId string) *ProjectsLocationsLbTrafficExtensionsPatchCall { c.urlParams_.Set("requestId", requestId) return c } // UpdateMask sets the optional parameter "updateMask": Used to specify the -// fields to be overwritten in the `LbRouteExtension` resource by the update. +// fields to be overwritten in the `LbTrafficExtension` resource by the update. // The fields specified in the update_mask are relative to the resource, not // the full request. A field is overwritten if it is in the mask. If the user // does not specify a mask, then all fields are overwritten. -func (c *ProjectsLocationsLbRouteExtensionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsLbRouteExtensionsPatchCall { +func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsLbTrafficExtensionsPatchCall { c.urlParams_.Set("updateMask", updateMask) return c } @@ -8473,30 +8433,30 @@ func (c *ProjectsLocationsLbRouteExtensionsPatchCall) UpdateMask(updateMask stri // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsLbRouteExtensionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbRouteExtensionsPatchCall { +func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTrafficExtensionsPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsLbRouteExtensionsPatchCall) Context(ctx context.Context) *ProjectsLocationsLbRouteExtensionsPatchCall { +func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) Context(ctx context.Context) *ProjectsLocationsLbTrafficExtensionsPatchCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsLbRouteExtensionsPatchCall) Header() http.Header { +func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsLbRouteExtensionsPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.lbrouteextension) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.lbtrafficextension) if err != nil { return nil, err } @@ -8515,12 +8475,12 @@ func (c *ProjectsLocationsLbRouteExtensionsPatchCall) doRequest(alt string) (*ht return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.lbRouteExtensions.patch" call. +// Do executes the "networkservices.projects.locations.lbTrafficExtensions.patch" call. // Any non-2xx status code is an error. Response headers are in either // *Operation.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsLbRouteExtensionsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -8552,84 +8512,66 @@ func (c *ProjectsLocationsLbRouteExtensionsPatchCall) Do(opts ...googleapi.CallO return ret, nil } -type ProjectsLocationsLbTrafficExtensionsCreateCall struct { - s *Service - parent string - lbtrafficextension *LbTrafficExtension - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsMeshesCreateCall struct { + s *Service + parent string + mesh *Mesh + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Create: Creates a new `LbTrafficExtension` resource in a given project and -// location. +// Create: Creates a new Mesh in a given project and location. // -// - parent: The parent resource of the `LbTrafficExtension` resource. Must be -// in the format `projects/{project}/locations/{location}`. -func (r *ProjectsLocationsLbTrafficExtensionsService) Create(parent string, lbtrafficextension *LbTrafficExtension) *ProjectsLocationsLbTrafficExtensionsCreateCall { - c := &ProjectsLocationsLbTrafficExtensionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - parent: The parent resource of the Mesh. Must be in the format +// `projects/*/locations/global`. +func (r *ProjectsLocationsMeshesService) Create(parent string, mesh *Mesh) *ProjectsLocationsMeshesCreateCall { + c := &ProjectsLocationsMeshesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent - c.lbtrafficextension = lbtrafficextension - return c -} - -// LbTrafficExtensionId sets the optional parameter "lbTrafficExtensionId": -// Required. User-provided ID of the `LbTrafficExtension` resource to be -// created. -func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) LbTrafficExtensionId(lbTrafficExtensionId string) *ProjectsLocationsLbTrafficExtensionsCreateCall { - c.urlParams_.Set("lbTrafficExtensionId", lbTrafficExtensionId) + c.mesh = mesh return c } -// RequestId sets the optional parameter "requestId": An optional request ID to -// identify requests. Specify a unique request ID so that if you must retry -// your request, the server can ignore the request if it has already been -// completed. The server guarantees that for at least 60 minutes since the -// first request. For example, consider a situation where you make an initial -// request and the request times out. If you make the request again with the -// same request ID, the server can check if original operation with the same -// request ID was received, and if so, ignores the second request. This -// prevents clients from accidentally creating duplicate commitments. The -// request ID must be a valid UUID with the exception that zero UUID is not -// supported (00000000-0000-0000-0000-000000000000). -func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) RequestId(requestId string) *ProjectsLocationsLbTrafficExtensionsCreateCall { - c.urlParams_.Set("requestId", requestId) +// MeshId sets the optional parameter "meshId": Required. Short name of the +// Mesh resource to be created. +func (c *ProjectsLocationsMeshesCreateCall) MeshId(meshId string) *ProjectsLocationsMeshesCreateCall { + c.urlParams_.Set("meshId", meshId) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTrafficExtensionsCreateCall { +func (c *ProjectsLocationsMeshesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) Context(ctx context.Context) *ProjectsLocationsLbTrafficExtensionsCreateCall { +func (c *ProjectsLocationsMeshesCreateCall) Context(ctx context.Context) *ProjectsLocationsMeshesCreateCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) Header() http.Header { +func (c *ProjectsLocationsMeshesCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsMeshesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.lbtrafficextension) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.mesh) if err != nil { return nil, err } c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/lbTrafficExtensions") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/meshes") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -8642,12 +8584,12 @@ func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) doRequest(alt string) ( return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.lbTrafficExtensions.create" call. +// Do executes the "networkservices.projects.locations.meshes.create" call. // Any non-2xx status code is an error. Response headers are in either // *Operation.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *ProjectsLocationsMeshesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -8679,7 +8621,7 @@ func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) Do(opts ...googleapi.Ca return ret, nil } -type ProjectsLocationsLbTrafficExtensionsDeleteCall struct { +type ProjectsLocationsMeshesDeleteCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -8687,58 +8629,40 @@ type ProjectsLocationsLbTrafficExtensionsDeleteCall struct { header_ http.Header } -// Delete: Deletes the specified `LbTrafficExtension` resource. +// Delete: Deletes a single Mesh. // -// - name: The name of the `LbTrafficExtension` resource to delete. Must be in -// the format -// `projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_ex -// tension}`. -func (r *ProjectsLocationsLbTrafficExtensionsService) Delete(name string) *ProjectsLocationsLbTrafficExtensionsDeleteCall { - c := &ProjectsLocationsLbTrafficExtensionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - name: A name of the Mesh to delete. Must be in the format +// `projects/*/locations/global/meshes/*`. +func (r *ProjectsLocationsMeshesService) Delete(name string) *ProjectsLocationsMeshesDeleteCall { + c := &ProjectsLocationsMeshesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } -// RequestId sets the optional parameter "requestId": An optional request ID to -// identify requests. Specify a unique request ID so that if you must retry -// your request, the server can ignore the request if it has already been -// completed. The server guarantees that for at least 60 minutes after the -// first request. For example, consider a situation where you make an initial -// request and the request times out. If you make the request again with the -// same request ID, the server can check if original operation with the same -// request ID was received, and if so, ignores the second request. This -// prevents clients from accidentally creating duplicate commitments. The -// request ID must be a valid UUID with the exception that zero UUID is not -// supported (00000000-0000-0000-0000-000000000000). -func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) RequestId(requestId string) *ProjectsLocationsLbTrafficExtensionsDeleteCall { - c.urlParams_.Set("requestId", requestId) - return c -} - // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTrafficExtensionsDeleteCall { +func (c *ProjectsLocationsMeshesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsLbTrafficExtensionsDeleteCall { +func (c *ProjectsLocationsMeshesDeleteCall) Context(ctx context.Context) *ProjectsLocationsMeshesDeleteCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) Header() http.Header { +func (c *ProjectsLocationsMeshesDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsMeshesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) var body io.Reader = nil c.urlParams_.Set("alt", alt) @@ -8756,12 +8680,12 @@ func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) doRequest(alt string) ( return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.lbTrafficExtensions.delete" call. +// Do executes the "networkservices.projects.locations.meshes.delete" call. // Any non-2xx status code is an error. Response headers are in either // *Operation.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *ProjectsLocationsMeshesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -8793,7 +8717,7 @@ func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) Do(opts ...googleapi.Ca return ret, nil } -type ProjectsLocationsLbTrafficExtensionsGetCall struct { +type ProjectsLocationsMeshesGetCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -8802,14 +8726,12 @@ type ProjectsLocationsLbTrafficExtensionsGetCall struct { header_ http.Header } -// Get: Gets details of the specified `LbTrafficExtension` resource. +// Get: Gets details of a single Mesh. // -// - name: A name of the `LbTrafficExtension` resource to get. Must be in the -// format -// `projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_ex -// tension}`. -func (r *ProjectsLocationsLbTrafficExtensionsService) Get(name string) *ProjectsLocationsLbTrafficExtensionsGetCall { - c := &ProjectsLocationsLbTrafficExtensionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - name: A name of the Mesh to get. Must be in the format +// `projects/*/locations/global/meshes/*`. +func (r *ProjectsLocationsMeshesService) Get(name string) *ProjectsLocationsMeshesGetCall { + c := &ProjectsLocationsMeshesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } @@ -8817,7 +8739,7 @@ func (r *ProjectsLocationsLbTrafficExtensionsService) Get(name string) *Projects // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsLbTrafficExtensionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTrafficExtensionsGetCall { +func (c *ProjectsLocationsMeshesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -8825,27 +8747,27 @@ func (c *ProjectsLocationsLbTrafficExtensionsGetCall) Fields(s ...googleapi.Fiel // IfNoneMatch sets an optional parameter which makes the operation fail if the // object's ETag matches the given value. This is useful for getting updates // only after the object has changed since the last request. -func (c *ProjectsLocationsLbTrafficExtensionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsLbTrafficExtensionsGetCall { +func (c *ProjectsLocationsMeshesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsMeshesGetCall { c.ifNoneMatch_ = entityTag return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsLbTrafficExtensionsGetCall) Context(ctx context.Context) *ProjectsLocationsLbTrafficExtensionsGetCall { +func (c *ProjectsLocationsMeshesGetCall) Context(ctx context.Context) *ProjectsLocationsMeshesGetCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsLbTrafficExtensionsGetCall) Header() http.Header { +func (c *ProjectsLocationsMeshesGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsLbTrafficExtensionsGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsMeshesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) if c.ifNoneMatch_ != "" { reqHeaders.Set("If-None-Match", c.ifNoneMatch_) @@ -8866,13 +8788,12 @@ func (c *ProjectsLocationsLbTrafficExtensionsGetCall) doRequest(alt string) (*ht return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.lbTrafficExtensions.get" call. +// Do executes the "networkservices.projects.locations.meshes.get" call. // Any non-2xx status code is an error. Response headers are in either -// *LbTrafficExtension.ServerResponse.Header or (if a response was returned at -// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to -// check whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsLbTrafficExtensionsGetCall) Do(opts ...googleapi.CallOption) (*LbTrafficExtension, error) { +// *Mesh.ServerResponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was returned. +func (c *ProjectsLocationsMeshesGetCall) Do(opts ...googleapi.CallOption) (*Mesh, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -8891,7 +8812,7 @@ func (c *ProjectsLocationsLbTrafficExtensionsGetCall) Do(opts ...googleapi.CallO if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &LbTrafficExtension{ + ret := &Mesh{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -8904,7 +8825,7 @@ func (c *ProjectsLocationsLbTrafficExtensionsGetCall) Do(opts ...googleapi.CallO return ret, nil } -type ProjectsLocationsLbTrafficExtensionsListCall struct { +type ProjectsLocationsMeshesListCall struct { s *Service parent string urlParams_ gensupport.URLParams @@ -8913,1058 +8834,90 @@ type ProjectsLocationsLbTrafficExtensionsListCall struct { header_ http.Header } -// List: Lists `LbTrafficExtension` resources in a given project and location. +// List: Lists Meshes in a given project and location. // -// - parent: The project and location from which the `LbTrafficExtension` -// resources are listed, specified in the following format: -// `projects/{project}/locations/{location}`. -func (r *ProjectsLocationsLbTrafficExtensionsService) List(parent string) *ProjectsLocationsLbTrafficExtensionsListCall { - c := &ProjectsLocationsLbTrafficExtensionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - parent: The project and location from which the Meshes should be listed, +// specified in the format `projects/*/locations/global`. +func (r *ProjectsLocationsMeshesService) List(parent string) *ProjectsLocationsMeshesListCall { + c := &ProjectsLocationsMeshesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent return c } -// Filter sets the optional parameter "filter": Filtering results. -func (c *ProjectsLocationsLbTrafficExtensionsListCall) Filter(filter string) *ProjectsLocationsLbTrafficExtensionsListCall { - c.urlParams_.Set("filter", filter) - return c -} - -// OrderBy sets the optional parameter "orderBy": Hint for how to order the -// results. -func (c *ProjectsLocationsLbTrafficExtensionsListCall) OrderBy(orderBy string) *ProjectsLocationsLbTrafficExtensionsListCall { - c.urlParams_.Set("orderBy", orderBy) - return c -} - -// PageSize sets the optional parameter "pageSize": Requested page size. The -// server might return fewer items than requested. If unspecified, the server -// picks an appropriate default. -func (c *ProjectsLocationsLbTrafficExtensionsListCall) PageSize(pageSize int64) *ProjectsLocationsLbTrafficExtensionsListCall { - c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) - return c -} - -// PageToken sets the optional parameter "pageToken": A token identifying a -// page of results that the server returns. -func (c *ProjectsLocationsLbTrafficExtensionsListCall) PageToken(pageToken string) *ProjectsLocationsLbTrafficExtensionsListCall { - c.urlParams_.Set("pageToken", pageToken) - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more -// details. -func (c *ProjectsLocationsLbTrafficExtensionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTrafficExtensionsListCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// IfNoneMatch sets an optional parameter which makes the operation fail if the -// object's ETag matches the given value. This is useful for getting updates -// only after the object has changed since the last request. -func (c *ProjectsLocationsLbTrafficExtensionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsLbTrafficExtensionsListCall { - c.ifNoneMatch_ = entityTag - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsLbTrafficExtensionsListCall) Context(ctx context.Context) *ProjectsLocationsLbTrafficExtensionsListCall { - c.ctx_ = ctx - return c -} - -// Header returns a http.Header that can be modified by the caller to add -// headers to the request. -func (c *ProjectsLocationsLbTrafficExtensionsListCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsLbTrafficExtensionsListCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } - var body io.Reader = nil - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/lbTrafficExtensions") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "networkservices.projects.locations.lbTrafficExtensions.list" call. -// Any non-2xx status code is an error. Response headers are in either -// *ListLbTrafficExtensionsResponse.ServerResponse.Header or (if a response was -// returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was because -// http.StatusNotModified was returned. -func (c *ProjectsLocationsLbTrafficExtensionsListCall) Do(opts ...googleapi.CallOption) (*ListLbTrafficExtensionsResponse, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, gensupport.WrapError(&googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - }) - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, gensupport.WrapError(err) - } - ret := &ListLbTrafficExtensionsResponse{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - -// Pages invokes f for each page of results. -// A non-nil error returned from f will halt the iteration. -// The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsLbTrafficExtensionsListCall) Pages(ctx context.Context, f func(*ListLbTrafficExtensionsResponse) error) error { - c.ctx_ = ctx - defer c.PageToken(c.urlParams_.Get("pageToken")) - for { - x, err := c.Do() - if err != nil { - return err - } - if err := f(x); err != nil { - return err - } - if x.NextPageToken == "" { - return nil - } - c.PageToken(x.NextPageToken) - } -} - -type ProjectsLocationsLbTrafficExtensionsPatchCall struct { - s *Service - name string - lbtrafficextension *LbTrafficExtension - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} - -// Patch: Updates the parameters of the specified `LbTrafficExtension` -// resource. -// -// - name: Identifier. Name of the `LbTrafficExtension` resource in the -// following format: -// `projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_ex -// tension}`. -func (r *ProjectsLocationsLbTrafficExtensionsService) Patch(name string, lbtrafficextension *LbTrafficExtension) *ProjectsLocationsLbTrafficExtensionsPatchCall { - c := &ProjectsLocationsLbTrafficExtensionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - c.lbtrafficextension = lbtrafficextension - return c -} - -// RequestId sets the optional parameter "requestId": An optional request ID to -// identify requests. Specify a unique request ID so that if you must retry -// your request, the server can ignore the request if it has already been -// completed. The server guarantees that for at least 60 minutes since the -// first request. For example, consider a situation where you make an initial -// request and the request times out. If you make the request again with the -// same request ID, the server can check if original operation with the same -// request ID was received, and if so, ignores the second request. This -// prevents clients from accidentally creating duplicate commitments. The -// request ID must be a valid UUID with the exception that zero UUID is not -// supported (00000000-0000-0000-0000-000000000000). -func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) RequestId(requestId string) *ProjectsLocationsLbTrafficExtensionsPatchCall { - c.urlParams_.Set("requestId", requestId) - return c -} - -// UpdateMask sets the optional parameter "updateMask": Used to specify the -// fields to be overwritten in the `LbTrafficExtension` resource by the update. -// The fields specified in the update_mask are relative to the resource, not -// the full request. A field is overwritten if it is in the mask. If the user -// does not specify a mask, then all fields are overwritten. -func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsLbTrafficExtensionsPatchCall { - c.urlParams_.Set("updateMask", updateMask) - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more -// details. -func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTrafficExtensionsPatchCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) Context(ctx context.Context) *ProjectsLocationsLbTrafficExtensionsPatchCall { - c.ctx_ = ctx - return c -} - -// Header returns a http.Header that can be modified by the caller to add -// headers to the request. -func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.lbtrafficextension) - if err != nil { - return nil, err - } - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("PATCH", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "name": c.name, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "networkservices.projects.locations.lbTrafficExtensions.patch" call. -// Any non-2xx status code is an error. Response headers are in either -// *Operation.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, gensupport.WrapError(&googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - }) - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, gensupport.WrapError(err) - } - ret := &Operation{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - -type ProjectsLocationsMeshesCreateCall struct { - s *Service - parent string - mesh *Mesh - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} - -// Create: Creates a new Mesh in a given project and location. -// -// - parent: The parent resource of the Mesh. Must be in the format -// `projects/*/locations/global`. -func (r *ProjectsLocationsMeshesService) Create(parent string, mesh *Mesh) *ProjectsLocationsMeshesCreateCall { - c := &ProjectsLocationsMeshesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - c.mesh = mesh - return c -} - -// MeshId sets the optional parameter "meshId": Required. Short name of the -// Mesh resource to be created. -func (c *ProjectsLocationsMeshesCreateCall) MeshId(meshId string) *ProjectsLocationsMeshesCreateCall { - c.urlParams_.Set("meshId", meshId) - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more -// details. -func (c *ProjectsLocationsMeshesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesCreateCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsMeshesCreateCall) Context(ctx context.Context) *ProjectsLocationsMeshesCreateCall { - c.ctx_ = ctx - return c -} - -// Header returns a http.Header that can be modified by the caller to add -// headers to the request. -func (c *ProjectsLocationsMeshesCreateCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsMeshesCreateCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.mesh) - if err != nil { - return nil, err - } - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/meshes") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "networkservices.projects.locations.meshes.create" call. -// Any non-2xx status code is an error. Response headers are in either -// *Operation.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsMeshesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, gensupport.WrapError(&googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - }) - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, gensupport.WrapError(err) - } - ret := &Operation{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - -type ProjectsLocationsMeshesDeleteCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} - -// Delete: Deletes a single Mesh. -// -// - name: A name of the Mesh to delete. Must be in the format -// `projects/*/locations/global/meshes/*`. -func (r *ProjectsLocationsMeshesService) Delete(name string) *ProjectsLocationsMeshesDeleteCall { - c := &ProjectsLocationsMeshesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more -// details. -func (c *ProjectsLocationsMeshesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesDeleteCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsMeshesDeleteCall) Context(ctx context.Context) *ProjectsLocationsMeshesDeleteCall { - c.ctx_ = ctx - return c -} - -// Header returns a http.Header that can be modified by the caller to add -// headers to the request. -func (c *ProjectsLocationsMeshesDeleteCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsMeshesDeleteCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) - var body io.Reader = nil - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("DELETE", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "name": c.name, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "networkservices.projects.locations.meshes.delete" call. -// Any non-2xx status code is an error. Response headers are in either -// *Operation.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsMeshesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, gensupport.WrapError(&googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - }) - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, gensupport.WrapError(err) - } - ret := &Operation{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - -type ProjectsLocationsMeshesGetCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header -} - -// Get: Gets details of a single Mesh. -// -// - name: A name of the Mesh to get. Must be in the format -// `projects/*/locations/global/meshes/*`. -func (r *ProjectsLocationsMeshesService) Get(name string) *ProjectsLocationsMeshesGetCall { - c := &ProjectsLocationsMeshesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more -// details. -func (c *ProjectsLocationsMeshesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesGetCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// IfNoneMatch sets an optional parameter which makes the operation fail if the -// object's ETag matches the given value. This is useful for getting updates -// only after the object has changed since the last request. -func (c *ProjectsLocationsMeshesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsMeshesGetCall { - c.ifNoneMatch_ = entityTag - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsMeshesGetCall) Context(ctx context.Context) *ProjectsLocationsMeshesGetCall { - c.ctx_ = ctx - return c -} - -// Header returns a http.Header that can be modified by the caller to add -// headers to the request. -func (c *ProjectsLocationsMeshesGetCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsMeshesGetCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } - var body io.Reader = nil - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "name": c.name, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "networkservices.projects.locations.meshes.get" call. -// Any non-2xx status code is an error. Response headers are in either -// *Mesh.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsMeshesGetCall) Do(opts ...googleapi.CallOption) (*Mesh, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, gensupport.WrapError(&googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - }) - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, gensupport.WrapError(err) - } - ret := &Mesh{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - -type ProjectsLocationsMeshesGetIamPolicyCall struct { - s *Service - resource string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header -} - -// GetIamPolicy: Gets the access control policy for a resource. Returns an -// empty policy if the resource exists and does not have a policy set. -// -// - resource: REQUIRED: The resource for which the policy is being requested. -// See Resource names (https://cloud.google.com/apis/design/resource_names) -// for the appropriate value for this field. -func (r *ProjectsLocationsMeshesService) GetIamPolicy(resource string) *ProjectsLocationsMeshesGetIamPolicyCall { - c := &ProjectsLocationsMeshesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.resource = resource - return c -} - -// OptionsRequestedPolicyVersion sets the optional parameter -// "options.requestedPolicyVersion": The maximum policy version that will be -// used to format the policy. Valid values are 0, 1, and 3. Requests specifying -// an invalid value will be rejected. Requests for policies with any -// conditional role bindings must specify version 3. Policies with no -// conditional role bindings may specify any valid value or leave the field -// unset. The policy in the response might use the policy version that you -// specified, or it might use a lower policy version. For example, if you -// specify version 3, but the policy has no conditional role bindings, the -// response uses version 1. To learn which resources support conditions in -// their IAM policies, see the IAM documentation -// (https://cloud.google.com/iam/help/conditions/resource-policies). -func (c *ProjectsLocationsMeshesGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsMeshesGetIamPolicyCall { - c.urlParams_.Set("options.requestedPolicyVersion", fmt.Sprint(optionsRequestedPolicyVersion)) - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more -// details. -func (c *ProjectsLocationsMeshesGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesGetIamPolicyCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// IfNoneMatch sets an optional parameter which makes the operation fail if the -// object's ETag matches the given value. This is useful for getting updates -// only after the object has changed since the last request. -func (c *ProjectsLocationsMeshesGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsMeshesGetIamPolicyCall { - c.ifNoneMatch_ = entityTag - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsMeshesGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsMeshesGetIamPolicyCall { - c.ctx_ = ctx - return c -} - -// Header returns a http.Header that can be modified by the caller to add -// headers to the request. -func (c *ProjectsLocationsMeshesGetIamPolicyCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsMeshesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } - var body io.Reader = nil - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+resource}:getIamPolicy") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "resource": c.resource, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "networkservices.projects.locations.meshes.getIamPolicy" call. -// Any non-2xx status code is an error. Response headers are in either -// *Policy.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsMeshesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, gensupport.WrapError(&googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - }) - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, gensupport.WrapError(err) - } - ret := &Policy{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - -type ProjectsLocationsMeshesListCall struct { - s *Service - parent string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header -} - -// List: Lists Meshes in a given project and location. -// -// - parent: The project and location from which the Meshes should be listed, -// specified in the format `projects/*/locations/global`. -func (r *ProjectsLocationsMeshesService) List(parent string) *ProjectsLocationsMeshesListCall { - c := &ProjectsLocationsMeshesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - return c -} - -// PageSize sets the optional parameter "pageSize": Maximum number of Meshes to -// return per call. -func (c *ProjectsLocationsMeshesListCall) PageSize(pageSize int64) *ProjectsLocationsMeshesListCall { - c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) - return c -} - -// PageToken sets the optional parameter "pageToken": The value returned by the -// last `ListMeshesResponse` Indicates that this is a continuation of a prior -// `ListMeshes` call, and that the system should return the next page of data. -func (c *ProjectsLocationsMeshesListCall) PageToken(pageToken string) *ProjectsLocationsMeshesListCall { - c.urlParams_.Set("pageToken", pageToken) - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more -// details. -func (c *ProjectsLocationsMeshesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesListCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// IfNoneMatch sets an optional parameter which makes the operation fail if the -// object's ETag matches the given value. This is useful for getting updates -// only after the object has changed since the last request. -func (c *ProjectsLocationsMeshesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsMeshesListCall { - c.ifNoneMatch_ = entityTag - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsMeshesListCall) Context(ctx context.Context) *ProjectsLocationsMeshesListCall { - c.ctx_ = ctx - return c -} - -// Header returns a http.Header that can be modified by the caller to add -// headers to the request. -func (c *ProjectsLocationsMeshesListCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsMeshesListCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } - var body io.Reader = nil - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/meshes") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "networkservices.projects.locations.meshes.list" call. -// Any non-2xx status code is an error. Response headers are in either -// *ListMeshesResponse.ServerResponse.Header or (if a response was returned at -// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to -// check whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsMeshesListCall) Do(opts ...googleapi.CallOption) (*ListMeshesResponse, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, gensupport.WrapError(&googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - }) - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, gensupport.WrapError(err) - } - ret := &ListMeshesResponse{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - -// Pages invokes f for each page of results. -// A non-nil error returned from f will halt the iteration. -// The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsMeshesListCall) Pages(ctx context.Context, f func(*ListMeshesResponse) error) error { - c.ctx_ = ctx - defer c.PageToken(c.urlParams_.Get("pageToken")) - for { - x, err := c.Do() - if err != nil { - return err - } - if err := f(x); err != nil { - return err - } - if x.NextPageToken == "" { - return nil - } - c.PageToken(x.NextPageToken) - } -} - -type ProjectsLocationsMeshesPatchCall struct { - s *Service - name string - mesh *Mesh - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} - -// Patch: Updates the parameters of a single Mesh. -// -// - name: Name of the Mesh resource. It matches pattern -// `projects/*/locations/global/meshes/`. -func (r *ProjectsLocationsMeshesService) Patch(name string, mesh *Mesh) *ProjectsLocationsMeshesPatchCall { - c := &ProjectsLocationsMeshesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - c.mesh = mesh - return c -} - -// UpdateMask sets the optional parameter "updateMask": Field mask is used to -// specify the fields to be overwritten in the Mesh resource by the update. The -// fields specified in the update_mask are relative to the resource, not the -// full request. A field will be overwritten if it is in the mask. If the user -// does not provide a mask then all fields will be overwritten. -func (c *ProjectsLocationsMeshesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsMeshesPatchCall { - c.urlParams_.Set("updateMask", updateMask) - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more -// details. -func (c *ProjectsLocationsMeshesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesPatchCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsMeshesPatchCall) Context(ctx context.Context) *ProjectsLocationsMeshesPatchCall { - c.ctx_ = ctx - return c -} - -// Header returns a http.Header that can be modified by the caller to add -// headers to the request. -func (c *ProjectsLocationsMeshesPatchCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsMeshesPatchCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.mesh) - if err != nil { - return nil, err - } - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("PATCH", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "name": c.name, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "networkservices.projects.locations.meshes.patch" call. -// Any non-2xx status code is an error. Response headers are in either -// *Operation.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsMeshesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, gensupport.WrapError(&googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - }) - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, gensupport.WrapError(err) - } - ret := &Operation{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - -type ProjectsLocationsMeshesSetIamPolicyCall struct { - s *Service - resource string - setiampolicyrequest *SetIamPolicyRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +// PageSize sets the optional parameter "pageSize": Maximum number of Meshes to +// return per call. +func (c *ProjectsLocationsMeshesListCall) PageSize(pageSize int64) *ProjectsLocationsMeshesListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c } -// SetIamPolicy: Sets the access control policy on the specified resource. -// Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, -// and `PERMISSION_DENIED` errors. -// -// - resource: REQUIRED: The resource for which the policy is being specified. -// See Resource names (https://cloud.google.com/apis/design/resource_names) -// for the appropriate value for this field. -func (r *ProjectsLocationsMeshesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsMeshesSetIamPolicyCall { - c := &ProjectsLocationsMeshesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.resource = resource - c.setiampolicyrequest = setiampolicyrequest +// PageToken sets the optional parameter "pageToken": The value returned by the +// last `ListMeshesResponse` Indicates that this is a continuation of a prior +// `ListMeshes` call, and that the system should return the next page of data. +func (c *ProjectsLocationsMeshesListCall) PageToken(pageToken string) *ProjectsLocationsMeshesListCall { + c.urlParams_.Set("pageToken", pageToken) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsMeshesSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesSetIamPolicyCall { +func (c *ProjectsLocationsMeshesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets an optional parameter which makes the operation fail if the +// object's ETag matches the given value. This is useful for getting updates +// only after the object has changed since the last request. +func (c *ProjectsLocationsMeshesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsMeshesListCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsMeshesSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsMeshesSetIamPolicyCall { +func (c *ProjectsLocationsMeshesListCall) Context(ctx context.Context) *ProjectsLocationsMeshesListCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsMeshesSetIamPolicyCall) Header() http.Header { +func (c *ProjectsLocationsMeshesListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsMeshesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.setiampolicyrequest) - if err != nil { - return nil, err +func (c *ProjectsLocationsMeshesListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } + var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+resource}:setIamPolicy") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/meshes") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "resource": c.resource, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.meshes.setIamPolicy" call. +// Do executes the "networkservices.projects.locations.meshes.list" call. // Any non-2xx status code is an error. Response headers are in either -// *Policy.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsMeshesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) { +// *ListMeshesResponse.ServerResponse.Header or (if a response was returned at +// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to +// check whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsMeshesListCall) Do(opts ...googleapi.CallOption) (*ListMeshesResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -9983,7 +8936,7 @@ func (c *ProjectsLocationsMeshesSetIamPolicyCall) Do(opts ...googleapi.CallOptio if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &Policy{ + ret := &ListMeshesResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -9996,84 +8949,108 @@ func (c *ProjectsLocationsMeshesSetIamPolicyCall) Do(opts ...googleapi.CallOptio return ret, nil } -type ProjectsLocationsMeshesTestIamPermissionsCall struct { - s *Service - resource string - testiampermissionsrequest *TestIamPermissionsRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsMeshesListCall) Pages(ctx context.Context, f func(*ListMeshesResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } } -// TestIamPermissions: Returns permissions that a caller has on the specified -// resource. If the resource does not exist, this will return an empty set of -// permissions, not a `NOT_FOUND` error. Note: This operation is designed to be -// used for building permission-aware UIs and command-line tools, not for -// authorization checking. This operation may "fail open" without warning. +type ProjectsLocationsMeshesPatchCall struct { + s *Service + name string + mesh *Mesh + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Patch: Updates the parameters of a single Mesh. // -// - resource: REQUIRED: The resource for which the policy detail is being -// requested. See Resource names -// (https://cloud.google.com/apis/design/resource_names) for the appropriate -// value for this field. -func (r *ProjectsLocationsMeshesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsMeshesTestIamPermissionsCall { - c := &ProjectsLocationsMeshesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.resource = resource - c.testiampermissionsrequest = testiampermissionsrequest +// - name: Name of the Mesh resource. It matches pattern +// `projects/*/locations/global/meshes/`. +func (r *ProjectsLocationsMeshesService) Patch(name string, mesh *Mesh) *ProjectsLocationsMeshesPatchCall { + c := &ProjectsLocationsMeshesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.mesh = mesh + return c +} + +// UpdateMask sets the optional parameter "updateMask": Field mask is used to +// specify the fields to be overwritten in the Mesh resource by the update. The +// fields specified in the update_mask are relative to the resource, not the +// full request. A field will be overwritten if it is in the mask. If the user +// does not provide a mask then all fields will be overwritten. +func (c *ProjectsLocationsMeshesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsMeshesPatchCall { + c.urlParams_.Set("updateMask", updateMask) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsMeshesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesTestIamPermissionsCall { +func (c *ProjectsLocationsMeshesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsMeshesTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsMeshesTestIamPermissionsCall { +func (c *ProjectsLocationsMeshesPatchCall) Context(ctx context.Context) *ProjectsLocationsMeshesPatchCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsMeshesTestIamPermissionsCall) Header() http.Header { +func (c *ProjectsLocationsMeshesPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsMeshesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsMeshesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.testiampermissionsrequest) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.mesh) if err != nil { return nil, err } c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+resource}:testIamPermissions") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("PATCH", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "resource": c.resource, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.meshes.testIamPermissions" call. +// Do executes the "networkservices.projects.locations.meshes.patch" call. // Any non-2xx status code is an error. Response headers are in either -// *TestIamPermissionsResponse.ServerResponse.Header or (if a response was -// returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was because -// http.StatusNotModified was returned. -func (c *ProjectsLocationsMeshesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error) { +// *Operation.ServerResponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was returned. +func (c *ProjectsLocationsMeshesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -10092,7 +9069,7 @@ func (c *ProjectsLocationsMeshesTestIamPermissionsCall) Do(opts ...googleapi.Cal if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &TestIamPermissionsResponse{ + ret := &Operation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -10728,115 +9705,7 @@ func (c *ProjectsLocationsServiceBindingsDeleteCall) doRequest(alt string) (*htt c.urlParams_.Set("prettyPrint", "false") urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("DELETE", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "name": c.name, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "networkservices.projects.locations.serviceBindings.delete" call. -// Any non-2xx status code is an error. Response headers are in either -// *Operation.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsServiceBindingsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, gensupport.WrapError(&googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - }) - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, gensupport.WrapError(err) - } - ret := &Operation{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - -type ProjectsLocationsServiceBindingsGetCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header -} - -// Get: Gets details of a single ServiceBinding. -// -// - name: A name of the ServiceBinding to get. Must be in the format -// `projects/*/locations/global/serviceBindings/*`. -func (r *ProjectsLocationsServiceBindingsService) Get(name string) *ProjectsLocationsServiceBindingsGetCall { - c := &ProjectsLocationsServiceBindingsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more -// details. -func (c *ProjectsLocationsServiceBindingsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsServiceBindingsGetCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// IfNoneMatch sets an optional parameter which makes the operation fail if the -// object's ETag matches the given value. This is useful for getting updates -// only after the object has changed since the last request. -func (c *ProjectsLocationsServiceBindingsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsServiceBindingsGetCall { - c.ifNoneMatch_ = entityTag - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsServiceBindingsGetCall) Context(ctx context.Context) *ProjectsLocationsServiceBindingsGetCall { - c.ctx_ = ctx - return c -} - -// Header returns a http.Header that can be modified by the caller to add -// headers to the request. -func (c *ProjectsLocationsServiceBindingsGetCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsServiceBindingsGetCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } - var body io.Reader = nil - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("DELETE", urls, body) if err != nil { return nil, err } @@ -10847,12 +9716,12 @@ func (c *ProjectsLocationsServiceBindingsGetCall) doRequest(alt string) (*http.R return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.serviceBindings.get" call. +// Do executes the "networkservices.projects.locations.serviceBindings.delete" call. // Any non-2xx status code is an error. Response headers are in either -// *ServiceBinding.ServerResponse.Header or (if a response was returned at all) -// in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// *Operation.ServerResponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsServiceBindingsGetCall) Do(opts ...googleapi.CallOption) (*ServiceBinding, error) { +func (c *ProjectsLocationsServiceBindingsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -10871,7 +9740,7 @@ func (c *ProjectsLocationsServiceBindingsGetCall) Do(opts ...googleapi.CallOptio if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &ServiceBinding{ + ret := &Operation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -10884,48 +9753,29 @@ func (c *ProjectsLocationsServiceBindingsGetCall) Do(opts ...googleapi.CallOptio return ret, nil } -type ProjectsLocationsServiceBindingsGetIamPolicyCall struct { +type ProjectsLocationsServiceBindingsGetCall struct { s *Service - resource string + name string urlParams_ gensupport.URLParams ifNoneMatch_ string ctx_ context.Context header_ http.Header } -// GetIamPolicy: Gets the access control policy for a resource. Returns an -// empty policy if the resource exists and does not have a policy set. +// Get: Gets details of a single ServiceBinding. // -// - resource: REQUIRED: The resource for which the policy is being requested. -// See Resource names (https://cloud.google.com/apis/design/resource_names) -// for the appropriate value for this field. -func (r *ProjectsLocationsServiceBindingsService) GetIamPolicy(resource string) *ProjectsLocationsServiceBindingsGetIamPolicyCall { - c := &ProjectsLocationsServiceBindingsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.resource = resource - return c -} - -// OptionsRequestedPolicyVersion sets the optional parameter -// "options.requestedPolicyVersion": The maximum policy version that will be -// used to format the policy. Valid values are 0, 1, and 3. Requests specifying -// an invalid value will be rejected. Requests for policies with any -// conditional role bindings must specify version 3. Policies with no -// conditional role bindings may specify any valid value or leave the field -// unset. The policy in the response might use the policy version that you -// specified, or it might use a lower policy version. For example, if you -// specify version 3, but the policy has no conditional role bindings, the -// response uses version 1. To learn which resources support conditions in -// their IAM policies, see the IAM documentation -// (https://cloud.google.com/iam/help/conditions/resource-policies). -func (c *ProjectsLocationsServiceBindingsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsServiceBindingsGetIamPolicyCall { - c.urlParams_.Set("options.requestedPolicyVersion", fmt.Sprint(optionsRequestedPolicyVersion)) +// - name: A name of the ServiceBinding to get. Must be in the format +// `projects/*/locations/global/serviceBindings/*`. +func (r *ProjectsLocationsServiceBindingsService) Get(name string) *ProjectsLocationsServiceBindingsGetCall { + c := &ProjectsLocationsServiceBindingsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsServiceBindingsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsServiceBindingsGetIamPolicyCall { +func (c *ProjectsLocationsServiceBindingsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsServiceBindingsGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -10933,27 +9783,27 @@ func (c *ProjectsLocationsServiceBindingsGetIamPolicyCall) Fields(s ...googleapi // IfNoneMatch sets an optional parameter which makes the operation fail if the // object's ETag matches the given value. This is useful for getting updates // only after the object has changed since the last request. -func (c *ProjectsLocationsServiceBindingsGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsServiceBindingsGetIamPolicyCall { +func (c *ProjectsLocationsServiceBindingsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsServiceBindingsGetCall { c.ifNoneMatch_ = entityTag return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsServiceBindingsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsServiceBindingsGetIamPolicyCall { +func (c *ProjectsLocationsServiceBindingsGetCall) Context(ctx context.Context) *ProjectsLocationsServiceBindingsGetCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsServiceBindingsGetIamPolicyCall) Header() http.Header { +func (c *ProjectsLocationsServiceBindingsGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsServiceBindingsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsServiceBindingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) if c.ifNoneMatch_ != "" { reqHeaders.Set("If-None-Match", c.ifNoneMatch_) @@ -10961,7 +9811,7 @@ func (c *ProjectsLocationsServiceBindingsGetIamPolicyCall) doRequest(alt string) var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+resource}:getIamPolicy") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -10969,17 +9819,17 @@ func (c *ProjectsLocationsServiceBindingsGetIamPolicyCall) doRequest(alt string) } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "resource": c.resource, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.serviceBindings.getIamPolicy" call. +// Do executes the "networkservices.projects.locations.serviceBindings.get" call. // Any non-2xx status code is an error. Response headers are in either -// *Policy.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// *ServiceBinding.ServerResponse.Header or (if a response was returned at all) +// in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsServiceBindingsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) { +func (c *ProjectsLocationsServiceBindingsGetCall) Do(opts ...googleapi.CallOption) (*ServiceBinding, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -10998,7 +9848,7 @@ func (c *ProjectsLocationsServiceBindingsGetIamPolicyCall) Do(opts ...googleapi. if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &Policy{ + ret := &ServiceBinding{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -11157,220 +10007,6 @@ func (c *ProjectsLocationsServiceBindingsListCall) Pages(ctx context.Context, f } } -type ProjectsLocationsServiceBindingsSetIamPolicyCall struct { - s *Service - resource string - setiampolicyrequest *SetIamPolicyRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} - -// SetIamPolicy: Sets the access control policy on the specified resource. -// Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, -// and `PERMISSION_DENIED` errors. -// -// - resource: REQUIRED: The resource for which the policy is being specified. -// See Resource names (https://cloud.google.com/apis/design/resource_names) -// for the appropriate value for this field. -func (r *ProjectsLocationsServiceBindingsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsServiceBindingsSetIamPolicyCall { - c := &ProjectsLocationsServiceBindingsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.resource = resource - c.setiampolicyrequest = setiampolicyrequest - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more -// details. -func (c *ProjectsLocationsServiceBindingsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsServiceBindingsSetIamPolicyCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsServiceBindingsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsServiceBindingsSetIamPolicyCall { - c.ctx_ = ctx - return c -} - -// Header returns a http.Header that can be modified by the caller to add -// headers to the request. -func (c *ProjectsLocationsServiceBindingsSetIamPolicyCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsServiceBindingsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.setiampolicyrequest) - if err != nil { - return nil, err - } - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+resource}:setIamPolicy") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "resource": c.resource, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "networkservices.projects.locations.serviceBindings.setIamPolicy" call. -// Any non-2xx status code is an error. Response headers are in either -// *Policy.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsServiceBindingsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, gensupport.WrapError(&googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - }) - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, gensupport.WrapError(err) - } - ret := &Policy{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - -type ProjectsLocationsServiceBindingsTestIamPermissionsCall struct { - s *Service - resource string - testiampermissionsrequest *TestIamPermissionsRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} - -// TestIamPermissions: Returns permissions that a caller has on the specified -// resource. If the resource does not exist, this will return an empty set of -// permissions, not a `NOT_FOUND` error. Note: This operation is designed to be -// used for building permission-aware UIs and command-line tools, not for -// authorization checking. This operation may "fail open" without warning. -// -// - resource: REQUIRED: The resource for which the policy detail is being -// requested. See Resource names -// (https://cloud.google.com/apis/design/resource_names) for the appropriate -// value for this field. -func (r *ProjectsLocationsServiceBindingsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsServiceBindingsTestIamPermissionsCall { - c := &ProjectsLocationsServiceBindingsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.resource = resource - c.testiampermissionsrequest = testiampermissionsrequest - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more -// details. -func (c *ProjectsLocationsServiceBindingsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsServiceBindingsTestIamPermissionsCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsServiceBindingsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsServiceBindingsTestIamPermissionsCall { - c.ctx_ = ctx - return c -} - -// Header returns a http.Header that can be modified by the caller to add -// headers to the request. -func (c *ProjectsLocationsServiceBindingsTestIamPermissionsCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsServiceBindingsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.testiampermissionsrequest) - if err != nil { - return nil, err - } - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+resource}:testIamPermissions") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "resource": c.resource, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "networkservices.projects.locations.serviceBindings.testIamPermissions" call. -// Any non-2xx status code is an error. Response headers are in either -// *TestIamPermissionsResponse.ServerResponse.Header or (if a response was -// returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was because -// http.StatusNotModified was returned. -func (c *ProjectsLocationsServiceBindingsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, gensupport.WrapError(&googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - }) - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, gensupport.WrapError(err) - } - ret := &TestIamPermissionsResponse{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - type ProjectsLocationsServiceLbPoliciesCreateCall struct { s *Service parent string @@ -13331,7 +11967,7 @@ type ProjectsLocationsTlsRoutesPatchCall struct { // Patch: Updates the parameters of a single TlsRoute. // -// - name: Name of the TlsRoute resource. It matches pattern +// - name: Identifier. Name of the TlsRoute resource. It matches pattern // `projects/*/locations/global/tlsRoutes/tls_route_name>`. func (r *ProjectsLocationsTlsRoutesService) Patch(name string, tlsroute *TlsRoute) *ProjectsLocationsTlsRoutesPatchCall { c := &ProjectsLocationsTlsRoutesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} diff --git a/vendor/google.golang.org/api/networkservices/v1beta1/networkservices-api.json b/vendor/google.golang.org/api/networkservices/v1beta1/networkservices-api.json index 59baab9aac..72c250dec6 100644 --- a/vendor/google.golang.org/api/networkservices/v1beta1/networkservices-api.json +++ b/vendor/google.golang.org/api/networkservices/v1beta1/networkservices-api.json @@ -262,37 +262,6 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/endpointPolicies/{endpointPoliciesId}:getIamPolicy", - "httpMethod": "GET", - "id": "networkservices.projects.locations.endpointPolicies.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/endpointPolicies/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, "list": { "description": "Lists EndpointPolicies in a given project and location.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/endpointPolicies", @@ -362,62 +331,6 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/endpointPolicies/{endpointPoliciesId}:setIamPolicy", - "httpMethod": "POST", - "id": "networkservices.projects.locations.endpointPolicies.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/endpointPolicies/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/endpointPolicies/{endpointPoliciesId}:testIamPermissions", - "httpMethod": "POST", - "id": "networkservices.projects.locations.endpointPolicies.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/endpointPolicies/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] } } }, @@ -506,37 +419,6 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/gateways/{gatewaysId}:getIamPolicy", - "httpMethod": "GET", - "id": "networkservices.projects.locations.gateways.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/gateways/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, "list": { "description": "Lists Gateways in a given project and location.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/gateways", @@ -606,62 +488,6 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/gateways/{gatewaysId}:setIamPolicy", - "httpMethod": "POST", - "id": "networkservices.projects.locations.gateways.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/gateways/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/gateways/{gatewaysId}:testIamPermissions", - "httpMethod": "POST", - "id": "networkservices.projects.locations.gateways.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/gateways/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] } } }, @@ -1428,37 +1254,6 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/meshes/{meshesId}:getIamPolicy", - "httpMethod": "GET", - "id": "networkservices.projects.locations.meshes.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/meshes/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, "list": { "description": "Lists Meshes in a given project and location.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/meshes", @@ -1528,62 +1323,6 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/meshes/{meshesId}:setIamPolicy", - "httpMethod": "POST", - "id": "networkservices.projects.locations.meshes.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/meshes/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/meshes/{meshesId}:testIamPermissions", - "httpMethod": "POST", - "id": "networkservices.projects.locations.meshes.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/meshes/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] } } }, @@ -1795,37 +1534,6 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/serviceBindings/{serviceBindingsId}:getIamPolicy", - "httpMethod": "GET", - "id": "networkservices.projects.locations.serviceBindings.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/serviceBindings/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, "list": { "description": "Lists ServiceBinding in a given project and location.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/serviceBindings", @@ -1861,62 +1569,6 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/serviceBindings/{serviceBindingsId}:setIamPolicy", - "httpMethod": "POST", - "id": "networkservices.projects.locations.serviceBindings.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/serviceBindings/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/serviceBindings/{serviceBindingsId}:testIamPermissions", - "httpMethod": "POST", - "id": "networkservices.projects.locations.serviceBindings.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/serviceBindings/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] } } }, @@ -2452,7 +2104,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the TlsRoute resource. It matches pattern `projects/*/locations/global/tlsRoutes/tls_route_name\u003e`.", + "description": "Identifier. Name of the TlsRoute resource. It matches pattern `projects/*/locations/global/tlsRoutes/tls_route_name\u003e`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/tlsRoutes/[^/]+$", "required": true, @@ -2483,7 +2135,7 @@ } } }, - "revision": "20240613", + "revision": "20240707", "rootUrl": "https://networkservices.googleapis.com/", "schemas": { "AuditConfig": { @@ -4748,7 +4400,7 @@ "type": "array" }, "name": { - "description": "Required. Name of the TlsRoute resource. It matches pattern `projects/*/locations/global/tlsRoutes/tls_route_name\u003e`.", + "description": "Identifier. Name of the TlsRoute resource. It matches pattern `projects/*/locations/global/tlsRoutes/tls_route_name\u003e`.", "type": "string" }, "rules": { diff --git a/vendor/google.golang.org/api/networkservices/v1beta1/networkservices-gen.go b/vendor/google.golang.org/api/networkservices/v1beta1/networkservices-gen.go index 5b4aadddf5..63e8d7665d 100644 --- a/vendor/google.golang.org/api/networkservices/v1beta1/networkservices-gen.go +++ b/vendor/google.golang.org/api/networkservices/v1beta1/networkservices-gen.go @@ -355,9 +355,9 @@ type AuditConfig struct { NullFields []string `json:"-"` } -func (s *AuditConfig) MarshalJSON() ([]byte, error) { +func (s AuditConfig) MarshalJSON() ([]byte, error) { type NoMethod AuditConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // AuditLogConfig: Provides the configuration for logging a type of @@ -390,9 +390,9 @@ type AuditLogConfig struct { NullFields []string `json:"-"` } -func (s *AuditLogConfig) MarshalJSON() ([]byte, error) { +func (s AuditLogConfig) MarshalJSON() ([]byte, error) { type NoMethod AuditLogConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Binding: Associates `members`, or principals, with a `role`. @@ -489,9 +489,9 @@ type Binding struct { NullFields []string `json:"-"` } -func (s *Binding) MarshalJSON() ([]byte, error) { +func (s Binding) MarshalJSON() ([]byte, error) { type NoMethod Binding - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // CancelOperationRequest: The request message for Operations.CancelOperation. @@ -526,9 +526,9 @@ type EndpointMatcher struct { NullFields []string `json:"-"` } -func (s *EndpointMatcher) MarshalJSON() ([]byte, error) { +func (s EndpointMatcher) MarshalJSON() ([]byte, error) { type NoMethod EndpointMatcher - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // EndpointPolicy: EndpointPolicy is a resource that helps apply desired @@ -599,9 +599,9 @@ type EndpointPolicy struct { NullFields []string `json:"-"` } -func (s *EndpointPolicy) MarshalJSON() ([]byte, error) { +func (s EndpointPolicy) MarshalJSON() ([]byte, error) { type NoMethod EndpointPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Expr: Represents a textual expression in the Common Expression Language @@ -647,9 +647,9 @@ type Expr struct { NullFields []string `json:"-"` } -func (s *Expr) MarshalJSON() ([]byte, error) { +func (s Expr) MarshalJSON() ([]byte, error) { type NoMethod Expr - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ExtensionChain: A single extension chain wrapper that contains the match @@ -682,9 +682,9 @@ type ExtensionChain struct { NullFields []string `json:"-"` } -func (s *ExtensionChain) MarshalJSON() ([]byte, error) { +func (s ExtensionChain) MarshalJSON() ([]byte, error) { type NoMethod ExtensionChain - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ExtensionChainExtension: A single extension in the chain to execute for the @@ -762,9 +762,9 @@ type ExtensionChainExtension struct { NullFields []string `json:"-"` } -func (s *ExtensionChainExtension) MarshalJSON() ([]byte, error) { +func (s ExtensionChainExtension) MarshalJSON() ([]byte, error) { type NoMethod ExtensionChainExtension - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ExtensionChainMatchCondition: Conditions under which this chain is invoked @@ -788,9 +788,9 @@ type ExtensionChainMatchCondition struct { NullFields []string `json:"-"` } -func (s *ExtensionChainMatchCondition) MarshalJSON() ([]byte, error) { +func (s ExtensionChainMatchCondition) MarshalJSON() ([]byte, error) { type NoMethod ExtensionChainMatchCondition - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Gateway: Gateway represents the configuration for a proxy, typically a load @@ -904,9 +904,9 @@ type Gateway struct { NullFields []string `json:"-"` } -func (s *Gateway) MarshalJSON() ([]byte, error) { +func (s Gateway) MarshalJSON() ([]byte, error) { type NoMethod Gateway - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GrpcRoute: GrpcRoute is the resource defining how gRPC traffic routed by a @@ -977,9 +977,9 @@ type GrpcRoute struct { NullFields []string `json:"-"` } -func (s *GrpcRoute) MarshalJSON() ([]byte, error) { +func (s GrpcRoute) MarshalJSON() ([]byte, error) { type NoMethod GrpcRoute - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GrpcRouteDestination: The destination to which traffic will be routed. @@ -1010,9 +1010,9 @@ type GrpcRouteDestination struct { NullFields []string `json:"-"` } -func (s *GrpcRouteDestination) MarshalJSON() ([]byte, error) { +func (s GrpcRouteDestination) MarshalJSON() ([]byte, error) { type NoMethod GrpcRouteDestination - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GrpcRouteFaultInjectionPolicy: The specification for fault injection @@ -1039,9 +1039,9 @@ type GrpcRouteFaultInjectionPolicy struct { NullFields []string `json:"-"` } -func (s *GrpcRouteFaultInjectionPolicy) MarshalJSON() ([]byte, error) { +func (s GrpcRouteFaultInjectionPolicy) MarshalJSON() ([]byte, error) { type NoMethod GrpcRouteFaultInjectionPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GrpcRouteFaultInjectionPolicyAbort: Specification of how client requests are @@ -1066,9 +1066,9 @@ type GrpcRouteFaultInjectionPolicyAbort struct { NullFields []string `json:"-"` } -func (s *GrpcRouteFaultInjectionPolicyAbort) MarshalJSON() ([]byte, error) { +func (s GrpcRouteFaultInjectionPolicyAbort) MarshalJSON() ([]byte, error) { type NoMethod GrpcRouteFaultInjectionPolicyAbort - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GrpcRouteFaultInjectionPolicyDelay: Specification of how client requests are @@ -1092,9 +1092,9 @@ type GrpcRouteFaultInjectionPolicyDelay struct { NullFields []string `json:"-"` } -func (s *GrpcRouteFaultInjectionPolicyDelay) MarshalJSON() ([]byte, error) { +func (s GrpcRouteFaultInjectionPolicyDelay) MarshalJSON() ([]byte, error) { type NoMethod GrpcRouteFaultInjectionPolicyDelay - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GrpcRouteHeaderMatch: A match against a collection of headers. @@ -1125,9 +1125,9 @@ type GrpcRouteHeaderMatch struct { NullFields []string `json:"-"` } -func (s *GrpcRouteHeaderMatch) MarshalJSON() ([]byte, error) { +func (s GrpcRouteHeaderMatch) MarshalJSON() ([]byte, error) { type NoMethod GrpcRouteHeaderMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GrpcRouteMethodMatch: Specifies a match against a method. @@ -1164,9 +1164,9 @@ type GrpcRouteMethodMatch struct { NullFields []string `json:"-"` } -func (s *GrpcRouteMethodMatch) MarshalJSON() ([]byte, error) { +func (s GrpcRouteMethodMatch) MarshalJSON() ([]byte, error) { type NoMethod GrpcRouteMethodMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GrpcRouteRetryPolicy: The specifications for retries. @@ -1198,9 +1198,9 @@ type GrpcRouteRetryPolicy struct { NullFields []string `json:"-"` } -func (s *GrpcRouteRetryPolicy) MarshalJSON() ([]byte, error) { +func (s GrpcRouteRetryPolicy) MarshalJSON() ([]byte, error) { type NoMethod GrpcRouteRetryPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GrpcRouteRouteAction: Specifies how to route matched traffic. @@ -1248,9 +1248,9 @@ type GrpcRouteRouteAction struct { NullFields []string `json:"-"` } -func (s *GrpcRouteRouteAction) MarshalJSON() ([]byte, error) { +func (s GrpcRouteRouteAction) MarshalJSON() ([]byte, error) { type NoMethod GrpcRouteRouteAction - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GrpcRouteRouteMatch: Criteria for matching traffic. A RouteMatch will be @@ -1274,9 +1274,9 @@ type GrpcRouteRouteMatch struct { NullFields []string `json:"-"` } -func (s *GrpcRouteRouteMatch) MarshalJSON() ([]byte, error) { +func (s GrpcRouteRouteMatch) MarshalJSON() ([]byte, error) { type NoMethod GrpcRouteRouteMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GrpcRouteRouteRule: Describes how to route traffic. @@ -1302,9 +1302,9 @@ type GrpcRouteRouteRule struct { NullFields []string `json:"-"` } -func (s *GrpcRouteRouteRule) MarshalJSON() ([]byte, error) { +func (s GrpcRouteRouteRule) MarshalJSON() ([]byte, error) { type NoMethod GrpcRouteRouteRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GrpcRouteStatefulSessionAffinityPolicy: The specification for cookie-based @@ -1333,9 +1333,9 @@ type GrpcRouteStatefulSessionAffinityPolicy struct { NullFields []string `json:"-"` } -func (s *GrpcRouteStatefulSessionAffinityPolicy) MarshalJSON() ([]byte, error) { +func (s GrpcRouteStatefulSessionAffinityPolicy) MarshalJSON() ([]byte, error) { type NoMethod GrpcRouteStatefulSessionAffinityPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRoute: HttpRoute is the resource defining how HTTP traffic should be @@ -1403,9 +1403,9 @@ type HttpRoute struct { NullFields []string `json:"-"` } -func (s *HttpRoute) MarshalJSON() ([]byte, error) { +func (s HttpRoute) MarshalJSON() ([]byte, error) { type NoMethod HttpRoute - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteCorsPolicy: The Specification for allowing client side cross-origin @@ -1450,9 +1450,9 @@ type HttpRouteCorsPolicy struct { NullFields []string `json:"-"` } -func (s *HttpRouteCorsPolicy) MarshalJSON() ([]byte, error) { +func (s HttpRouteCorsPolicy) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteCorsPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteDestination: Specifications of a destination to which the request @@ -1495,9 +1495,9 @@ type HttpRouteDestination struct { NullFields []string `json:"-"` } -func (s *HttpRouteDestination) MarshalJSON() ([]byte, error) { +func (s HttpRouteDestination) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteDestination - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteFaultInjectionPolicy: The specification for fault injection @@ -1524,9 +1524,9 @@ type HttpRouteFaultInjectionPolicy struct { NullFields []string `json:"-"` } -func (s *HttpRouteFaultInjectionPolicy) MarshalJSON() ([]byte, error) { +func (s HttpRouteFaultInjectionPolicy) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteFaultInjectionPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteFaultInjectionPolicyAbort: Specification of how client requests are @@ -1551,9 +1551,9 @@ type HttpRouteFaultInjectionPolicyAbort struct { NullFields []string `json:"-"` } -func (s *HttpRouteFaultInjectionPolicyAbort) MarshalJSON() ([]byte, error) { +func (s HttpRouteFaultInjectionPolicyAbort) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteFaultInjectionPolicyAbort - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteFaultInjectionPolicyDelay: Specification of how client requests are @@ -1577,9 +1577,9 @@ type HttpRouteFaultInjectionPolicyDelay struct { NullFields []string `json:"-"` } -func (s *HttpRouteFaultInjectionPolicyDelay) MarshalJSON() ([]byte, error) { +func (s HttpRouteFaultInjectionPolicyDelay) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteFaultInjectionPolicyDelay - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteHeaderMatch: Specifies how to select a route rule based on HTTP @@ -1622,9 +1622,9 @@ type HttpRouteHeaderMatch struct { NullFields []string `json:"-"` } -func (s *HttpRouteHeaderMatch) MarshalJSON() ([]byte, error) { +func (s HttpRouteHeaderMatch) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteHeaderMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteHeaderMatchIntegerRange: Represents an integer value range. @@ -1646,9 +1646,9 @@ type HttpRouteHeaderMatchIntegerRange struct { NullFields []string `json:"-"` } -func (s *HttpRouteHeaderMatchIntegerRange) MarshalJSON() ([]byte, error) { +func (s HttpRouteHeaderMatchIntegerRange) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteHeaderMatchIntegerRange - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteHeaderModifier: The specification for modifying HTTP header in HTTP @@ -1675,9 +1675,9 @@ type HttpRouteHeaderModifier struct { NullFields []string `json:"-"` } -func (s *HttpRouteHeaderModifier) MarshalJSON() ([]byte, error) { +func (s HttpRouteHeaderModifier) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteHeaderModifier - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteHttpDirectResponse: Static HTTP response object to be returned. @@ -1703,9 +1703,9 @@ type HttpRouteHttpDirectResponse struct { NullFields []string `json:"-"` } -func (s *HttpRouteHttpDirectResponse) MarshalJSON() ([]byte, error) { +func (s HttpRouteHttpDirectResponse) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteHttpDirectResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteQueryParameterMatch: Specifications to match a query parameter in @@ -1739,9 +1739,9 @@ type HttpRouteQueryParameterMatch struct { NullFields []string `json:"-"` } -func (s *HttpRouteQueryParameterMatch) MarshalJSON() ([]byte, error) { +func (s HttpRouteQueryParameterMatch) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteQueryParameterMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteRedirect: The specification for redirecting traffic. @@ -1794,9 +1794,9 @@ type HttpRouteRedirect struct { NullFields []string `json:"-"` } -func (s *HttpRouteRedirect) MarshalJSON() ([]byte, error) { +func (s HttpRouteRedirect) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteRedirect - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteRequestMirrorPolicy: Specifies the policy on how requests are @@ -1823,9 +1823,9 @@ type HttpRouteRequestMirrorPolicy struct { NullFields []string `json:"-"` } -func (s *HttpRouteRequestMirrorPolicy) MarshalJSON() ([]byte, error) { +func (s HttpRouteRequestMirrorPolicy) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteRequestMirrorPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } func (s *HttpRouteRequestMirrorPolicy) UnmarshalJSON(data []byte) error { @@ -1876,9 +1876,9 @@ type HttpRouteRetryPolicy struct { NullFields []string `json:"-"` } -func (s *HttpRouteRetryPolicy) MarshalJSON() ([]byte, error) { +func (s HttpRouteRetryPolicy) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteRetryPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteRouteAction: The specifications for routing traffic and applying @@ -1950,9 +1950,9 @@ type HttpRouteRouteAction struct { NullFields []string `json:"-"` } -func (s *HttpRouteRouteAction) MarshalJSON() ([]byte, error) { +func (s HttpRouteRouteAction) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteRouteAction - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteRouteMatch: RouteMatch defines specifications used to match @@ -1994,9 +1994,9 @@ type HttpRouteRouteMatch struct { NullFields []string `json:"-"` } -func (s *HttpRouteRouteMatch) MarshalJSON() ([]byte, error) { +func (s HttpRouteRouteMatch) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteRouteMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteRouteRule: Specifies how to match traffic and how to route traffic @@ -2024,9 +2024,9 @@ type HttpRouteRouteRule struct { NullFields []string `json:"-"` } -func (s *HttpRouteRouteRule) MarshalJSON() ([]byte, error) { +func (s HttpRouteRouteRule) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteRouteRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteStatefulSessionAffinityPolicy: The specification for cookie-based @@ -2055,9 +2055,9 @@ type HttpRouteStatefulSessionAffinityPolicy struct { NullFields []string `json:"-"` } -func (s *HttpRouteStatefulSessionAffinityPolicy) MarshalJSON() ([]byte, error) { +func (s HttpRouteStatefulSessionAffinityPolicy) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteStatefulSessionAffinityPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // HttpRouteURLRewrite: The specification for modifying the URL of the request, @@ -2083,9 +2083,9 @@ type HttpRouteURLRewrite struct { NullFields []string `json:"-"` } -func (s *HttpRouteURLRewrite) MarshalJSON() ([]byte, error) { +func (s HttpRouteURLRewrite) MarshalJSON() ([]byte, error) { type NoMethod HttpRouteURLRewrite - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LbRouteExtension: `LbRouteExtension` is a resource that lets you control @@ -2156,9 +2156,9 @@ type LbRouteExtension struct { NullFields []string `json:"-"` } -func (s *LbRouteExtension) MarshalJSON() ([]byte, error) { +func (s LbRouteExtension) MarshalJSON() ([]byte, error) { type NoMethod LbRouteExtension - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // LbTrafficExtension: `LbTrafficExtension` is a resource that lets the @@ -2229,9 +2229,9 @@ type LbTrafficExtension struct { NullFields []string `json:"-"` } -func (s *LbTrafficExtension) MarshalJSON() ([]byte, error) { +func (s LbTrafficExtension) MarshalJSON() ([]byte, error) { type NoMethod LbTrafficExtension - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListEndpointPoliciesResponse: Response returned by the ListEndpointPolicies @@ -2260,9 +2260,9 @@ type ListEndpointPoliciesResponse struct { NullFields []string `json:"-"` } -func (s *ListEndpointPoliciesResponse) MarshalJSON() ([]byte, error) { +func (s ListEndpointPoliciesResponse) MarshalJSON() ([]byte, error) { type NoMethod ListEndpointPoliciesResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListGatewaysResponse: Response returned by the ListGateways method. @@ -2292,9 +2292,9 @@ type ListGatewaysResponse struct { NullFields []string `json:"-"` } -func (s *ListGatewaysResponse) MarshalJSON() ([]byte, error) { +func (s ListGatewaysResponse) MarshalJSON() ([]byte, error) { type NoMethod ListGatewaysResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListGrpcRoutesResponse: Response returned by the ListGrpcRoutes method. @@ -2322,9 +2322,9 @@ type ListGrpcRoutesResponse struct { NullFields []string `json:"-"` } -func (s *ListGrpcRoutesResponse) MarshalJSON() ([]byte, error) { +func (s ListGrpcRoutesResponse) MarshalJSON() ([]byte, error) { type NoMethod ListGrpcRoutesResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListHttpRoutesResponse: Response returned by the ListHttpRoutes method. @@ -2352,9 +2352,9 @@ type ListHttpRoutesResponse struct { NullFields []string `json:"-"` } -func (s *ListHttpRoutesResponse) MarshalJSON() ([]byte, error) { +func (s ListHttpRoutesResponse) MarshalJSON() ([]byte, error) { type NoMethod ListHttpRoutesResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListLbRouteExtensionsResponse: Message for response to listing @@ -2383,9 +2383,9 @@ type ListLbRouteExtensionsResponse struct { NullFields []string `json:"-"` } -func (s *ListLbRouteExtensionsResponse) MarshalJSON() ([]byte, error) { +func (s ListLbRouteExtensionsResponse) MarshalJSON() ([]byte, error) { type NoMethod ListLbRouteExtensionsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListLbTrafficExtensionsResponse: Message for response to listing @@ -2414,9 +2414,9 @@ type ListLbTrafficExtensionsResponse struct { NullFields []string `json:"-"` } -func (s *ListLbTrafficExtensionsResponse) MarshalJSON() ([]byte, error) { +func (s ListLbTrafficExtensionsResponse) MarshalJSON() ([]byte, error) { type NoMethod ListLbTrafficExtensionsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListLocationsResponse: The response message for Locations.ListLocations. @@ -2442,9 +2442,9 @@ type ListLocationsResponse struct { NullFields []string `json:"-"` } -func (s *ListLocationsResponse) MarshalJSON() ([]byte, error) { +func (s ListLocationsResponse) MarshalJSON() ([]byte, error) { type NoMethod ListLocationsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListMeshesResponse: Response returned by the ListMeshes method. @@ -2472,9 +2472,9 @@ type ListMeshesResponse struct { NullFields []string `json:"-"` } -func (s *ListMeshesResponse) MarshalJSON() ([]byte, error) { +func (s ListMeshesResponse) MarshalJSON() ([]byte, error) { type NoMethod ListMeshesResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListOperationsResponse: The response message for Operations.ListOperations. @@ -2500,9 +2500,9 @@ type ListOperationsResponse struct { NullFields []string `json:"-"` } -func (s *ListOperationsResponse) MarshalJSON() ([]byte, error) { +func (s ListOperationsResponse) MarshalJSON() ([]byte, error) { type NoMethod ListOperationsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListServiceBindingsResponse: Response returned by the ListServiceBindings @@ -2531,9 +2531,9 @@ type ListServiceBindingsResponse struct { NullFields []string `json:"-"` } -func (s *ListServiceBindingsResponse) MarshalJSON() ([]byte, error) { +func (s ListServiceBindingsResponse) MarshalJSON() ([]byte, error) { type NoMethod ListServiceBindingsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListServiceLbPoliciesResponse: Response returned by the @@ -2562,9 +2562,9 @@ type ListServiceLbPoliciesResponse struct { NullFields []string `json:"-"` } -func (s *ListServiceLbPoliciesResponse) MarshalJSON() ([]byte, error) { +func (s ListServiceLbPoliciesResponse) MarshalJSON() ([]byte, error) { type NoMethod ListServiceLbPoliciesResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListTcpRoutesResponse: Response returned by the ListTcpRoutes method. @@ -2592,9 +2592,9 @@ type ListTcpRoutesResponse struct { NullFields []string `json:"-"` } -func (s *ListTcpRoutesResponse) MarshalJSON() ([]byte, error) { +func (s ListTcpRoutesResponse) MarshalJSON() ([]byte, error) { type NoMethod ListTcpRoutesResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListTlsRoutesResponse: Response returned by the ListTlsRoutes method. @@ -2622,9 +2622,9 @@ type ListTlsRoutesResponse struct { NullFields []string `json:"-"` } -func (s *ListTlsRoutesResponse) MarshalJSON() ([]byte, error) { +func (s ListTlsRoutesResponse) MarshalJSON() ([]byte, error) { type NoMethod ListTlsRoutesResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Location: A resource that represents a Google Cloud location. @@ -2660,9 +2660,9 @@ type Location struct { NullFields []string `json:"-"` } -func (s *Location) MarshalJSON() ([]byte, error) { +func (s Location) MarshalJSON() ([]byte, error) { type NoMethod Location - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Mesh: Mesh represents a logical configuration grouping for workload to @@ -2718,9 +2718,9 @@ type Mesh struct { NullFields []string `json:"-"` } -func (s *Mesh) MarshalJSON() ([]byte, error) { +func (s Mesh) MarshalJSON() ([]byte, error) { type NoMethod Mesh - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MetadataLabelMatcher: The matcher that is based on node metadata presented @@ -2765,9 +2765,9 @@ type MetadataLabelMatcher struct { NullFields []string `json:"-"` } -func (s *MetadataLabelMatcher) MarshalJSON() ([]byte, error) { +func (s MetadataLabelMatcher) MarshalJSON() ([]byte, error) { type NoMethod MetadataLabelMatcher - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // MetadataLabels: Defines a name-pair value for a single label. @@ -2790,9 +2790,9 @@ type MetadataLabels struct { NullFields []string `json:"-"` } -func (s *MetadataLabels) MarshalJSON() ([]byte, error) { +func (s MetadataLabels) MarshalJSON() ([]byte, error) { type NoMethod MetadataLabels - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Operation: This resource represents a long-running operation that is the @@ -2837,9 +2837,9 @@ type Operation struct { NullFields []string `json:"-"` } -func (s *Operation) MarshalJSON() ([]byte, error) { +func (s Operation) MarshalJSON() ([]byte, error) { type NoMethod Operation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // OperationMetadata: Represents the metadata of the long-running operation. @@ -2875,9 +2875,9 @@ type OperationMetadata struct { NullFields []string `json:"-"` } -func (s *OperationMetadata) MarshalJSON() ([]byte, error) { +func (s OperationMetadata) MarshalJSON() ([]byte, error) { type NoMethod OperationMetadata - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Policy: An Identity and Access Management (IAM) policy, which specifies @@ -2967,9 +2967,9 @@ type Policy struct { NullFields []string `json:"-"` } -func (s *Policy) MarshalJSON() ([]byte, error) { +func (s Policy) MarshalJSON() ([]byte, error) { type NoMethod Policy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceBinding: ServiceBinding is the resource that defines a Service @@ -3012,9 +3012,9 @@ type ServiceBinding struct { NullFields []string `json:"-"` } -func (s *ServiceBinding) MarshalJSON() ([]byte, error) { +func (s ServiceBinding) MarshalJSON() ([]byte, error) { type NoMethod ServiceBinding - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceLbPolicy: ServiceLbPolicy holds global load balancing and traffic @@ -3073,9 +3073,9 @@ type ServiceLbPolicy struct { NullFields []string `json:"-"` } -func (s *ServiceLbPolicy) MarshalJSON() ([]byte, error) { +func (s ServiceLbPolicy) MarshalJSON() ([]byte, error) { type NoMethod ServiceLbPolicy - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceLbPolicyAutoCapacityDrain: Option to specify if an unhealthy IG/NEG @@ -3100,9 +3100,9 @@ type ServiceLbPolicyAutoCapacityDrain struct { NullFields []string `json:"-"` } -func (s *ServiceLbPolicyAutoCapacityDrain) MarshalJSON() ([]byte, error) { +func (s ServiceLbPolicyAutoCapacityDrain) MarshalJSON() ([]byte, error) { type NoMethod ServiceLbPolicyAutoCapacityDrain - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ServiceLbPolicyFailoverConfig: Option to specify health based failover @@ -3128,9 +3128,9 @@ type ServiceLbPolicyFailoverConfig struct { NullFields []string `json:"-"` } -func (s *ServiceLbPolicyFailoverConfig) MarshalJSON() ([]byte, error) { +func (s ServiceLbPolicyFailoverConfig) MarshalJSON() ([]byte, error) { type NoMethod ServiceLbPolicyFailoverConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SetIamPolicyRequest: Request message for `SetIamPolicy` method. @@ -3157,9 +3157,9 @@ type SetIamPolicyRequest struct { NullFields []string `json:"-"` } -func (s *SetIamPolicyRequest) MarshalJSON() ([]byte, error) { +func (s SetIamPolicyRequest) MarshalJSON() ([]byte, error) { type NoMethod SetIamPolicyRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Status: The `Status` type defines a logical error model that is suitable for @@ -3191,9 +3191,9 @@ type Status struct { NullFields []string `json:"-"` } -func (s *Status) MarshalJSON() ([]byte, error) { +func (s Status) MarshalJSON() ([]byte, error) { type NoMethod Status - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TcpRoute: TcpRoute is the resource defining how TCP traffic should be routed @@ -3244,9 +3244,9 @@ type TcpRoute struct { NullFields []string `json:"-"` } -func (s *TcpRoute) MarshalJSON() ([]byte, error) { +func (s TcpRoute) MarshalJSON() ([]byte, error) { type NoMethod TcpRoute - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TcpRouteRouteAction: The specifications for routing traffic and applying @@ -3280,9 +3280,9 @@ type TcpRouteRouteAction struct { NullFields []string `json:"-"` } -func (s *TcpRouteRouteAction) MarshalJSON() ([]byte, error) { +func (s TcpRouteRouteAction) MarshalJSON() ([]byte, error) { type NoMethod TcpRouteRouteAction - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TcpRouteRouteDestination: Describe the destination for traffic to be routed @@ -3313,9 +3313,9 @@ type TcpRouteRouteDestination struct { NullFields []string `json:"-"` } -func (s *TcpRouteRouteDestination) MarshalJSON() ([]byte, error) { +func (s TcpRouteRouteDestination) MarshalJSON() ([]byte, error) { type NoMethod TcpRouteRouteDestination - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TcpRouteRouteMatch: RouteMatch defines the predicate used to match requests @@ -3345,9 +3345,9 @@ type TcpRouteRouteMatch struct { NullFields []string `json:"-"` } -func (s *TcpRouteRouteMatch) MarshalJSON() ([]byte, error) { +func (s TcpRouteRouteMatch) MarshalJSON() ([]byte, error) { type NoMethod TcpRouteRouteMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TcpRouteRouteRule: Specifies how to match traffic and how to route traffic @@ -3372,9 +3372,9 @@ type TcpRouteRouteRule struct { NullFields []string `json:"-"` } -func (s *TcpRouteRouteRule) MarshalJSON() ([]byte, error) { +func (s TcpRouteRouteRule) MarshalJSON() ([]byte, error) { type NoMethod TcpRouteRouteRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TestIamPermissionsRequest: Request message for `TestIamPermissions` method. @@ -3397,9 +3397,9 @@ type TestIamPermissionsRequest struct { NullFields []string `json:"-"` } -func (s *TestIamPermissionsRequest) MarshalJSON() ([]byte, error) { +func (s TestIamPermissionsRequest) MarshalJSON() ([]byte, error) { type NoMethod TestIamPermissionsRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TestIamPermissionsResponse: Response message for `TestIamPermissions` @@ -3424,9 +3424,9 @@ type TestIamPermissionsResponse struct { NullFields []string `json:"-"` } -func (s *TestIamPermissionsResponse) MarshalJSON() ([]byte, error) { +func (s TestIamPermissionsResponse) MarshalJSON() ([]byte, error) { type NoMethod TestIamPermissionsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TlsRoute: TlsRoute defines how traffic should be routed based on SNI and @@ -3450,7 +3450,7 @@ type TlsRoute struct { // `projects/*/locations/global/meshes/` The attached Mesh should be of a type // SIDECAR Meshes []string `json:"meshes,omitempty"` - // Name: Required. Name of the TlsRoute resource. It matches pattern + // Name: Identifier. Name of the TlsRoute resource. It matches pattern // `projects/*/locations/global/tlsRoutes/tls_route_name>`. Name string `json:"name,omitempty"` // Rules: Required. Rules that define how traffic is routed and handled. At @@ -3477,9 +3477,9 @@ type TlsRoute struct { NullFields []string `json:"-"` } -func (s *TlsRoute) MarshalJSON() ([]byte, error) { +func (s TlsRoute) MarshalJSON() ([]byte, error) { type NoMethod TlsRoute - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TlsRouteRouteAction: The specifications for routing traffic and applying @@ -3506,9 +3506,9 @@ type TlsRouteRouteAction struct { NullFields []string `json:"-"` } -func (s *TlsRouteRouteAction) MarshalJSON() ([]byte, error) { +func (s TlsRouteRouteAction) MarshalJSON() ([]byte, error) { type NoMethod TlsRouteRouteAction - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TlsRouteRouteDestination: Describe the destination for traffic to be routed @@ -3534,9 +3534,9 @@ type TlsRouteRouteDestination struct { NullFields []string `json:"-"` } -func (s *TlsRouteRouteDestination) MarshalJSON() ([]byte, error) { +func (s TlsRouteRouteDestination) MarshalJSON() ([]byte, error) { type NoMethod TlsRouteRouteDestination - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TlsRouteRouteMatch: RouteMatch defines the predicate used to match requests @@ -3567,9 +3567,9 @@ type TlsRouteRouteMatch struct { NullFields []string `json:"-"` } -func (s *TlsRouteRouteMatch) MarshalJSON() ([]byte, error) { +func (s TlsRouteRouteMatch) MarshalJSON() ([]byte, error) { type NoMethod TlsRouteRouteMatch - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TlsRouteRouteRule: Specifies how to match traffic and how to route traffic @@ -3593,9 +3593,9 @@ type TlsRouteRouteRule struct { NullFields []string `json:"-"` } -func (s *TlsRouteRouteRule) MarshalJSON() ([]byte, error) { +func (s TlsRouteRouteRule) MarshalJSON() ([]byte, error) { type NoMethod TlsRouteRouteRule - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TrafficPortSelector: Specification of a port-based selector. @@ -3618,9 +3618,9 @@ type TrafficPortSelector struct { NullFields []string `json:"-"` } -func (s *TrafficPortSelector) MarshalJSON() ([]byte, error) { +func (s TrafficPortSelector) MarshalJSON() ([]byte, error) { type NoMethod TrafficPortSelector - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ProjectsLocationsGetCall struct { @@ -4196,133 +4196,6 @@ func (c *ProjectsLocationsEndpointPoliciesGetCall) Do(opts ...googleapi.CallOpti return ret, nil } -type ProjectsLocationsEndpointPoliciesGetIamPolicyCall struct { - s *Service - resource string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header -} - -// GetIamPolicy: Gets the access control policy for a resource. Returns an -// empty policy if the resource exists and does not have a policy set. -// -// - resource: REQUIRED: The resource for which the policy is being requested. -// See Resource names (https://cloud.google.com/apis/design/resource_names) -// for the appropriate value for this field. -func (r *ProjectsLocationsEndpointPoliciesService) GetIamPolicy(resource string) *ProjectsLocationsEndpointPoliciesGetIamPolicyCall { - c := &ProjectsLocationsEndpointPoliciesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.resource = resource - return c -} - -// OptionsRequestedPolicyVersion sets the optional parameter -// "options.requestedPolicyVersion": The maximum policy version that will be -// used to format the policy. Valid values are 0, 1, and 3. Requests specifying -// an invalid value will be rejected. Requests for policies with any -// conditional role bindings must specify version 3. Policies with no -// conditional role bindings may specify any valid value or leave the field -// unset. The policy in the response might use the policy version that you -// specified, or it might use a lower policy version. For example, if you -// specify version 3, but the policy has no conditional role bindings, the -// response uses version 1. To learn which resources support conditions in -// their IAM policies, see the IAM documentation -// (https://cloud.google.com/iam/help/conditions/resource-policies). -func (c *ProjectsLocationsEndpointPoliciesGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsEndpointPoliciesGetIamPolicyCall { - c.urlParams_.Set("options.requestedPolicyVersion", fmt.Sprint(optionsRequestedPolicyVersion)) - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more -// details. -func (c *ProjectsLocationsEndpointPoliciesGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointPoliciesGetIamPolicyCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// IfNoneMatch sets an optional parameter which makes the operation fail if the -// object's ETag matches the given value. This is useful for getting updates -// only after the object has changed since the last request. -func (c *ProjectsLocationsEndpointPoliciesGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsEndpointPoliciesGetIamPolicyCall { - c.ifNoneMatch_ = entityTag - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsEndpointPoliciesGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsEndpointPoliciesGetIamPolicyCall { - c.ctx_ = ctx - return c -} - -// Header returns a http.Header that can be modified by the caller to add -// headers to the request. -func (c *ProjectsLocationsEndpointPoliciesGetIamPolicyCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsEndpointPoliciesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } - var body io.Reader = nil - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+resource}:getIamPolicy") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "resource": c.resource, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "networkservices.projects.locations.endpointPolicies.getIamPolicy" call. -// Any non-2xx status code is an error. Response headers are in either -// *Policy.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsEndpointPoliciesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, gensupport.WrapError(&googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - }) - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, gensupport.WrapError(err) - } - ret := &Policy{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - type ProjectsLocationsEndpointPoliciesListCall struct { s *Service parent string @@ -4582,62 +4455,66 @@ func (c *ProjectsLocationsEndpointPoliciesPatchCall) Do(opts ...googleapi.CallOp return ret, nil } -type ProjectsLocationsEndpointPoliciesSetIamPolicyCall struct { - s *Service - resource string - setiampolicyrequest *SetIamPolicyRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsGatewaysCreateCall struct { + s *Service + parent string + gateway *Gateway + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// SetIamPolicy: Sets the access control policy on the specified resource. -// Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, -// and `PERMISSION_DENIED` errors. +// Create: Creates a new Gateway in a given project and location. // -// - resource: REQUIRED: The resource for which the policy is being specified. -// See Resource names (https://cloud.google.com/apis/design/resource_names) -// for the appropriate value for this field. -func (r *ProjectsLocationsEndpointPoliciesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsEndpointPoliciesSetIamPolicyCall { - c := &ProjectsLocationsEndpointPoliciesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.resource = resource - c.setiampolicyrequest = setiampolicyrequest +// - parent: The parent resource of the Gateway. Must be in the format +// `projects/*/locations/*`. +func (r *ProjectsLocationsGatewaysService) Create(parent string, gateway *Gateway) *ProjectsLocationsGatewaysCreateCall { + c := &ProjectsLocationsGatewaysCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.gateway = gateway + return c +} + +// GatewayId sets the optional parameter "gatewayId": Required. Short name of +// the Gateway resource to be created. +func (c *ProjectsLocationsGatewaysCreateCall) GatewayId(gatewayId string) *ProjectsLocationsGatewaysCreateCall { + c.urlParams_.Set("gatewayId", gatewayId) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsEndpointPoliciesSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointPoliciesSetIamPolicyCall { +func (c *ProjectsLocationsGatewaysCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsEndpointPoliciesSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsEndpointPoliciesSetIamPolicyCall { +func (c *ProjectsLocationsGatewaysCreateCall) Context(ctx context.Context) *ProjectsLocationsGatewaysCreateCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsEndpointPoliciesSetIamPolicyCall) Header() http.Header { +func (c *ProjectsLocationsGatewaysCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsEndpointPoliciesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsGatewaysCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.setiampolicyrequest) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.gateway) if err != nil { return nil, err } c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+resource}:setIamPolicy") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/gateways") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -4645,17 +4522,17 @@ func (c *ProjectsLocationsEndpointPoliciesSetIamPolicyCall) doRequest(alt string } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "resource": c.resource, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.endpointPolicies.setIamPolicy" call. +// Do executes the "networkservices.projects.locations.gateways.create" call. // Any non-2xx status code is an error. Response headers are in either -// *Policy.ServerResponse.Header or (if a response was returned at all) in +// *Operation.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsEndpointPoliciesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) { +func (c *ProjectsLocationsGatewaysCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -4674,7 +4551,7 @@ func (c *ProjectsLocationsEndpointPoliciesSetIamPolicyCall) Do(opts ...googleapi if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &Policy{ + ret := &Operation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -4687,84 +4564,71 @@ func (c *ProjectsLocationsEndpointPoliciesSetIamPolicyCall) Do(opts ...googleapi return ret, nil } -type ProjectsLocationsEndpointPoliciesTestIamPermissionsCall struct { - s *Service - resource string - testiampermissionsrequest *TestIamPermissionsRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsGatewaysDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// TestIamPermissions: Returns permissions that a caller has on the specified -// resource. If the resource does not exist, this will return an empty set of -// permissions, not a `NOT_FOUND` error. Note: This operation is designed to be -// used for building permission-aware UIs and command-line tools, not for -// authorization checking. This operation may "fail open" without warning. +// Delete: Deletes a single Gateway. // -// - resource: REQUIRED: The resource for which the policy detail is being -// requested. See Resource names -// (https://cloud.google.com/apis/design/resource_names) for the appropriate -// value for this field. -func (r *ProjectsLocationsEndpointPoliciesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsEndpointPoliciesTestIamPermissionsCall { - c := &ProjectsLocationsEndpointPoliciesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.resource = resource - c.testiampermissionsrequest = testiampermissionsrequest +// - name: A name of the Gateway to delete. Must be in the format +// `projects/*/locations/*/gateways/*`. +func (r *ProjectsLocationsGatewaysService) Delete(name string) *ProjectsLocationsGatewaysDeleteCall { + c := &ProjectsLocationsGatewaysDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsEndpointPoliciesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointPoliciesTestIamPermissionsCall { +func (c *ProjectsLocationsGatewaysDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsEndpointPoliciesTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsEndpointPoliciesTestIamPermissionsCall { +func (c *ProjectsLocationsGatewaysDeleteCall) Context(ctx context.Context) *ProjectsLocationsGatewaysDeleteCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsEndpointPoliciesTestIamPermissionsCall) Header() http.Header { +func (c *ProjectsLocationsGatewaysDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsEndpointPoliciesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) +func (c *ProjectsLocationsGatewaysDeleteCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.testiampermissionsrequest) - if err != nil { - return nil, err - } c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+resource}:testIamPermissions") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("DELETE", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "resource": c.resource, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.endpointPolicies.testIamPermissions" call. +// Do executes the "networkservices.projects.locations.gateways.delete" call. // Any non-2xx status code is an error. Response headers are in either -// *TestIamPermissionsResponse.ServerResponse.Header or (if a response was -// returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was because -// http.StatusNotModified was returned. -func (c *ProjectsLocationsEndpointPoliciesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error) { +// *Operation.ServerResponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was returned. +func (c *ProjectsLocationsGatewaysDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -4783,7 +4647,7 @@ func (c *ProjectsLocationsEndpointPoliciesTestIamPermissionsCall) Do(opts ...goo if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &TestIamPermissionsResponse{ + ret := &Operation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -4796,84 +4660,83 @@ func (c *ProjectsLocationsEndpointPoliciesTestIamPermissionsCall) Do(opts ...goo return ret, nil } -type ProjectsLocationsGatewaysCreateCall struct { - s *Service - parent string - gateway *Gateway - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsGatewaysGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// Create: Creates a new Gateway in a given project and location. +// Get: Gets details of a single Gateway. // -// - parent: The parent resource of the Gateway. Must be in the format -// `projects/*/locations/*`. -func (r *ProjectsLocationsGatewaysService) Create(parent string, gateway *Gateway) *ProjectsLocationsGatewaysCreateCall { - c := &ProjectsLocationsGatewaysCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - c.gateway = gateway - return c -} - -// GatewayId sets the optional parameter "gatewayId": Required. Short name of -// the Gateway resource to be created. -func (c *ProjectsLocationsGatewaysCreateCall) GatewayId(gatewayId string) *ProjectsLocationsGatewaysCreateCall { - c.urlParams_.Set("gatewayId", gatewayId) +// - name: A name of the Gateway to get. Must be in the format +// `projects/*/locations/*/gateways/*`. +func (r *ProjectsLocationsGatewaysService) Get(name string) *ProjectsLocationsGatewaysGetCall { + c := &ProjectsLocationsGatewaysGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsGatewaysCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysCreateCall { +func (c *ProjectsLocationsGatewaysGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets an optional parameter which makes the operation fail if the +// object's ETag matches the given value. This is useful for getting updates +// only after the object has changed since the last request. +func (c *ProjectsLocationsGatewaysGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGatewaysGetCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsGatewaysCreateCall) Context(ctx context.Context) *ProjectsLocationsGatewaysCreateCall { +func (c *ProjectsLocationsGatewaysGetCall) Context(ctx context.Context) *ProjectsLocationsGatewaysGetCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsGatewaysCreateCall) Header() http.Header { +func (c *ProjectsLocationsGatewaysGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGatewaysCreateCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.gateway) - if err != nil { - return nil, err +func (c *ProjectsLocationsGatewaysGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } + var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/gateways") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.gateways.create" call. +// Do executes the "networkservices.projects.locations.gateways.get" call. // Any non-2xx status code is an error. Response headers are in either -// *Operation.ServerResponse.Header or (if a response was returned at all) in +// *Gateway.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsGatewaysCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *ProjectsLocationsGatewaysGetCall) Do(opts ...googleapi.CallOption) (*Gateway, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -4892,7 +4755,7 @@ func (c *ProjectsLocationsGatewaysCreateCall) Do(opts ...googleapi.CallOption) ( if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &Operation{ + ret := &Gateway{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -4905,71 +4768,100 @@ func (c *ProjectsLocationsGatewaysCreateCall) Do(opts ...googleapi.CallOption) ( return ret, nil } -type ProjectsLocationsGatewaysDeleteCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsGatewaysListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// Delete: Deletes a single Gateway. +// List: Lists Gateways in a given project and location. // -// - name: A name of the Gateway to delete. Must be in the format -// `projects/*/locations/*/gateways/*`. -func (r *ProjectsLocationsGatewaysService) Delete(name string) *ProjectsLocationsGatewaysDeleteCall { - c := &ProjectsLocationsGatewaysDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name +// - parent: The project and location from which the Gateways should be listed, +// specified in the format `projects/*/locations/*`. +func (r *ProjectsLocationsGatewaysService) List(parent string) *ProjectsLocationsGatewaysListCall { + c := &ProjectsLocationsGatewaysListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// PageSize sets the optional parameter "pageSize": Maximum number of Gateways +// to return per call. +func (c *ProjectsLocationsGatewaysListCall) PageSize(pageSize int64) *ProjectsLocationsGatewaysListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The value returned by the +// last `ListGatewaysResponse` Indicates that this is a continuation of a prior +// `ListGateways` call, and that the system should return the next page of +// data. +func (c *ProjectsLocationsGatewaysListCall) PageToken(pageToken string) *ProjectsLocationsGatewaysListCall { + c.urlParams_.Set("pageToken", pageToken) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsGatewaysDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysDeleteCall { +func (c *ProjectsLocationsGatewaysListCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets an optional parameter which makes the operation fail if the +// object's ETag matches the given value. This is useful for getting updates +// only after the object has changed since the last request. +func (c *ProjectsLocationsGatewaysListCall) IfNoneMatch(entityTag string) *ProjectsLocationsGatewaysListCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsGatewaysDeleteCall) Context(ctx context.Context) *ProjectsLocationsGatewaysDeleteCall { +func (c *ProjectsLocationsGatewaysListCall) Context(ctx context.Context) *ProjectsLocationsGatewaysListCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsGatewaysDeleteCall) Header() http.Header { +func (c *ProjectsLocationsGatewaysListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGatewaysDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsGatewaysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/gateways") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("DELETE", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.gateways.delete" call. +// Do executes the "networkservices.projects.locations.gateways.list" call. // Any non-2xx status code is an error. Response headers are in either -// *Operation.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsGatewaysDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +// *ListGatewaysResponse.ServerResponse.Header or (if a response was returned +// at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to +// check whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsGatewaysListCall) Do(opts ...googleapi.CallOption) (*ListGatewaysResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -4988,7 +4880,7 @@ func (c *ProjectsLocationsGatewaysDeleteCall) Do(opts ...googleapi.CallOption) ( if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &Operation{ + ret := &ListGatewaysResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -5001,67 +4893,92 @@ func (c *ProjectsLocationsGatewaysDeleteCall) Do(opts ...googleapi.CallOption) ( return ret, nil } -type ProjectsLocationsGatewaysGetCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsGatewaysListCall) Pages(ctx context.Context, f func(*ListGatewaysResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } } -// Get: Gets details of a single Gateway. +type ProjectsLocationsGatewaysPatchCall struct { + s *Service + name string + gateway *Gateway + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Patch: Updates the parameters of a single Gateway. // -// - name: A name of the Gateway to get. Must be in the format -// `projects/*/locations/*/gateways/*`. -func (r *ProjectsLocationsGatewaysService) Get(name string) *ProjectsLocationsGatewaysGetCall { - c := &ProjectsLocationsGatewaysGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - name: Name of the Gateway resource. It matches pattern +// `projects/*/locations/*/gateways/`. +func (r *ProjectsLocationsGatewaysService) Patch(name string, gateway *Gateway) *ProjectsLocationsGatewaysPatchCall { + c := &ProjectsLocationsGatewaysPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name + c.gateway = gateway + return c +} + +// UpdateMask sets the optional parameter "updateMask": Field mask is used to +// specify the fields to be overwritten in the Gateway resource by the update. +// The fields specified in the update_mask are relative to the resource, not +// the full request. A field will be overwritten if it is in the mask. If the +// user does not provide a mask then all fields will be overwritten. +func (c *ProjectsLocationsGatewaysPatchCall) UpdateMask(updateMask string) *ProjectsLocationsGatewaysPatchCall { + c.urlParams_.Set("updateMask", updateMask) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsGatewaysGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysGetCall { +func (c *ProjectsLocationsGatewaysPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets an optional parameter which makes the operation fail if the -// object's ETag matches the given value. This is useful for getting updates -// only after the object has changed since the last request. -func (c *ProjectsLocationsGatewaysGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGatewaysGetCall { - c.ifNoneMatch_ = entityTag - return c -} - // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsGatewaysGetCall) Context(ctx context.Context) *ProjectsLocationsGatewaysGetCall { +func (c *ProjectsLocationsGatewaysPatchCall) Context(ctx context.Context) *ProjectsLocationsGatewaysPatchCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsGatewaysGetCall) Header() http.Header { +func (c *ProjectsLocationsGatewaysPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGatewaysGetCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } +func (c *ProjectsLocationsGatewaysPatchCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.gateway) + if err != nil { + return nil, err + } c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("PATCH", urls, body) if err != nil { return nil, err } @@ -5072,12 +4989,12 @@ func (c *ProjectsLocationsGatewaysGetCall) doRequest(alt string) (*http.Response return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.gateways.get" call. +// Do executes the "networkservices.projects.locations.gateways.patch" call. // Any non-2xx status code is an error. Response headers are in either -// *Gateway.ServerResponse.Header or (if a response was returned at all) in +// *Operation.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsGatewaysGetCall) Do(opts ...googleapi.CallOption) (*Gateway, error) { +func (c *ProjectsLocationsGatewaysPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -5096,7 +5013,7 @@ func (c *ProjectsLocationsGatewaysGetCall) Do(opts ...googleapi.CallOption) (*Ga if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &Gateway{ + ret := &Operation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -5109,102 +5026,84 @@ func (c *ProjectsLocationsGatewaysGetCall) Do(opts ...googleapi.CallOption) (*Ga return ret, nil } -type ProjectsLocationsGatewaysGetIamPolicyCall struct { - s *Service - resource string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header +type ProjectsLocationsGrpcRoutesCreateCall struct { + s *Service + parent string + grpcroute *GrpcRoute + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// GetIamPolicy: Gets the access control policy for a resource. Returns an -// empty policy if the resource exists and does not have a policy set. +// Create: Creates a new GrpcRoute in a given project and location. // -// - resource: REQUIRED: The resource for which the policy is being requested. -// See Resource names (https://cloud.google.com/apis/design/resource_names) -// for the appropriate value for this field. -func (r *ProjectsLocationsGatewaysService) GetIamPolicy(resource string) *ProjectsLocationsGatewaysGetIamPolicyCall { - c := &ProjectsLocationsGatewaysGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.resource = resource +// - parent: The parent resource of the GrpcRoute. Must be in the format +// `projects/*/locations/global`. +func (r *ProjectsLocationsGrpcRoutesService) Create(parent string, grpcroute *GrpcRoute) *ProjectsLocationsGrpcRoutesCreateCall { + c := &ProjectsLocationsGrpcRoutesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.grpcroute = grpcroute return c } -// OptionsRequestedPolicyVersion sets the optional parameter -// "options.requestedPolicyVersion": The maximum policy version that will be -// used to format the policy. Valid values are 0, 1, and 3. Requests specifying -// an invalid value will be rejected. Requests for policies with any -// conditional role bindings must specify version 3. Policies with no -// conditional role bindings may specify any valid value or leave the field -// unset. The policy in the response might use the policy version that you -// specified, or it might use a lower policy version. For example, if you -// specify version 3, but the policy has no conditional role bindings, the -// response uses version 1. To learn which resources support conditions in -// their IAM policies, see the IAM documentation -// (https://cloud.google.com/iam/help/conditions/resource-policies). -func (c *ProjectsLocationsGatewaysGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsGatewaysGetIamPolicyCall { - c.urlParams_.Set("options.requestedPolicyVersion", fmt.Sprint(optionsRequestedPolicyVersion)) +// GrpcRouteId sets the optional parameter "grpcRouteId": Required. Short name +// of the GrpcRoute resource to be created. +func (c *ProjectsLocationsGrpcRoutesCreateCall) GrpcRouteId(grpcRouteId string) *ProjectsLocationsGrpcRoutesCreateCall { + c.urlParams_.Set("grpcRouteId", grpcRouteId) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsGatewaysGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysGetIamPolicyCall { +func (c *ProjectsLocationsGrpcRoutesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsGrpcRoutesCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets an optional parameter which makes the operation fail if the -// object's ETag matches the given value. This is useful for getting updates -// only after the object has changed since the last request. -func (c *ProjectsLocationsGatewaysGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsGatewaysGetIamPolicyCall { - c.ifNoneMatch_ = entityTag - return c -} - // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsGatewaysGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsGatewaysGetIamPolicyCall { +func (c *ProjectsLocationsGrpcRoutesCreateCall) Context(ctx context.Context) *ProjectsLocationsGrpcRoutesCreateCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsGatewaysGetIamPolicyCall) Header() http.Header { +func (c *ProjectsLocationsGrpcRoutesCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGatewaysGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } +func (c *ProjectsLocationsGrpcRoutesCreateCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.grpcroute) + if err != nil { + return nil, err + } c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+resource}:getIamPolicy") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/grpcRoutes") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "resource": c.resource, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.gateways.getIamPolicy" call. +// Do executes the "networkservices.projects.locations.grpcRoutes.create" call. // Any non-2xx status code is an error. Response headers are in either -// *Policy.ServerResponse.Header or (if a response was returned at all) in +// *Operation.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsGatewaysGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) { +func (c *ProjectsLocationsGrpcRoutesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -5223,7 +5122,7 @@ func (c *ProjectsLocationsGatewaysGetIamPolicyCall) Do(opts ...googleapi.CallOpt if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &Policy{ + ret := &Operation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -5236,100 +5135,71 @@ func (c *ProjectsLocationsGatewaysGetIamPolicyCall) Do(opts ...googleapi.CallOpt return ret, nil } -type ProjectsLocationsGatewaysListCall struct { - s *Service - parent string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header +type ProjectsLocationsGrpcRoutesDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// List: Lists Gateways in a given project and location. +// Delete: Deletes a single GrpcRoute. // -// - parent: The project and location from which the Gateways should be listed, -// specified in the format `projects/*/locations/*`. -func (r *ProjectsLocationsGatewaysService) List(parent string) *ProjectsLocationsGatewaysListCall { - c := &ProjectsLocationsGatewaysListCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - return c -} - -// PageSize sets the optional parameter "pageSize": Maximum number of Gateways -// to return per call. -func (c *ProjectsLocationsGatewaysListCall) PageSize(pageSize int64) *ProjectsLocationsGatewaysListCall { - c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) - return c -} - -// PageToken sets the optional parameter "pageToken": The value returned by the -// last `ListGatewaysResponse` Indicates that this is a continuation of a prior -// `ListGateways` call, and that the system should return the next page of -// data. -func (c *ProjectsLocationsGatewaysListCall) PageToken(pageToken string) *ProjectsLocationsGatewaysListCall { - c.urlParams_.Set("pageToken", pageToken) +// - name: A name of the GrpcRoute to delete. Must be in the format +// `projects/*/locations/global/grpcRoutes/*`. +func (r *ProjectsLocationsGrpcRoutesService) Delete(name string) *ProjectsLocationsGrpcRoutesDeleteCall { + c := &ProjectsLocationsGrpcRoutesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsGatewaysListCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysListCall { +func (c *ProjectsLocationsGrpcRoutesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsGrpcRoutesDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets an optional parameter which makes the operation fail if the -// object's ETag matches the given value. This is useful for getting updates -// only after the object has changed since the last request. -func (c *ProjectsLocationsGatewaysListCall) IfNoneMatch(entityTag string) *ProjectsLocationsGatewaysListCall { - c.ifNoneMatch_ = entityTag - return c -} - // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsGatewaysListCall) Context(ctx context.Context) *ProjectsLocationsGatewaysListCall { +func (c *ProjectsLocationsGrpcRoutesDeleteCall) Context(ctx context.Context) *ProjectsLocationsGrpcRoutesDeleteCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsGatewaysListCall) Header() http.Header { +func (c *ProjectsLocationsGrpcRoutesDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGatewaysListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsGrpcRoutesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/gateways") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("DELETE", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.gateways.list" call. +// Do executes the "networkservices.projects.locations.grpcRoutes.delete" call. // Any non-2xx status code is an error. Response headers are in either -// *ListGatewaysResponse.ServerResponse.Header or (if a response was returned -// at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to -// check whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsGatewaysListCall) Do(opts ...googleapi.CallOption) (*ListGatewaysResponse, error) { +// *Operation.ServerResponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was returned. +func (c *ProjectsLocationsGrpcRoutesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -5348,7 +5218,7 @@ func (c *ProjectsLocationsGatewaysListCall) Do(opts ...googleapi.CallOption) (*L if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &ListGatewaysResponse{ + ret := &Operation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -5361,92 +5231,67 @@ func (c *ProjectsLocationsGatewaysListCall) Do(opts ...googleapi.CallOption) (*L return ret, nil } -// Pages invokes f for each page of results. -// A non-nil error returned from f will halt the iteration. -// The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsGatewaysListCall) Pages(ctx context.Context, f func(*ListGatewaysResponse) error) error { - c.ctx_ = ctx - defer c.PageToken(c.urlParams_.Get("pageToken")) - for { - x, err := c.Do() - if err != nil { - return err - } - if err := f(x); err != nil { - return err - } - if x.NextPageToken == "" { - return nil - } - c.PageToken(x.NextPageToken) - } -} - -type ProjectsLocationsGatewaysPatchCall struct { - s *Service - name string - gateway *Gateway - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsGrpcRoutesGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// Patch: Updates the parameters of a single Gateway. +// Get: Gets details of a single GrpcRoute. // -// - name: Name of the Gateway resource. It matches pattern -// `projects/*/locations/*/gateways/`. -func (r *ProjectsLocationsGatewaysService) Patch(name string, gateway *Gateway) *ProjectsLocationsGatewaysPatchCall { - c := &ProjectsLocationsGatewaysPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - name: A name of the GrpcRoute to get. Must be in the format +// `projects/*/locations/global/grpcRoutes/*`. +func (r *ProjectsLocationsGrpcRoutesService) Get(name string) *ProjectsLocationsGrpcRoutesGetCall { + c := &ProjectsLocationsGrpcRoutesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name - c.gateway = gateway - return c -} - -// UpdateMask sets the optional parameter "updateMask": Field mask is used to -// specify the fields to be overwritten in the Gateway resource by the update. -// The fields specified in the update_mask are relative to the resource, not -// the full request. A field will be overwritten if it is in the mask. If the -// user does not provide a mask then all fields will be overwritten. -func (c *ProjectsLocationsGatewaysPatchCall) UpdateMask(updateMask string) *ProjectsLocationsGatewaysPatchCall { - c.urlParams_.Set("updateMask", updateMask) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsGatewaysPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysPatchCall { +func (c *ProjectsLocationsGrpcRoutesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGrpcRoutesGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets an optional parameter which makes the operation fail if the +// object's ETag matches the given value. This is useful for getting updates +// only after the object has changed since the last request. +func (c *ProjectsLocationsGrpcRoutesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGrpcRoutesGetCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsGatewaysPatchCall) Context(ctx context.Context) *ProjectsLocationsGatewaysPatchCall { +func (c *ProjectsLocationsGrpcRoutesGetCall) Context(ctx context.Context) *ProjectsLocationsGrpcRoutesGetCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsGatewaysPatchCall) Header() http.Header { +func (c *ProjectsLocationsGrpcRoutesGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGatewaysPatchCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.gateway) - if err != nil { - return nil, err +func (c *ProjectsLocationsGrpcRoutesGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } + var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("PATCH", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } @@ -5457,12 +5302,12 @@ func (c *ProjectsLocationsGatewaysPatchCall) doRequest(alt string) (*http.Respon return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.gateways.patch" call. +// Do executes the "networkservices.projects.locations.grpcRoutes.get" call. // Any non-2xx status code is an error. Response headers are in either -// *Operation.ServerResponse.Header or (if a response was returned at all) in +// *GrpcRoute.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsGatewaysPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *ProjectsLocationsGrpcRoutesGetCall) Do(opts ...googleapi.CallOption) (*GrpcRoute, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -5481,7 +5326,7 @@ func (c *ProjectsLocationsGatewaysPatchCall) Do(opts ...googleapi.CallOption) (* if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &Operation{ + ret := &GrpcRoute{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -5494,80 +5339,100 @@ func (c *ProjectsLocationsGatewaysPatchCall) Do(opts ...googleapi.CallOption) (* return ret, nil } -type ProjectsLocationsGatewaysSetIamPolicyCall struct { - s *Service - resource string - setiampolicyrequest *SetIamPolicyRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsGrpcRoutesListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// SetIamPolicy: Sets the access control policy on the specified resource. -// Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, -// and `PERMISSION_DENIED` errors. +// List: Lists GrpcRoutes in a given project and location. // -// - resource: REQUIRED: The resource for which the policy is being specified. -// See Resource names (https://cloud.google.com/apis/design/resource_names) -// for the appropriate value for this field. -func (r *ProjectsLocationsGatewaysService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsGatewaysSetIamPolicyCall { - c := &ProjectsLocationsGatewaysSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.resource = resource - c.setiampolicyrequest = setiampolicyrequest +// - parent: The project and location from which the GrpcRoutes should be +// listed, specified in the format `projects/*/locations/global`. +func (r *ProjectsLocationsGrpcRoutesService) List(parent string) *ProjectsLocationsGrpcRoutesListCall { + c := &ProjectsLocationsGrpcRoutesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// PageSize sets the optional parameter "pageSize": Maximum number of +// GrpcRoutes to return per call. +func (c *ProjectsLocationsGrpcRoutesListCall) PageSize(pageSize int64) *ProjectsLocationsGrpcRoutesListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The value returned by the +// last `ListGrpcRoutesResponse` Indicates that this is a continuation of a +// prior `ListGrpcRoutes` call, and that the system should return the next page +// of data. +func (c *ProjectsLocationsGrpcRoutesListCall) PageToken(pageToken string) *ProjectsLocationsGrpcRoutesListCall { + c.urlParams_.Set("pageToken", pageToken) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsGatewaysSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysSetIamPolicyCall { +func (c *ProjectsLocationsGrpcRoutesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsGrpcRoutesListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets an optional parameter which makes the operation fail if the +// object's ETag matches the given value. This is useful for getting updates +// only after the object has changed since the last request. +func (c *ProjectsLocationsGrpcRoutesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsGrpcRoutesListCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsGatewaysSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsGatewaysSetIamPolicyCall { +func (c *ProjectsLocationsGrpcRoutesListCall) Context(ctx context.Context) *ProjectsLocationsGrpcRoutesListCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsGatewaysSetIamPolicyCall) Header() http.Header { +func (c *ProjectsLocationsGrpcRoutesListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGatewaysSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.setiampolicyrequest) - if err != nil { - return nil, err +func (c *ProjectsLocationsGrpcRoutesListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } + var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+resource}:setIamPolicy") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/grpcRoutes") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "resource": c.resource, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.gateways.setIamPolicy" call. +// Do executes the "networkservices.projects.locations.grpcRoutes.list" call. // Any non-2xx status code is an error. Response headers are in either -// *Policy.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsGatewaysSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) { +// *ListGrpcRoutesResponse.ServerResponse.Header or (if a response was returned +// at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to +// check whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsGrpcRoutesListCall) Do(opts ...googleapi.CallOption) (*ListGrpcRoutesResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -5586,7 +5451,7 @@ func (c *ProjectsLocationsGatewaysSetIamPolicyCall) Do(opts ...googleapi.CallOpt if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &Policy{ + ret := &ListGrpcRoutesResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -5599,84 +5464,109 @@ func (c *ProjectsLocationsGatewaysSetIamPolicyCall) Do(opts ...googleapi.CallOpt return ret, nil } -type ProjectsLocationsGatewaysTestIamPermissionsCall struct { - s *Service - resource string - testiampermissionsrequest *TestIamPermissionsRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsGrpcRoutesListCall) Pages(ctx context.Context, f func(*ListGrpcRoutesResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } } -// TestIamPermissions: Returns permissions that a caller has on the specified -// resource. If the resource does not exist, this will return an empty set of -// permissions, not a `NOT_FOUND` error. Note: This operation is designed to be -// used for building permission-aware UIs and command-line tools, not for -// authorization checking. This operation may "fail open" without warning. +type ProjectsLocationsGrpcRoutesPatchCall struct { + s *Service + name string + grpcroute *GrpcRoute + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Patch: Updates the parameters of a single GrpcRoute. // -// - resource: REQUIRED: The resource for which the policy detail is being -// requested. See Resource names -// (https://cloud.google.com/apis/design/resource_names) for the appropriate -// value for this field. -func (r *ProjectsLocationsGatewaysService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsGatewaysTestIamPermissionsCall { - c := &ProjectsLocationsGatewaysTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.resource = resource - c.testiampermissionsrequest = testiampermissionsrequest +// - name: Name of the GrpcRoute resource. It matches pattern +// `projects/*/locations/global/grpcRoutes/`. +func (r *ProjectsLocationsGrpcRoutesService) Patch(name string, grpcroute *GrpcRoute) *ProjectsLocationsGrpcRoutesPatchCall { + c := &ProjectsLocationsGrpcRoutesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.grpcroute = grpcroute + return c +} + +// UpdateMask sets the optional parameter "updateMask": Field mask is used to +// specify the fields to be overwritten in the GrpcRoute resource by the +// update. The fields specified in the update_mask are relative to the +// resource, not the full request. A field will be overwritten if it is in the +// mask. If the user does not provide a mask then all fields will be +// overwritten. +func (c *ProjectsLocationsGrpcRoutesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsGrpcRoutesPatchCall { + c.urlParams_.Set("updateMask", updateMask) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsGatewaysTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysTestIamPermissionsCall { +func (c *ProjectsLocationsGrpcRoutesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsGrpcRoutesPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsGatewaysTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsGatewaysTestIamPermissionsCall { +func (c *ProjectsLocationsGrpcRoutesPatchCall) Context(ctx context.Context) *ProjectsLocationsGrpcRoutesPatchCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsGatewaysTestIamPermissionsCall) Header() http.Header { +func (c *ProjectsLocationsGrpcRoutesPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGatewaysTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsGrpcRoutesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.testiampermissionsrequest) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.grpcroute) if err != nil { return nil, err } c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+resource}:testIamPermissions") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("PATCH", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "resource": c.resource, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.gateways.testIamPermissions" call. +// Do executes the "networkservices.projects.locations.grpcRoutes.patch" call. // Any non-2xx status code is an error. Response headers are in either -// *TestIamPermissionsResponse.ServerResponse.Header or (if a response was -// returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was because -// http.StatusNotModified was returned. -func (c *ProjectsLocationsGatewaysTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error) { +// *Operation.ServerResponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was returned. +func (c *ProjectsLocationsGrpcRoutesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -5695,7 +5585,7 @@ func (c *ProjectsLocationsGatewaysTestIamPermissionsCall) Do(opts ...googleapi.C if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &TestIamPermissionsResponse{ + ret := &Operation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -5708,66 +5598,66 @@ func (c *ProjectsLocationsGatewaysTestIamPermissionsCall) Do(opts ...googleapi.C return ret, nil } -type ProjectsLocationsGrpcRoutesCreateCall struct { +type ProjectsLocationsHttpRoutesCreateCall struct { s *Service parent string - grpcroute *GrpcRoute + httproute *HttpRoute urlParams_ gensupport.URLParams ctx_ context.Context header_ http.Header } -// Create: Creates a new GrpcRoute in a given project and location. +// Create: Creates a new HttpRoute in a given project and location. // -// - parent: The parent resource of the GrpcRoute. Must be in the format +// - parent: The parent resource of the HttpRoute. Must be in the format // `projects/*/locations/global`. -func (r *ProjectsLocationsGrpcRoutesService) Create(parent string, grpcroute *GrpcRoute) *ProjectsLocationsGrpcRoutesCreateCall { - c := &ProjectsLocationsGrpcRoutesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} +func (r *ProjectsLocationsHttpRoutesService) Create(parent string, httproute *HttpRoute) *ProjectsLocationsHttpRoutesCreateCall { + c := &ProjectsLocationsHttpRoutesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent - c.grpcroute = grpcroute + c.httproute = httproute return c } -// GrpcRouteId sets the optional parameter "grpcRouteId": Required. Short name -// of the GrpcRoute resource to be created. -func (c *ProjectsLocationsGrpcRoutesCreateCall) GrpcRouteId(grpcRouteId string) *ProjectsLocationsGrpcRoutesCreateCall { - c.urlParams_.Set("grpcRouteId", grpcRouteId) +// HttpRouteId sets the optional parameter "httpRouteId": Required. Short name +// of the HttpRoute resource to be created. +func (c *ProjectsLocationsHttpRoutesCreateCall) HttpRouteId(httpRouteId string) *ProjectsLocationsHttpRoutesCreateCall { + c.urlParams_.Set("httpRouteId", httpRouteId) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsGrpcRoutesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsGrpcRoutesCreateCall { +func (c *ProjectsLocationsHttpRoutesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsHttpRoutesCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsGrpcRoutesCreateCall) Context(ctx context.Context) *ProjectsLocationsGrpcRoutesCreateCall { +func (c *ProjectsLocationsHttpRoutesCreateCall) Context(ctx context.Context) *ProjectsLocationsHttpRoutesCreateCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsGrpcRoutesCreateCall) Header() http.Header { +func (c *ProjectsLocationsHttpRoutesCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGrpcRoutesCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsHttpRoutesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.grpcroute) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.httproute) if err != nil { return nil, err } c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/grpcRoutes") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/httpRoutes") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -5780,12 +5670,12 @@ func (c *ProjectsLocationsGrpcRoutesCreateCall) doRequest(alt string) (*http.Res return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.grpcRoutes.create" call. +// Do executes the "networkservices.projects.locations.httpRoutes.create" call. // Any non-2xx status code is an error. Response headers are in either // *Operation.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsGrpcRoutesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *ProjectsLocationsHttpRoutesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -5817,7 +5707,7 @@ func (c *ProjectsLocationsGrpcRoutesCreateCall) Do(opts ...googleapi.CallOption) return ret, nil } -type ProjectsLocationsGrpcRoutesDeleteCall struct { +type ProjectsLocationsHttpRoutesDeleteCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -5825,12 +5715,12 @@ type ProjectsLocationsGrpcRoutesDeleteCall struct { header_ http.Header } -// Delete: Deletes a single GrpcRoute. +// Delete: Deletes a single HttpRoute. // -// - name: A name of the GrpcRoute to delete. Must be in the format -// `projects/*/locations/global/grpcRoutes/*`. -func (r *ProjectsLocationsGrpcRoutesService) Delete(name string) *ProjectsLocationsGrpcRoutesDeleteCall { - c := &ProjectsLocationsGrpcRoutesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - name: A name of the HttpRoute to delete. Must be in the format +// `projects/*/locations/global/httpRoutes/*`. +func (r *ProjectsLocationsHttpRoutesService) Delete(name string) *ProjectsLocationsHttpRoutesDeleteCall { + c := &ProjectsLocationsHttpRoutesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } @@ -5838,27 +5728,27 @@ func (r *ProjectsLocationsGrpcRoutesService) Delete(name string) *ProjectsLocati // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsGrpcRoutesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsGrpcRoutesDeleteCall { +func (c *ProjectsLocationsHttpRoutesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsHttpRoutesDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsGrpcRoutesDeleteCall) Context(ctx context.Context) *ProjectsLocationsGrpcRoutesDeleteCall { +func (c *ProjectsLocationsHttpRoutesDeleteCall) Context(ctx context.Context) *ProjectsLocationsHttpRoutesDeleteCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsGrpcRoutesDeleteCall) Header() http.Header { +func (c *ProjectsLocationsHttpRoutesDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGrpcRoutesDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsHttpRoutesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) var body io.Reader = nil c.urlParams_.Set("alt", alt) @@ -5876,12 +5766,12 @@ func (c *ProjectsLocationsGrpcRoutesDeleteCall) doRequest(alt string) (*http.Res return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.grpcRoutes.delete" call. +// Do executes the "networkservices.projects.locations.httpRoutes.delete" call. // Any non-2xx status code is an error. Response headers are in either // *Operation.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsGrpcRoutesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *ProjectsLocationsHttpRoutesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -5913,7 +5803,7 @@ func (c *ProjectsLocationsGrpcRoutesDeleteCall) Do(opts ...googleapi.CallOption) return ret, nil } -type ProjectsLocationsGrpcRoutesGetCall struct { +type ProjectsLocationsHttpRoutesGetCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -5922,12 +5812,12 @@ type ProjectsLocationsGrpcRoutesGetCall struct { header_ http.Header } -// Get: Gets details of a single GrpcRoute. +// Get: Gets details of a single HttpRoute. // -// - name: A name of the GrpcRoute to get. Must be in the format -// `projects/*/locations/global/grpcRoutes/*`. -func (r *ProjectsLocationsGrpcRoutesService) Get(name string) *ProjectsLocationsGrpcRoutesGetCall { - c := &ProjectsLocationsGrpcRoutesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - name: A name of the HttpRoute to get. Must be in the format +// `projects/*/locations/global/httpRoutes/*`. +func (r *ProjectsLocationsHttpRoutesService) Get(name string) *ProjectsLocationsHttpRoutesGetCall { + c := &ProjectsLocationsHttpRoutesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } @@ -5935,7 +5825,7 @@ func (r *ProjectsLocationsGrpcRoutesService) Get(name string) *ProjectsLocations // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsGrpcRoutesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGrpcRoutesGetCall { +func (c *ProjectsLocationsHttpRoutesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsHttpRoutesGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -5943,27 +5833,27 @@ func (c *ProjectsLocationsGrpcRoutesGetCall) Fields(s ...googleapi.Field) *Proje // IfNoneMatch sets an optional parameter which makes the operation fail if the // object's ETag matches the given value. This is useful for getting updates // only after the object has changed since the last request. -func (c *ProjectsLocationsGrpcRoutesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGrpcRoutesGetCall { +func (c *ProjectsLocationsHttpRoutesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsHttpRoutesGetCall { c.ifNoneMatch_ = entityTag return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsGrpcRoutesGetCall) Context(ctx context.Context) *ProjectsLocationsGrpcRoutesGetCall { +func (c *ProjectsLocationsHttpRoutesGetCall) Context(ctx context.Context) *ProjectsLocationsHttpRoutesGetCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsGrpcRoutesGetCall) Header() http.Header { +func (c *ProjectsLocationsHttpRoutesGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGrpcRoutesGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsHttpRoutesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) if c.ifNoneMatch_ != "" { reqHeaders.Set("If-None-Match", c.ifNoneMatch_) @@ -5984,12 +5874,12 @@ func (c *ProjectsLocationsGrpcRoutesGetCall) doRequest(alt string) (*http.Respon return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.grpcRoutes.get" call. +// Do executes the "networkservices.projects.locations.httpRoutes.get" call. // Any non-2xx status code is an error. Response headers are in either -// *GrpcRoute.ServerResponse.Header or (if a response was returned at all) in +// *HttpRoute.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsGrpcRoutesGetCall) Do(opts ...googleapi.CallOption) (*GrpcRoute, error) { +func (c *ProjectsLocationsHttpRoutesGetCall) Do(opts ...googleapi.CallOption) (*HttpRoute, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -6008,7 +5898,7 @@ func (c *ProjectsLocationsGrpcRoutesGetCall) Do(opts ...googleapi.CallOption) (* if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &GrpcRoute{ + ret := &HttpRoute{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -6021,7 +5911,7 @@ func (c *ProjectsLocationsGrpcRoutesGetCall) Do(opts ...googleapi.CallOption) (* return ret, nil } -type ProjectsLocationsGrpcRoutesListCall struct { +type ProjectsLocationsHttpRoutesListCall struct { s *Service parent string urlParams_ gensupport.URLParams @@ -6030,28 +5920,28 @@ type ProjectsLocationsGrpcRoutesListCall struct { header_ http.Header } -// List: Lists GrpcRoutes in a given project and location. +// List: Lists HttpRoute in a given project and location. // -// - parent: The project and location from which the GrpcRoutes should be +// - parent: The project and location from which the HttpRoutes should be // listed, specified in the format `projects/*/locations/global`. -func (r *ProjectsLocationsGrpcRoutesService) List(parent string) *ProjectsLocationsGrpcRoutesListCall { - c := &ProjectsLocationsGrpcRoutesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} +func (r *ProjectsLocationsHttpRoutesService) List(parent string) *ProjectsLocationsHttpRoutesListCall { + c := &ProjectsLocationsHttpRoutesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent return c } // PageSize sets the optional parameter "pageSize": Maximum number of -// GrpcRoutes to return per call. -func (c *ProjectsLocationsGrpcRoutesListCall) PageSize(pageSize int64) *ProjectsLocationsGrpcRoutesListCall { +// HttpRoutes to return per call. +func (c *ProjectsLocationsHttpRoutesListCall) PageSize(pageSize int64) *ProjectsLocationsHttpRoutesListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": The value returned by the -// last `ListGrpcRoutesResponse` Indicates that this is a continuation of a -// prior `ListGrpcRoutes` call, and that the system should return the next page +// last `ListHttpRoutesResponse` Indicates that this is a continuation of a +// prior `ListHttpRoutes` call, and that the system should return the next page // of data. -func (c *ProjectsLocationsGrpcRoutesListCall) PageToken(pageToken string) *ProjectsLocationsGrpcRoutesListCall { +func (c *ProjectsLocationsHttpRoutesListCall) PageToken(pageToken string) *ProjectsLocationsHttpRoutesListCall { c.urlParams_.Set("pageToken", pageToken) return c } @@ -6059,7 +5949,7 @@ func (c *ProjectsLocationsGrpcRoutesListCall) PageToken(pageToken string) *Proje // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsGrpcRoutesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsGrpcRoutesListCall { +func (c *ProjectsLocationsHttpRoutesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsHttpRoutesListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -6067,27 +5957,27 @@ func (c *ProjectsLocationsGrpcRoutesListCall) Fields(s ...googleapi.Field) *Proj // IfNoneMatch sets an optional parameter which makes the operation fail if the // object's ETag matches the given value. This is useful for getting updates // only after the object has changed since the last request. -func (c *ProjectsLocationsGrpcRoutesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsGrpcRoutesListCall { +func (c *ProjectsLocationsHttpRoutesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsHttpRoutesListCall { c.ifNoneMatch_ = entityTag return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsGrpcRoutesListCall) Context(ctx context.Context) *ProjectsLocationsGrpcRoutesListCall { +func (c *ProjectsLocationsHttpRoutesListCall) Context(ctx context.Context) *ProjectsLocationsHttpRoutesListCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsGrpcRoutesListCall) Header() http.Header { +func (c *ProjectsLocationsHttpRoutesListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGrpcRoutesListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsHttpRoutesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) if c.ifNoneMatch_ != "" { reqHeaders.Set("If-None-Match", c.ifNoneMatch_) @@ -6095,7 +5985,7 @@ func (c *ProjectsLocationsGrpcRoutesListCall) doRequest(alt string) (*http.Respo var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/grpcRoutes") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/httpRoutes") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -6108,13 +5998,13 @@ func (c *ProjectsLocationsGrpcRoutesListCall) doRequest(alt string) (*http.Respo return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.grpcRoutes.list" call. +// Do executes the "networkservices.projects.locations.httpRoutes.list" call. // Any non-2xx status code is an error. Response headers are in either -// *ListGrpcRoutesResponse.ServerResponse.Header or (if a response was returned +// *ListHttpRoutesResponse.ServerResponse.Header or (if a response was returned // at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to // check whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsGrpcRoutesListCall) Do(opts ...googleapi.CallOption) (*ListGrpcRoutesResponse, error) { +func (c *ProjectsLocationsHttpRoutesListCall) Do(opts ...googleapi.CallOption) (*ListHttpRoutesResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -6133,7 +6023,7 @@ func (c *ProjectsLocationsGrpcRoutesListCall) Do(opts ...googleapi.CallOption) ( if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &ListGrpcRoutesResponse{ + ret := &ListHttpRoutesResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -6149,7 +6039,7 @@ func (c *ProjectsLocationsGrpcRoutesListCall) Do(opts ...googleapi.CallOption) ( // Pages invokes f for each page of results. // A non-nil error returned from f will halt the iteration. // The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsGrpcRoutesListCall) Pages(ctx context.Context, f func(*ListGrpcRoutesResponse) error) error { +func (c *ProjectsLocationsHttpRoutesListCall) Pages(ctx context.Context, f func(*ListHttpRoutesResponse) error) error { c.ctx_ = ctx defer c.PageToken(c.urlParams_.Get("pageToken")) for { @@ -6167,33 +6057,33 @@ func (c *ProjectsLocationsGrpcRoutesListCall) Pages(ctx context.Context, f func( } } -type ProjectsLocationsGrpcRoutesPatchCall struct { +type ProjectsLocationsHttpRoutesPatchCall struct { s *Service name string - grpcroute *GrpcRoute + httproute *HttpRoute urlParams_ gensupport.URLParams ctx_ context.Context header_ http.Header } -// Patch: Updates the parameters of a single GrpcRoute. +// Patch: Updates the parameters of a single HttpRoute. // -// - name: Name of the GrpcRoute resource. It matches pattern -// `projects/*/locations/global/grpcRoutes/`. -func (r *ProjectsLocationsGrpcRoutesService) Patch(name string, grpcroute *GrpcRoute) *ProjectsLocationsGrpcRoutesPatchCall { - c := &ProjectsLocationsGrpcRoutesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - c.grpcroute = grpcroute +// - name: Name of the HttpRoute resource. It matches pattern +// `projects/*/locations/global/httpRoutes/http_route_name>`. +func (r *ProjectsLocationsHttpRoutesService) Patch(name string, httproute *HttpRoute) *ProjectsLocationsHttpRoutesPatchCall { + c := &ProjectsLocationsHttpRoutesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.httproute = httproute return c } // UpdateMask sets the optional parameter "updateMask": Field mask is used to -// specify the fields to be overwritten in the GrpcRoute resource by the +// specify the fields to be overwritten in the HttpRoute resource by the // update. The fields specified in the update_mask are relative to the // resource, not the full request. A field will be overwritten if it is in the // mask. If the user does not provide a mask then all fields will be // overwritten. -func (c *ProjectsLocationsGrpcRoutesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsGrpcRoutesPatchCall { +func (c *ProjectsLocationsHttpRoutesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsHttpRoutesPatchCall { c.urlParams_.Set("updateMask", updateMask) return c } @@ -6201,30 +6091,30 @@ func (c *ProjectsLocationsGrpcRoutesPatchCall) UpdateMask(updateMask string) *Pr // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsGrpcRoutesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsGrpcRoutesPatchCall { +func (c *ProjectsLocationsHttpRoutesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsHttpRoutesPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsGrpcRoutesPatchCall) Context(ctx context.Context) *ProjectsLocationsGrpcRoutesPatchCall { +func (c *ProjectsLocationsHttpRoutesPatchCall) Context(ctx context.Context) *ProjectsLocationsHttpRoutesPatchCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsGrpcRoutesPatchCall) Header() http.Header { +func (c *ProjectsLocationsHttpRoutesPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsGrpcRoutesPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsHttpRoutesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.grpcroute) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.httproute) if err != nil { return nil, err } @@ -6243,12 +6133,12 @@ func (c *ProjectsLocationsGrpcRoutesPatchCall) doRequest(alt string) (*http.Resp return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.grpcRoutes.patch" call. +// Do executes the "networkservices.projects.locations.httpRoutes.patch" call. // Any non-2xx status code is an error. Response headers are in either // *Operation.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsGrpcRoutesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *ProjectsLocationsHttpRoutesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -6280,66 +6170,83 @@ func (c *ProjectsLocationsGrpcRoutesPatchCall) Do(opts ...googleapi.CallOption) return ret, nil } -type ProjectsLocationsHttpRoutesCreateCall struct { - s *Service - parent string - httproute *HttpRoute - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsLbRouteExtensionsCreateCall struct { + s *Service + parent string + lbrouteextension *LbRouteExtension + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Create: Creates a new HttpRoute in a given project and location. +// Create: Creates a new `LbRouteExtension` resource in a given project and +// location. // -// - parent: The parent resource of the HttpRoute. Must be in the format -// `projects/*/locations/global`. -func (r *ProjectsLocationsHttpRoutesService) Create(parent string, httproute *HttpRoute) *ProjectsLocationsHttpRoutesCreateCall { - c := &ProjectsLocationsHttpRoutesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - parent: The parent resource of the `LbRouteExtension` resource. Must be in +// the format `projects/{project}/locations/{location}`. +func (r *ProjectsLocationsLbRouteExtensionsService) Create(parent string, lbrouteextension *LbRouteExtension) *ProjectsLocationsLbRouteExtensionsCreateCall { + c := &ProjectsLocationsLbRouteExtensionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent - c.httproute = httproute + c.lbrouteextension = lbrouteextension return c } -// HttpRouteId sets the optional parameter "httpRouteId": Required. Short name -// of the HttpRoute resource to be created. -func (c *ProjectsLocationsHttpRoutesCreateCall) HttpRouteId(httpRouteId string) *ProjectsLocationsHttpRoutesCreateCall { - c.urlParams_.Set("httpRouteId", httpRouteId) +// LbRouteExtensionId sets the optional parameter "lbRouteExtensionId": +// Required. User-provided ID of the `LbRouteExtension` resource to be created. +func (c *ProjectsLocationsLbRouteExtensionsCreateCall) LbRouteExtensionId(lbRouteExtensionId string) *ProjectsLocationsLbRouteExtensionsCreateCall { + c.urlParams_.Set("lbRouteExtensionId", lbRouteExtensionId) + return c +} + +// RequestId sets the optional parameter "requestId": An optional request ID to +// identify requests. Specify a unique request ID so that if you must retry +// your request, the server can ignore the request if it has already been +// completed. The server guarantees that for at least 60 minutes since the +// first request. For example, consider a situation where you make an initial +// request and the request times out. If you make the request again with the +// same request ID, the server can check if original operation with the same +// request ID was received, and if so, ignores the second request. This +// prevents clients from accidentally creating duplicate commitments. The +// request ID must be a valid UUID with the exception that zero UUID is not +// supported (00000000-0000-0000-0000-000000000000). +func (c *ProjectsLocationsLbRouteExtensionsCreateCall) RequestId(requestId string) *ProjectsLocationsLbRouteExtensionsCreateCall { + c.urlParams_.Set("requestId", requestId) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsHttpRoutesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsHttpRoutesCreateCall { +func (c *ProjectsLocationsLbRouteExtensionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbRouteExtensionsCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsHttpRoutesCreateCall) Context(ctx context.Context) *ProjectsLocationsHttpRoutesCreateCall { +func (c *ProjectsLocationsLbRouteExtensionsCreateCall) Context(ctx context.Context) *ProjectsLocationsLbRouteExtensionsCreateCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsHttpRoutesCreateCall) Header() http.Header { +func (c *ProjectsLocationsLbRouteExtensionsCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsHttpRoutesCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsLbRouteExtensionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.httproute) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.lbrouteextension) if err != nil { return nil, err } c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/httpRoutes") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/lbRouteExtensions") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -6352,12 +6259,12 @@ func (c *ProjectsLocationsHttpRoutesCreateCall) doRequest(alt string) (*http.Res return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.httpRoutes.create" call. +// Do executes the "networkservices.projects.locations.lbRouteExtensions.create" call. // Any non-2xx status code is an error. Response headers are in either // *Operation.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsHttpRoutesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *ProjectsLocationsLbRouteExtensionsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -6389,7 +6296,7 @@ func (c *ProjectsLocationsHttpRoutesCreateCall) Do(opts ...googleapi.CallOption) return ret, nil } -type ProjectsLocationsHttpRoutesDeleteCall struct { +type ProjectsLocationsLbRouteExtensionsDeleteCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -6397,40 +6304,58 @@ type ProjectsLocationsHttpRoutesDeleteCall struct { header_ http.Header } -// Delete: Deletes a single HttpRoute. +// Delete: Deletes the specified `LbRouteExtension` resource. // -// - name: A name of the HttpRoute to delete. Must be in the format -// `projects/*/locations/global/httpRoutes/*`. -func (r *ProjectsLocationsHttpRoutesService) Delete(name string) *ProjectsLocationsHttpRoutesDeleteCall { - c := &ProjectsLocationsHttpRoutesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - name: The name of the `LbRouteExtension` resource to delete. Must be in +// the format +// `projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extens +// ion}`. +func (r *ProjectsLocationsLbRouteExtensionsService) Delete(name string) *ProjectsLocationsLbRouteExtensionsDeleteCall { + c := &ProjectsLocationsLbRouteExtensionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } +// RequestId sets the optional parameter "requestId": An optional request ID to +// identify requests. Specify a unique request ID so that if you must retry +// your request, the server can ignore the request if it has already been +// completed. The server guarantees that for at least 60 minutes after the +// first request. For example, consider a situation where you make an initial +// request and the request times out. If you make the request again with the +// same request ID, the server can check if original operation with the same +// request ID was received, and if so, ignores the second request. This +// prevents clients from accidentally creating duplicate commitments. The +// request ID must be a valid UUID with the exception that zero UUID is not +// supported (00000000-0000-0000-0000-000000000000). +func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) RequestId(requestId string) *ProjectsLocationsLbRouteExtensionsDeleteCall { + c.urlParams_.Set("requestId", requestId) + return c +} + // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsHttpRoutesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsHttpRoutesDeleteCall { +func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbRouteExtensionsDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsHttpRoutesDeleteCall) Context(ctx context.Context) *ProjectsLocationsHttpRoutesDeleteCall { +func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsLbRouteExtensionsDeleteCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsHttpRoutesDeleteCall) Header() http.Header { +func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsHttpRoutesDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) var body io.Reader = nil c.urlParams_.Set("alt", alt) @@ -6448,12 +6373,12 @@ func (c *ProjectsLocationsHttpRoutesDeleteCall) doRequest(alt string) (*http.Res return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.httpRoutes.delete" call. +// Do executes the "networkservices.projects.locations.lbRouteExtensions.delete" call. // Any non-2xx status code is an error. Response headers are in either // *Operation.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsHttpRoutesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -6485,7 +6410,7 @@ func (c *ProjectsLocationsHttpRoutesDeleteCall) Do(opts ...googleapi.CallOption) return ret, nil } -type ProjectsLocationsHttpRoutesGetCall struct { +type ProjectsLocationsLbRouteExtensionsGetCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -6494,12 +6419,14 @@ type ProjectsLocationsHttpRoutesGetCall struct { header_ http.Header } -// Get: Gets details of a single HttpRoute. +// Get: Gets details of the specified `LbRouteExtension` resource. // -// - name: A name of the HttpRoute to get. Must be in the format -// `projects/*/locations/global/httpRoutes/*`. -func (r *ProjectsLocationsHttpRoutesService) Get(name string) *ProjectsLocationsHttpRoutesGetCall { - c := &ProjectsLocationsHttpRoutesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - name: A name of the `LbRouteExtension` resource to get. Must be in the +// format +// `projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extens +// ion}`. +func (r *ProjectsLocationsLbRouteExtensionsService) Get(name string) *ProjectsLocationsLbRouteExtensionsGetCall { + c := &ProjectsLocationsLbRouteExtensionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } @@ -6507,7 +6434,7 @@ func (r *ProjectsLocationsHttpRoutesService) Get(name string) *ProjectsLocations // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsHttpRoutesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsHttpRoutesGetCall { +func (c *ProjectsLocationsLbRouteExtensionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbRouteExtensionsGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -6515,27 +6442,27 @@ func (c *ProjectsLocationsHttpRoutesGetCall) Fields(s ...googleapi.Field) *Proje // IfNoneMatch sets an optional parameter which makes the operation fail if the // object's ETag matches the given value. This is useful for getting updates // only after the object has changed since the last request. -func (c *ProjectsLocationsHttpRoutesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsHttpRoutesGetCall { +func (c *ProjectsLocationsLbRouteExtensionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsLbRouteExtensionsGetCall { c.ifNoneMatch_ = entityTag return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsHttpRoutesGetCall) Context(ctx context.Context) *ProjectsLocationsHttpRoutesGetCall { +func (c *ProjectsLocationsLbRouteExtensionsGetCall) Context(ctx context.Context) *ProjectsLocationsLbRouteExtensionsGetCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsHttpRoutesGetCall) Header() http.Header { +func (c *ProjectsLocationsLbRouteExtensionsGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsHttpRoutesGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsLbRouteExtensionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) if c.ifNoneMatch_ != "" { reqHeaders.Set("If-None-Match", c.ifNoneMatch_) @@ -6556,12 +6483,13 @@ func (c *ProjectsLocationsHttpRoutesGetCall) doRequest(alt string) (*http.Respon return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.httpRoutes.get" call. +// Do executes the "networkservices.projects.locations.lbRouteExtensions.get" call. // Any non-2xx status code is an error. Response headers are in either -// *HttpRoute.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsHttpRoutesGetCall) Do(opts ...googleapi.CallOption) (*HttpRoute, error) { +// *LbRouteExtension.ServerResponse.Header or (if a response was returned at +// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to +// check whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsLbRouteExtensionsGetCall) Do(opts ...googleapi.CallOption) (*LbRouteExtension, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -6580,7 +6508,7 @@ func (c *ProjectsLocationsHttpRoutesGetCall) Do(opts ...googleapi.CallOption) (* if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &HttpRoute{ + ret := &LbRouteExtension{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -6593,7 +6521,7 @@ func (c *ProjectsLocationsHttpRoutesGetCall) Do(opts ...googleapi.CallOption) (* return ret, nil } -type ProjectsLocationsHttpRoutesListCall struct { +type ProjectsLocationsLbRouteExtensionsListCall struct { s *Service parent string urlParams_ gensupport.URLParams @@ -6602,28 +6530,41 @@ type ProjectsLocationsHttpRoutesListCall struct { header_ http.Header } -// List: Lists HttpRoute in a given project and location. +// List: Lists `LbRouteExtension` resources in a given project and location. // -// - parent: The project and location from which the HttpRoutes should be -// listed, specified in the format `projects/*/locations/global`. -func (r *ProjectsLocationsHttpRoutesService) List(parent string) *ProjectsLocationsHttpRoutesListCall { - c := &ProjectsLocationsHttpRoutesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - parent: The project and location from which the `LbRouteExtension` +// resources are listed, specified in the following format: +// `projects/{project}/locations/{location}`. +func (r *ProjectsLocationsLbRouteExtensionsService) List(parent string) *ProjectsLocationsLbRouteExtensionsListCall { + c := &ProjectsLocationsLbRouteExtensionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent return c } -// PageSize sets the optional parameter "pageSize": Maximum number of -// HttpRoutes to return per call. -func (c *ProjectsLocationsHttpRoutesListCall) PageSize(pageSize int64) *ProjectsLocationsHttpRoutesListCall { +// Filter sets the optional parameter "filter": Filtering results. +func (c *ProjectsLocationsLbRouteExtensionsListCall) Filter(filter string) *ProjectsLocationsLbRouteExtensionsListCall { + c.urlParams_.Set("filter", filter) + return c +} + +// OrderBy sets the optional parameter "orderBy": Hint for how to order the +// results. +func (c *ProjectsLocationsLbRouteExtensionsListCall) OrderBy(orderBy string) *ProjectsLocationsLbRouteExtensionsListCall { + c.urlParams_.Set("orderBy", orderBy) + return c +} + +// PageSize sets the optional parameter "pageSize": Requested page size. The +// server might return fewer items than requested. If unspecified, the server +// picks an appropriate default. +func (c *ProjectsLocationsLbRouteExtensionsListCall) PageSize(pageSize int64) *ProjectsLocationsLbRouteExtensionsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } -// PageToken sets the optional parameter "pageToken": The value returned by the -// last `ListHttpRoutesResponse` Indicates that this is a continuation of a -// prior `ListHttpRoutes` call, and that the system should return the next page -// of data. -func (c *ProjectsLocationsHttpRoutesListCall) PageToken(pageToken string) *ProjectsLocationsHttpRoutesListCall { +// PageToken sets the optional parameter "pageToken": A token identifying a +// page of results that the server returns. +func (c *ProjectsLocationsLbRouteExtensionsListCall) PageToken(pageToken string) *ProjectsLocationsLbRouteExtensionsListCall { c.urlParams_.Set("pageToken", pageToken) return c } @@ -6631,7 +6572,7 @@ func (c *ProjectsLocationsHttpRoutesListCall) PageToken(pageToken string) *Proje // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsHttpRoutesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsHttpRoutesListCall { +func (c *ProjectsLocationsLbRouteExtensionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbRouteExtensionsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -6639,27 +6580,27 @@ func (c *ProjectsLocationsHttpRoutesListCall) Fields(s ...googleapi.Field) *Proj // IfNoneMatch sets an optional parameter which makes the operation fail if the // object's ETag matches the given value. This is useful for getting updates // only after the object has changed since the last request. -func (c *ProjectsLocationsHttpRoutesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsHttpRoutesListCall { +func (c *ProjectsLocationsLbRouteExtensionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsLbRouteExtensionsListCall { c.ifNoneMatch_ = entityTag return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsHttpRoutesListCall) Context(ctx context.Context) *ProjectsLocationsHttpRoutesListCall { +func (c *ProjectsLocationsLbRouteExtensionsListCall) Context(ctx context.Context) *ProjectsLocationsLbRouteExtensionsListCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsHttpRoutesListCall) Header() http.Header { +func (c *ProjectsLocationsLbRouteExtensionsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsHttpRoutesListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsLbRouteExtensionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) if c.ifNoneMatch_ != "" { reqHeaders.Set("If-None-Match", c.ifNoneMatch_) @@ -6667,7 +6608,7 @@ func (c *ProjectsLocationsHttpRoutesListCall) doRequest(alt string) (*http.Respo var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/httpRoutes") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/lbRouteExtensions") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -6680,13 +6621,13 @@ func (c *ProjectsLocationsHttpRoutesListCall) doRequest(alt string) (*http.Respo return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.httpRoutes.list" call. +// Do executes the "networkservices.projects.locations.lbRouteExtensions.list" call. // Any non-2xx status code is an error. Response headers are in either -// *ListHttpRoutesResponse.ServerResponse.Header or (if a response was returned -// at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to -// check whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsHttpRoutesListCall) Do(opts ...googleapi.CallOption) (*ListHttpRoutesResponse, error) { +// *ListLbRouteExtensionsResponse.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was because +// http.StatusNotModified was returned. +func (c *ProjectsLocationsLbRouteExtensionsListCall) Do(opts ...googleapi.CallOption) (*ListLbRouteExtensionsResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -6705,7 +6646,7 @@ func (c *ProjectsLocationsHttpRoutesListCall) Do(opts ...googleapi.CallOption) ( if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &ListHttpRoutesResponse{ + ret := &ListLbRouteExtensionsResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -6721,7 +6662,7 @@ func (c *ProjectsLocationsHttpRoutesListCall) Do(opts ...googleapi.CallOption) ( // Pages invokes f for each page of results. // A non-nil error returned from f will halt the iteration. // The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsHttpRoutesListCall) Pages(ctx context.Context, f func(*ListHttpRoutesResponse) error) error { +func (c *ProjectsLocationsLbRouteExtensionsListCall) Pages(ctx context.Context, f func(*ListLbRouteExtensionsResponse) error) error { c.ctx_ = ctx defer c.PageToken(c.urlParams_.Get("pageToken")) for { @@ -6739,33 +6680,50 @@ func (c *ProjectsLocationsHttpRoutesListCall) Pages(ctx context.Context, f func( } } -type ProjectsLocationsHttpRoutesPatchCall struct { - s *Service - name string - httproute *HttpRoute - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsLbRouteExtensionsPatchCall struct { + s *Service + name string + lbrouteextension *LbRouteExtension + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Patch: Updates the parameters of a single HttpRoute. +// Patch: Updates the parameters of the specified `LbRouteExtension` resource. // -// - name: Name of the HttpRoute resource. It matches pattern -// `projects/*/locations/global/httpRoutes/http_route_name>`. -func (r *ProjectsLocationsHttpRoutesService) Patch(name string, httproute *HttpRoute) *ProjectsLocationsHttpRoutesPatchCall { - c := &ProjectsLocationsHttpRoutesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - name: Identifier. Name of the `LbRouteExtension` resource in the following +// format: +// `projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extens +// ion}`. +func (r *ProjectsLocationsLbRouteExtensionsService) Patch(name string, lbrouteextension *LbRouteExtension) *ProjectsLocationsLbRouteExtensionsPatchCall { + c := &ProjectsLocationsLbRouteExtensionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name - c.httproute = httproute + c.lbrouteextension = lbrouteextension return c } -// UpdateMask sets the optional parameter "updateMask": Field mask is used to -// specify the fields to be overwritten in the HttpRoute resource by the -// update. The fields specified in the update_mask are relative to the -// resource, not the full request. A field will be overwritten if it is in the -// mask. If the user does not provide a mask then all fields will be -// overwritten. -func (c *ProjectsLocationsHttpRoutesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsHttpRoutesPatchCall { +// RequestId sets the optional parameter "requestId": An optional request ID to +// identify requests. Specify a unique request ID so that if you must retry +// your request, the server can ignore the request if it has already been +// completed. The server guarantees that for at least 60 minutes since the +// first request. For example, consider a situation where you make an initial +// request and the request times out. If you make the request again with the +// same request ID, the server can check if original operation with the same +// request ID was received, and if so, ignores the second request. This +// prevents clients from accidentally creating duplicate commitments. The +// request ID must be a valid UUID with the exception that zero UUID is not +// supported (00000000-0000-0000-0000-000000000000). +func (c *ProjectsLocationsLbRouteExtensionsPatchCall) RequestId(requestId string) *ProjectsLocationsLbRouteExtensionsPatchCall { + c.urlParams_.Set("requestId", requestId) + return c +} + +// UpdateMask sets the optional parameter "updateMask": Used to specify the +// fields to be overwritten in the `LbRouteExtension` resource by the update. +// The fields specified in the update_mask are relative to the resource, not +// the full request. A field is overwritten if it is in the mask. If the user +// does not specify a mask, then all fields are overwritten. +func (c *ProjectsLocationsLbRouteExtensionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsLbRouteExtensionsPatchCall { c.urlParams_.Set("updateMask", updateMask) return c } @@ -6773,30 +6731,30 @@ func (c *ProjectsLocationsHttpRoutesPatchCall) UpdateMask(updateMask string) *Pr // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsHttpRoutesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsHttpRoutesPatchCall { +func (c *ProjectsLocationsLbRouteExtensionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbRouteExtensionsPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsHttpRoutesPatchCall) Context(ctx context.Context) *ProjectsLocationsHttpRoutesPatchCall { +func (c *ProjectsLocationsLbRouteExtensionsPatchCall) Context(ctx context.Context) *ProjectsLocationsLbRouteExtensionsPatchCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsHttpRoutesPatchCall) Header() http.Header { +func (c *ProjectsLocationsLbRouteExtensionsPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsHttpRoutesPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsLbRouteExtensionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.httproute) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.lbrouteextension) if err != nil { return nil, err } @@ -6815,12 +6773,12 @@ func (c *ProjectsLocationsHttpRoutesPatchCall) doRequest(alt string) (*http.Resp return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.httpRoutes.patch" call. +// Do executes the "networkservices.projects.locations.lbRouteExtensions.patch" call. // Any non-2xx status code is an error. Response headers are in either // *Operation.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsHttpRoutesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *ProjectsLocationsLbRouteExtensionsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -6852,31 +6810,32 @@ func (c *ProjectsLocationsHttpRoutesPatchCall) Do(opts ...googleapi.CallOption) return ret, nil } -type ProjectsLocationsLbRouteExtensionsCreateCall struct { - s *Service - parent string - lbrouteextension *LbRouteExtension - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsLbTrafficExtensionsCreateCall struct { + s *Service + parent string + lbtrafficextension *LbTrafficExtension + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Create: Creates a new `LbRouteExtension` resource in a given project and +// Create: Creates a new `LbTrafficExtension` resource in a given project and // location. // -// - parent: The parent resource of the `LbRouteExtension` resource. Must be in -// the format `projects/{project}/locations/{location}`. -func (r *ProjectsLocationsLbRouteExtensionsService) Create(parent string, lbrouteextension *LbRouteExtension) *ProjectsLocationsLbRouteExtensionsCreateCall { - c := &ProjectsLocationsLbRouteExtensionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - parent: The parent resource of the `LbTrafficExtension` resource. Must be +// in the format `projects/{project}/locations/{location}`. +func (r *ProjectsLocationsLbTrafficExtensionsService) Create(parent string, lbtrafficextension *LbTrafficExtension) *ProjectsLocationsLbTrafficExtensionsCreateCall { + c := &ProjectsLocationsLbTrafficExtensionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent - c.lbrouteextension = lbrouteextension + c.lbtrafficextension = lbtrafficextension return c } -// LbRouteExtensionId sets the optional parameter "lbRouteExtensionId": -// Required. User-provided ID of the `LbRouteExtension` resource to be created. -func (c *ProjectsLocationsLbRouteExtensionsCreateCall) LbRouteExtensionId(lbRouteExtensionId string) *ProjectsLocationsLbRouteExtensionsCreateCall { - c.urlParams_.Set("lbRouteExtensionId", lbRouteExtensionId) +// LbTrafficExtensionId sets the optional parameter "lbTrafficExtensionId": +// Required. User-provided ID of the `LbTrafficExtension` resource to be +// created. +func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) LbTrafficExtensionId(lbTrafficExtensionId string) *ProjectsLocationsLbTrafficExtensionsCreateCall { + c.urlParams_.Set("lbTrafficExtensionId", lbTrafficExtensionId) return c } @@ -6891,7 +6850,7 @@ func (c *ProjectsLocationsLbRouteExtensionsCreateCall) LbRouteExtensionId(lbRout // prevents clients from accidentally creating duplicate commitments. The // request ID must be a valid UUID with the exception that zero UUID is not // supported (00000000-0000-0000-0000-000000000000). -func (c *ProjectsLocationsLbRouteExtensionsCreateCall) RequestId(requestId string) *ProjectsLocationsLbRouteExtensionsCreateCall { +func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) RequestId(requestId string) *ProjectsLocationsLbTrafficExtensionsCreateCall { c.urlParams_.Set("requestId", requestId) return c } @@ -6899,36 +6858,36 @@ func (c *ProjectsLocationsLbRouteExtensionsCreateCall) RequestId(requestId strin // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsLbRouteExtensionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbRouteExtensionsCreateCall { +func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTrafficExtensionsCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsLbRouteExtensionsCreateCall) Context(ctx context.Context) *ProjectsLocationsLbRouteExtensionsCreateCall { +func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) Context(ctx context.Context) *ProjectsLocationsLbTrafficExtensionsCreateCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsLbRouteExtensionsCreateCall) Header() http.Header { +func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsLbRouteExtensionsCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.lbrouteextension) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.lbtrafficextension) if err != nil { return nil, err } c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/lbRouteExtensions") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/lbTrafficExtensions") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -6941,12 +6900,12 @@ func (c *ProjectsLocationsLbRouteExtensionsCreateCall) doRequest(alt string) (*h return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.lbRouteExtensions.create" call. +// Do executes the "networkservices.projects.locations.lbTrafficExtensions.create" call. // Any non-2xx status code is an error. Response headers are in either // *Operation.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsLbRouteExtensionsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -6978,7 +6937,7 @@ func (c *ProjectsLocationsLbRouteExtensionsCreateCall) Do(opts ...googleapi.Call return ret, nil } -type ProjectsLocationsLbRouteExtensionsDeleteCall struct { +type ProjectsLocationsLbTrafficExtensionsDeleteCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -6986,14 +6945,14 @@ type ProjectsLocationsLbRouteExtensionsDeleteCall struct { header_ http.Header } -// Delete: Deletes the specified `LbRouteExtension` resource. +// Delete: Deletes the specified `LbTrafficExtension` resource. // -// - name: The name of the `LbRouteExtension` resource to delete. Must be in +// - name: The name of the `LbTrafficExtension` resource to delete. Must be in // the format -// `projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extens -// ion}`. -func (r *ProjectsLocationsLbRouteExtensionsService) Delete(name string) *ProjectsLocationsLbRouteExtensionsDeleteCall { - c := &ProjectsLocationsLbRouteExtensionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// `projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_ex +// tension}`. +func (r *ProjectsLocationsLbTrafficExtensionsService) Delete(name string) *ProjectsLocationsLbTrafficExtensionsDeleteCall { + c := &ProjectsLocationsLbTrafficExtensionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } @@ -7009,7 +6968,7 @@ func (r *ProjectsLocationsLbRouteExtensionsService) Delete(name string) *Project // prevents clients from accidentally creating duplicate commitments. The // request ID must be a valid UUID with the exception that zero UUID is not // supported (00000000-0000-0000-0000-000000000000). -func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) RequestId(requestId string) *ProjectsLocationsLbRouteExtensionsDeleteCall { +func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) RequestId(requestId string) *ProjectsLocationsLbTrafficExtensionsDeleteCall { c.urlParams_.Set("requestId", requestId) return c } @@ -7017,27 +6976,27 @@ func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) RequestId(requestId strin // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbRouteExtensionsDeleteCall { +func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTrafficExtensionsDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsLbRouteExtensionsDeleteCall { +func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsLbTrafficExtensionsDeleteCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) Header() http.Header { +func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) var body io.Reader = nil c.urlParams_.Set("alt", alt) @@ -7055,12 +7014,12 @@ func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) doRequest(alt string) (*h return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.lbRouteExtensions.delete" call. +// Do executes the "networkservices.projects.locations.lbTrafficExtensions.delete" call. // Any non-2xx status code is an error. Response headers are in either // *Operation.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -7092,7 +7051,7 @@ func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) Do(opts ...googleapi.Call return ret, nil } -type ProjectsLocationsLbRouteExtensionsGetCall struct { +type ProjectsLocationsLbTrafficExtensionsGetCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -7101,14 +7060,14 @@ type ProjectsLocationsLbRouteExtensionsGetCall struct { header_ http.Header } -// Get: Gets details of the specified `LbRouteExtension` resource. +// Get: Gets details of the specified `LbTrafficExtension` resource. // -// - name: A name of the `LbRouteExtension` resource to get. Must be in the +// - name: A name of the `LbTrafficExtension` resource to get. Must be in the // format -// `projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extens -// ion}`. -func (r *ProjectsLocationsLbRouteExtensionsService) Get(name string) *ProjectsLocationsLbRouteExtensionsGetCall { - c := &ProjectsLocationsLbRouteExtensionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// `projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_ex +// tension}`. +func (r *ProjectsLocationsLbTrafficExtensionsService) Get(name string) *ProjectsLocationsLbTrafficExtensionsGetCall { + c := &ProjectsLocationsLbTrafficExtensionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } @@ -7116,7 +7075,7 @@ func (r *ProjectsLocationsLbRouteExtensionsService) Get(name string) *ProjectsLo // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsLbRouteExtensionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbRouteExtensionsGetCall { +func (c *ProjectsLocationsLbTrafficExtensionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTrafficExtensionsGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -7124,27 +7083,27 @@ func (c *ProjectsLocationsLbRouteExtensionsGetCall) Fields(s ...googleapi.Field) // IfNoneMatch sets an optional parameter which makes the operation fail if the // object's ETag matches the given value. This is useful for getting updates // only after the object has changed since the last request. -func (c *ProjectsLocationsLbRouteExtensionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsLbRouteExtensionsGetCall { +func (c *ProjectsLocationsLbTrafficExtensionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsLbTrafficExtensionsGetCall { c.ifNoneMatch_ = entityTag return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsLbRouteExtensionsGetCall) Context(ctx context.Context) *ProjectsLocationsLbRouteExtensionsGetCall { +func (c *ProjectsLocationsLbTrafficExtensionsGetCall) Context(ctx context.Context) *ProjectsLocationsLbTrafficExtensionsGetCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsLbRouteExtensionsGetCall) Header() http.Header { +func (c *ProjectsLocationsLbTrafficExtensionsGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsLbRouteExtensionsGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsLbTrafficExtensionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) if c.ifNoneMatch_ != "" { reqHeaders.Set("If-None-Match", c.ifNoneMatch_) @@ -7165,13 +7124,13 @@ func (c *ProjectsLocationsLbRouteExtensionsGetCall) doRequest(alt string) (*http return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.lbRouteExtensions.get" call. +// Do executes the "networkservices.projects.locations.lbTrafficExtensions.get" call. // Any non-2xx status code is an error. Response headers are in either -// *LbRouteExtension.ServerResponse.Header or (if a response was returned at +// *LbTrafficExtension.ServerResponse.Header or (if a response was returned at // all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to // check whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsLbRouteExtensionsGetCall) Do(opts ...googleapi.CallOption) (*LbRouteExtension, error) { +func (c *ProjectsLocationsLbTrafficExtensionsGetCall) Do(opts ...googleapi.CallOption) (*LbTrafficExtension, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -7190,7 +7149,7 @@ func (c *ProjectsLocationsLbRouteExtensionsGetCall) Do(opts ...googleapi.CallOpt if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &LbRouteExtension{ + ret := &LbTrafficExtension{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -7203,7 +7162,7 @@ func (c *ProjectsLocationsLbRouteExtensionsGetCall) Do(opts ...googleapi.CallOpt return ret, nil } -type ProjectsLocationsLbRouteExtensionsListCall struct { +type ProjectsLocationsLbTrafficExtensionsListCall struct { s *Service parent string urlParams_ gensupport.URLParams @@ -7212,26 +7171,26 @@ type ProjectsLocationsLbRouteExtensionsListCall struct { header_ http.Header } -// List: Lists `LbRouteExtension` resources in a given project and location. +// List: Lists `LbTrafficExtension` resources in a given project and location. // -// - parent: The project and location from which the `LbRouteExtension` +// - parent: The project and location from which the `LbTrafficExtension` // resources are listed, specified in the following format: // `projects/{project}/locations/{location}`. -func (r *ProjectsLocationsLbRouteExtensionsService) List(parent string) *ProjectsLocationsLbRouteExtensionsListCall { - c := &ProjectsLocationsLbRouteExtensionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} +func (r *ProjectsLocationsLbTrafficExtensionsService) List(parent string) *ProjectsLocationsLbTrafficExtensionsListCall { + c := &ProjectsLocationsLbTrafficExtensionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent return c } // Filter sets the optional parameter "filter": Filtering results. -func (c *ProjectsLocationsLbRouteExtensionsListCall) Filter(filter string) *ProjectsLocationsLbRouteExtensionsListCall { +func (c *ProjectsLocationsLbTrafficExtensionsListCall) Filter(filter string) *ProjectsLocationsLbTrafficExtensionsListCall { c.urlParams_.Set("filter", filter) return c } // OrderBy sets the optional parameter "orderBy": Hint for how to order the // results. -func (c *ProjectsLocationsLbRouteExtensionsListCall) OrderBy(orderBy string) *ProjectsLocationsLbRouteExtensionsListCall { +func (c *ProjectsLocationsLbTrafficExtensionsListCall) OrderBy(orderBy string) *ProjectsLocationsLbTrafficExtensionsListCall { c.urlParams_.Set("orderBy", orderBy) return c } @@ -7239,14 +7198,14 @@ func (c *ProjectsLocationsLbRouteExtensionsListCall) OrderBy(orderBy string) *Pr // PageSize sets the optional parameter "pageSize": Requested page size. The // server might return fewer items than requested. If unspecified, the server // picks an appropriate default. -func (c *ProjectsLocationsLbRouteExtensionsListCall) PageSize(pageSize int64) *ProjectsLocationsLbRouteExtensionsListCall { +func (c *ProjectsLocationsLbTrafficExtensionsListCall) PageSize(pageSize int64) *ProjectsLocationsLbTrafficExtensionsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": A token identifying a // page of results that the server returns. -func (c *ProjectsLocationsLbRouteExtensionsListCall) PageToken(pageToken string) *ProjectsLocationsLbRouteExtensionsListCall { +func (c *ProjectsLocationsLbTrafficExtensionsListCall) PageToken(pageToken string) *ProjectsLocationsLbTrafficExtensionsListCall { c.urlParams_.Set("pageToken", pageToken) return c } @@ -7254,7 +7213,7 @@ func (c *ProjectsLocationsLbRouteExtensionsListCall) PageToken(pageToken string) // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsLbRouteExtensionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbRouteExtensionsListCall { +func (c *ProjectsLocationsLbTrafficExtensionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTrafficExtensionsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -7262,27 +7221,27 @@ func (c *ProjectsLocationsLbRouteExtensionsListCall) Fields(s ...googleapi.Field // IfNoneMatch sets an optional parameter which makes the operation fail if the // object's ETag matches the given value. This is useful for getting updates // only after the object has changed since the last request. -func (c *ProjectsLocationsLbRouteExtensionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsLbRouteExtensionsListCall { +func (c *ProjectsLocationsLbTrafficExtensionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsLbTrafficExtensionsListCall { c.ifNoneMatch_ = entityTag return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsLbRouteExtensionsListCall) Context(ctx context.Context) *ProjectsLocationsLbRouteExtensionsListCall { +func (c *ProjectsLocationsLbTrafficExtensionsListCall) Context(ctx context.Context) *ProjectsLocationsLbTrafficExtensionsListCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsLbRouteExtensionsListCall) Header() http.Header { +func (c *ProjectsLocationsLbTrafficExtensionsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsLbRouteExtensionsListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsLbTrafficExtensionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) if c.ifNoneMatch_ != "" { reqHeaders.Set("If-None-Match", c.ifNoneMatch_) @@ -7290,7 +7249,7 @@ func (c *ProjectsLocationsLbRouteExtensionsListCall) doRequest(alt string) (*htt var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/lbRouteExtensions") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/lbTrafficExtensions") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -7303,13 +7262,13 @@ func (c *ProjectsLocationsLbRouteExtensionsListCall) doRequest(alt string) (*htt return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.lbRouteExtensions.list" call. +// Do executes the "networkservices.projects.locations.lbTrafficExtensions.list" call. // Any non-2xx status code is an error. Response headers are in either -// *ListLbRouteExtensionsResponse.ServerResponse.Header or (if a response was +// *ListLbTrafficExtensionsResponse.ServerResponse.Header or (if a response was // returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was because // http.StatusNotModified was returned. -func (c *ProjectsLocationsLbRouteExtensionsListCall) Do(opts ...googleapi.CallOption) (*ListLbRouteExtensionsResponse, error) { +func (c *ProjectsLocationsLbTrafficExtensionsListCall) Do(opts ...googleapi.CallOption) (*ListLbTrafficExtensionsResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -7328,7 +7287,7 @@ func (c *ProjectsLocationsLbRouteExtensionsListCall) Do(opts ...googleapi.CallOp if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &ListLbRouteExtensionsResponse{ + ret := &ListLbTrafficExtensionsResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -7344,7 +7303,7 @@ func (c *ProjectsLocationsLbRouteExtensionsListCall) Do(opts ...googleapi.CallOp // Pages invokes f for each page of results. // A non-nil error returned from f will halt the iteration. // The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsLbRouteExtensionsListCall) Pages(ctx context.Context, f func(*ListLbRouteExtensionsResponse) error) error { +func (c *ProjectsLocationsLbTrafficExtensionsListCall) Pages(ctx context.Context, f func(*ListLbTrafficExtensionsResponse) error) error { c.ctx_ = ctx defer c.PageToken(c.urlParams_.Get("pageToken")) for { @@ -7362,25 +7321,26 @@ func (c *ProjectsLocationsLbRouteExtensionsListCall) Pages(ctx context.Context, } } -type ProjectsLocationsLbRouteExtensionsPatchCall struct { - s *Service - name string - lbrouteextension *LbRouteExtension - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsLbTrafficExtensionsPatchCall struct { + s *Service + name string + lbtrafficextension *LbTrafficExtension + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Patch: Updates the parameters of the specified `LbRouteExtension` resource. +// Patch: Updates the parameters of the specified `LbTrafficExtension` +// resource. // -// - name: Identifier. Name of the `LbRouteExtension` resource in the following -// format: -// `projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extens -// ion}`. -func (r *ProjectsLocationsLbRouteExtensionsService) Patch(name string, lbrouteextension *LbRouteExtension) *ProjectsLocationsLbRouteExtensionsPatchCall { - c := &ProjectsLocationsLbRouteExtensionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - name: Identifier. Name of the `LbTrafficExtension` resource in the +// following format: +// `projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_ex +// tension}`. +func (r *ProjectsLocationsLbTrafficExtensionsService) Patch(name string, lbtrafficextension *LbTrafficExtension) *ProjectsLocationsLbTrafficExtensionsPatchCall { + c := &ProjectsLocationsLbTrafficExtensionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name - c.lbrouteextension = lbrouteextension + c.lbtrafficextension = lbtrafficextension return c } @@ -7395,17 +7355,17 @@ func (r *ProjectsLocationsLbRouteExtensionsService) Patch(name string, lbrouteex // prevents clients from accidentally creating duplicate commitments. The // request ID must be a valid UUID with the exception that zero UUID is not // supported (00000000-0000-0000-0000-000000000000). -func (c *ProjectsLocationsLbRouteExtensionsPatchCall) RequestId(requestId string) *ProjectsLocationsLbRouteExtensionsPatchCall { +func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) RequestId(requestId string) *ProjectsLocationsLbTrafficExtensionsPatchCall { c.urlParams_.Set("requestId", requestId) return c } // UpdateMask sets the optional parameter "updateMask": Used to specify the -// fields to be overwritten in the `LbRouteExtension` resource by the update. +// fields to be overwritten in the `LbTrafficExtension` resource by the update. // The fields specified in the update_mask are relative to the resource, not // the full request. A field is overwritten if it is in the mask. If the user // does not specify a mask, then all fields are overwritten. -func (c *ProjectsLocationsLbRouteExtensionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsLbRouteExtensionsPatchCall { +func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsLbTrafficExtensionsPatchCall { c.urlParams_.Set("updateMask", updateMask) return c } @@ -7413,30 +7373,30 @@ func (c *ProjectsLocationsLbRouteExtensionsPatchCall) UpdateMask(updateMask stri // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsLbRouteExtensionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbRouteExtensionsPatchCall { +func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTrafficExtensionsPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsLbRouteExtensionsPatchCall) Context(ctx context.Context) *ProjectsLocationsLbRouteExtensionsPatchCall { +func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) Context(ctx context.Context) *ProjectsLocationsLbTrafficExtensionsPatchCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsLbRouteExtensionsPatchCall) Header() http.Header { +func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsLbRouteExtensionsPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.lbrouteextension) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.lbtrafficextension) if err != nil { return nil, err } @@ -7455,12 +7415,12 @@ func (c *ProjectsLocationsLbRouteExtensionsPatchCall) doRequest(alt string) (*ht return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.lbRouteExtensions.patch" call. +// Do executes the "networkservices.projects.locations.lbTrafficExtensions.patch" call. // Any non-2xx status code is an error. Response headers are in either // *Operation.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsLbRouteExtensionsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -7492,84 +7452,66 @@ func (c *ProjectsLocationsLbRouteExtensionsPatchCall) Do(opts ...googleapi.CallO return ret, nil } -type ProjectsLocationsLbTrafficExtensionsCreateCall struct { - s *Service - parent string - lbtrafficextension *LbTrafficExtension - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsMeshesCreateCall struct { + s *Service + parent string + mesh *Mesh + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Create: Creates a new `LbTrafficExtension` resource in a given project and -// location. +// Create: Creates a new Mesh in a given project and location. // -// - parent: The parent resource of the `LbTrafficExtension` resource. Must be -// in the format `projects/{project}/locations/{location}`. -func (r *ProjectsLocationsLbTrafficExtensionsService) Create(parent string, lbtrafficextension *LbTrafficExtension) *ProjectsLocationsLbTrafficExtensionsCreateCall { - c := &ProjectsLocationsLbTrafficExtensionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - parent: The parent resource of the Mesh. Must be in the format +// `projects/*/locations/global`. +func (r *ProjectsLocationsMeshesService) Create(parent string, mesh *Mesh) *ProjectsLocationsMeshesCreateCall { + c := &ProjectsLocationsMeshesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent - c.lbtrafficextension = lbtrafficextension - return c -} - -// LbTrafficExtensionId sets the optional parameter "lbTrafficExtensionId": -// Required. User-provided ID of the `LbTrafficExtension` resource to be -// created. -func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) LbTrafficExtensionId(lbTrafficExtensionId string) *ProjectsLocationsLbTrafficExtensionsCreateCall { - c.urlParams_.Set("lbTrafficExtensionId", lbTrafficExtensionId) + c.mesh = mesh return c } -// RequestId sets the optional parameter "requestId": An optional request ID to -// identify requests. Specify a unique request ID so that if you must retry -// your request, the server can ignore the request if it has already been -// completed. The server guarantees that for at least 60 minutes since the -// first request. For example, consider a situation where you make an initial -// request and the request times out. If you make the request again with the -// same request ID, the server can check if original operation with the same -// request ID was received, and if so, ignores the second request. This -// prevents clients from accidentally creating duplicate commitments. The -// request ID must be a valid UUID with the exception that zero UUID is not -// supported (00000000-0000-0000-0000-000000000000). -func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) RequestId(requestId string) *ProjectsLocationsLbTrafficExtensionsCreateCall { - c.urlParams_.Set("requestId", requestId) +// MeshId sets the optional parameter "meshId": Required. Short name of the +// Mesh resource to be created. +func (c *ProjectsLocationsMeshesCreateCall) MeshId(meshId string) *ProjectsLocationsMeshesCreateCall { + c.urlParams_.Set("meshId", meshId) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTrafficExtensionsCreateCall { +func (c *ProjectsLocationsMeshesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) Context(ctx context.Context) *ProjectsLocationsLbTrafficExtensionsCreateCall { +func (c *ProjectsLocationsMeshesCreateCall) Context(ctx context.Context) *ProjectsLocationsMeshesCreateCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) Header() http.Header { +func (c *ProjectsLocationsMeshesCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsMeshesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.lbtrafficextension) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.mesh) if err != nil { return nil, err } c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/lbTrafficExtensions") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/meshes") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -7582,12 +7524,12 @@ func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) doRequest(alt string) ( return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.lbTrafficExtensions.create" call. +// Do executes the "networkservices.projects.locations.meshes.create" call. // Any non-2xx status code is an error. Response headers are in either // *Operation.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *ProjectsLocationsMeshesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -7619,7 +7561,7 @@ func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) Do(opts ...googleapi.Ca return ret, nil } -type ProjectsLocationsLbTrafficExtensionsDeleteCall struct { +type ProjectsLocationsMeshesDeleteCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -7627,58 +7569,40 @@ type ProjectsLocationsLbTrafficExtensionsDeleteCall struct { header_ http.Header } -// Delete: Deletes the specified `LbTrafficExtension` resource. +// Delete: Deletes a single Mesh. // -// - name: The name of the `LbTrafficExtension` resource to delete. Must be in -// the format -// `projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_ex -// tension}`. -func (r *ProjectsLocationsLbTrafficExtensionsService) Delete(name string) *ProjectsLocationsLbTrafficExtensionsDeleteCall { - c := &ProjectsLocationsLbTrafficExtensionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - name: A name of the Mesh to delete. Must be in the format +// `projects/*/locations/global/meshes/*`. +func (r *ProjectsLocationsMeshesService) Delete(name string) *ProjectsLocationsMeshesDeleteCall { + c := &ProjectsLocationsMeshesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } -// RequestId sets the optional parameter "requestId": An optional request ID to -// identify requests. Specify a unique request ID so that if you must retry -// your request, the server can ignore the request if it has already been -// completed. The server guarantees that for at least 60 minutes after the -// first request. For example, consider a situation where you make an initial -// request and the request times out. If you make the request again with the -// same request ID, the server can check if original operation with the same -// request ID was received, and if so, ignores the second request. This -// prevents clients from accidentally creating duplicate commitments. The -// request ID must be a valid UUID with the exception that zero UUID is not -// supported (00000000-0000-0000-0000-000000000000). -func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) RequestId(requestId string) *ProjectsLocationsLbTrafficExtensionsDeleteCall { - c.urlParams_.Set("requestId", requestId) - return c -} - // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTrafficExtensionsDeleteCall { +func (c *ProjectsLocationsMeshesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsLbTrafficExtensionsDeleteCall { +func (c *ProjectsLocationsMeshesDeleteCall) Context(ctx context.Context) *ProjectsLocationsMeshesDeleteCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) Header() http.Header { +func (c *ProjectsLocationsMeshesDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsMeshesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) var body io.Reader = nil c.urlParams_.Set("alt", alt) @@ -7696,12 +7620,12 @@ func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) doRequest(alt string) ( return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.lbTrafficExtensions.delete" call. +// Do executes the "networkservices.projects.locations.meshes.delete" call. // Any non-2xx status code is an error. Response headers are in either // *Operation.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *ProjectsLocationsMeshesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -7733,7 +7657,7 @@ func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) Do(opts ...googleapi.Ca return ret, nil } -type ProjectsLocationsLbTrafficExtensionsGetCall struct { +type ProjectsLocationsMeshesGetCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -7742,14 +7666,12 @@ type ProjectsLocationsLbTrafficExtensionsGetCall struct { header_ http.Header } -// Get: Gets details of the specified `LbTrafficExtension` resource. +// Get: Gets details of a single Mesh. // -// - name: A name of the `LbTrafficExtension` resource to get. Must be in the -// format -// `projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_ex -// tension}`. -func (r *ProjectsLocationsLbTrafficExtensionsService) Get(name string) *ProjectsLocationsLbTrafficExtensionsGetCall { - c := &ProjectsLocationsLbTrafficExtensionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - name: A name of the Mesh to get. Must be in the format +// `projects/*/locations/global/meshes/*`. +func (r *ProjectsLocationsMeshesService) Get(name string) *ProjectsLocationsMeshesGetCall { + c := &ProjectsLocationsMeshesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } @@ -7757,7 +7679,7 @@ func (r *ProjectsLocationsLbTrafficExtensionsService) Get(name string) *Projects // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsLbTrafficExtensionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTrafficExtensionsGetCall { +func (c *ProjectsLocationsMeshesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -7765,27 +7687,27 @@ func (c *ProjectsLocationsLbTrafficExtensionsGetCall) Fields(s ...googleapi.Fiel // IfNoneMatch sets an optional parameter which makes the operation fail if the // object's ETag matches the given value. This is useful for getting updates // only after the object has changed since the last request. -func (c *ProjectsLocationsLbTrafficExtensionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsLbTrafficExtensionsGetCall { +func (c *ProjectsLocationsMeshesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsMeshesGetCall { c.ifNoneMatch_ = entityTag return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsLbTrafficExtensionsGetCall) Context(ctx context.Context) *ProjectsLocationsLbTrafficExtensionsGetCall { +func (c *ProjectsLocationsMeshesGetCall) Context(ctx context.Context) *ProjectsLocationsMeshesGetCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsLbTrafficExtensionsGetCall) Header() http.Header { +func (c *ProjectsLocationsMeshesGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsLbTrafficExtensionsGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsMeshesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) if c.ifNoneMatch_ != "" { reqHeaders.Set("If-None-Match", c.ifNoneMatch_) @@ -7806,13 +7728,12 @@ func (c *ProjectsLocationsLbTrafficExtensionsGetCall) doRequest(alt string) (*ht return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.lbTrafficExtensions.get" call. +// Do executes the "networkservices.projects.locations.meshes.get" call. // Any non-2xx status code is an error. Response headers are in either -// *LbTrafficExtension.ServerResponse.Header or (if a response was returned at -// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to -// check whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsLbTrafficExtensionsGetCall) Do(opts ...googleapi.CallOption) (*LbTrafficExtension, error) { +// *Mesh.ServerResponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was returned. +func (c *ProjectsLocationsMeshesGetCall) Do(opts ...googleapi.CallOption) (*Mesh, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -7831,7 +7752,7 @@ func (c *ProjectsLocationsLbTrafficExtensionsGetCall) Do(opts ...googleapi.CallO if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &LbTrafficExtension{ + ret := &Mesh{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -7844,7 +7765,7 @@ func (c *ProjectsLocationsLbTrafficExtensionsGetCall) Do(opts ...googleapi.CallO return ret, nil } -type ProjectsLocationsLbTrafficExtensionsListCall struct { +type ProjectsLocationsMeshesListCall struct { s *Service parent string urlParams_ gensupport.URLParams @@ -7853,1058 +7774,90 @@ type ProjectsLocationsLbTrafficExtensionsListCall struct { header_ http.Header } -// List: Lists `LbTrafficExtension` resources in a given project and location. +// List: Lists Meshes in a given project and location. // -// - parent: The project and location from which the `LbTrafficExtension` -// resources are listed, specified in the following format: -// `projects/{project}/locations/{location}`. -func (r *ProjectsLocationsLbTrafficExtensionsService) List(parent string) *ProjectsLocationsLbTrafficExtensionsListCall { - c := &ProjectsLocationsLbTrafficExtensionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - parent: The project and location from which the Meshes should be listed, +// specified in the format `projects/*/locations/global`. +func (r *ProjectsLocationsMeshesService) List(parent string) *ProjectsLocationsMeshesListCall { + c := &ProjectsLocationsMeshesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent return c } -// Filter sets the optional parameter "filter": Filtering results. -func (c *ProjectsLocationsLbTrafficExtensionsListCall) Filter(filter string) *ProjectsLocationsLbTrafficExtensionsListCall { - c.urlParams_.Set("filter", filter) - return c -} - -// OrderBy sets the optional parameter "orderBy": Hint for how to order the -// results. -func (c *ProjectsLocationsLbTrafficExtensionsListCall) OrderBy(orderBy string) *ProjectsLocationsLbTrafficExtensionsListCall { - c.urlParams_.Set("orderBy", orderBy) - return c -} - -// PageSize sets the optional parameter "pageSize": Requested page size. The -// server might return fewer items than requested. If unspecified, the server -// picks an appropriate default. -func (c *ProjectsLocationsLbTrafficExtensionsListCall) PageSize(pageSize int64) *ProjectsLocationsLbTrafficExtensionsListCall { - c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) - return c -} - -// PageToken sets the optional parameter "pageToken": A token identifying a -// page of results that the server returns. -func (c *ProjectsLocationsLbTrafficExtensionsListCall) PageToken(pageToken string) *ProjectsLocationsLbTrafficExtensionsListCall { - c.urlParams_.Set("pageToken", pageToken) - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more -// details. -func (c *ProjectsLocationsLbTrafficExtensionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTrafficExtensionsListCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// IfNoneMatch sets an optional parameter which makes the operation fail if the -// object's ETag matches the given value. This is useful for getting updates -// only after the object has changed since the last request. -func (c *ProjectsLocationsLbTrafficExtensionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsLbTrafficExtensionsListCall { - c.ifNoneMatch_ = entityTag - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsLbTrafficExtensionsListCall) Context(ctx context.Context) *ProjectsLocationsLbTrafficExtensionsListCall { - c.ctx_ = ctx - return c -} - -// Header returns a http.Header that can be modified by the caller to add -// headers to the request. -func (c *ProjectsLocationsLbTrafficExtensionsListCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsLbTrafficExtensionsListCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } - var body io.Reader = nil - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/lbTrafficExtensions") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "networkservices.projects.locations.lbTrafficExtensions.list" call. -// Any non-2xx status code is an error. Response headers are in either -// *ListLbTrafficExtensionsResponse.ServerResponse.Header or (if a response was -// returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was because -// http.StatusNotModified was returned. -func (c *ProjectsLocationsLbTrafficExtensionsListCall) Do(opts ...googleapi.CallOption) (*ListLbTrafficExtensionsResponse, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, gensupport.WrapError(&googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - }) - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, gensupport.WrapError(err) - } - ret := &ListLbTrafficExtensionsResponse{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - -// Pages invokes f for each page of results. -// A non-nil error returned from f will halt the iteration. -// The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsLbTrafficExtensionsListCall) Pages(ctx context.Context, f func(*ListLbTrafficExtensionsResponse) error) error { - c.ctx_ = ctx - defer c.PageToken(c.urlParams_.Get("pageToken")) - for { - x, err := c.Do() - if err != nil { - return err - } - if err := f(x); err != nil { - return err - } - if x.NextPageToken == "" { - return nil - } - c.PageToken(x.NextPageToken) - } -} - -type ProjectsLocationsLbTrafficExtensionsPatchCall struct { - s *Service - name string - lbtrafficextension *LbTrafficExtension - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} - -// Patch: Updates the parameters of the specified `LbTrafficExtension` -// resource. -// -// - name: Identifier. Name of the `LbTrafficExtension` resource in the -// following format: -// `projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_ex -// tension}`. -func (r *ProjectsLocationsLbTrafficExtensionsService) Patch(name string, lbtrafficextension *LbTrafficExtension) *ProjectsLocationsLbTrafficExtensionsPatchCall { - c := &ProjectsLocationsLbTrafficExtensionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - c.lbtrafficextension = lbtrafficextension - return c -} - -// RequestId sets the optional parameter "requestId": An optional request ID to -// identify requests. Specify a unique request ID so that if you must retry -// your request, the server can ignore the request if it has already been -// completed. The server guarantees that for at least 60 minutes since the -// first request. For example, consider a situation where you make an initial -// request and the request times out. If you make the request again with the -// same request ID, the server can check if original operation with the same -// request ID was received, and if so, ignores the second request. This -// prevents clients from accidentally creating duplicate commitments. The -// request ID must be a valid UUID with the exception that zero UUID is not -// supported (00000000-0000-0000-0000-000000000000). -func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) RequestId(requestId string) *ProjectsLocationsLbTrafficExtensionsPatchCall { - c.urlParams_.Set("requestId", requestId) - return c -} - -// UpdateMask sets the optional parameter "updateMask": Used to specify the -// fields to be overwritten in the `LbTrafficExtension` resource by the update. -// The fields specified in the update_mask are relative to the resource, not -// the full request. A field is overwritten if it is in the mask. If the user -// does not specify a mask, then all fields are overwritten. -func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsLbTrafficExtensionsPatchCall { - c.urlParams_.Set("updateMask", updateMask) - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more -// details. -func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTrafficExtensionsPatchCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) Context(ctx context.Context) *ProjectsLocationsLbTrafficExtensionsPatchCall { - c.ctx_ = ctx - return c -} - -// Header returns a http.Header that can be modified by the caller to add -// headers to the request. -func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.lbtrafficextension) - if err != nil { - return nil, err - } - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("PATCH", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "name": c.name, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "networkservices.projects.locations.lbTrafficExtensions.patch" call. -// Any non-2xx status code is an error. Response headers are in either -// *Operation.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, gensupport.WrapError(&googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - }) - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, gensupport.WrapError(err) - } - ret := &Operation{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - -type ProjectsLocationsMeshesCreateCall struct { - s *Service - parent string - mesh *Mesh - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} - -// Create: Creates a new Mesh in a given project and location. -// -// - parent: The parent resource of the Mesh. Must be in the format -// `projects/*/locations/global`. -func (r *ProjectsLocationsMeshesService) Create(parent string, mesh *Mesh) *ProjectsLocationsMeshesCreateCall { - c := &ProjectsLocationsMeshesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - c.mesh = mesh - return c -} - -// MeshId sets the optional parameter "meshId": Required. Short name of the -// Mesh resource to be created. -func (c *ProjectsLocationsMeshesCreateCall) MeshId(meshId string) *ProjectsLocationsMeshesCreateCall { - c.urlParams_.Set("meshId", meshId) - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more -// details. -func (c *ProjectsLocationsMeshesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesCreateCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsMeshesCreateCall) Context(ctx context.Context) *ProjectsLocationsMeshesCreateCall { - c.ctx_ = ctx - return c -} - -// Header returns a http.Header that can be modified by the caller to add -// headers to the request. -func (c *ProjectsLocationsMeshesCreateCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsMeshesCreateCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.mesh) - if err != nil { - return nil, err - } - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/meshes") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "networkservices.projects.locations.meshes.create" call. -// Any non-2xx status code is an error. Response headers are in either -// *Operation.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsMeshesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, gensupport.WrapError(&googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - }) - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, gensupport.WrapError(err) - } - ret := &Operation{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - -type ProjectsLocationsMeshesDeleteCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} - -// Delete: Deletes a single Mesh. -// -// - name: A name of the Mesh to delete. Must be in the format -// `projects/*/locations/global/meshes/*`. -func (r *ProjectsLocationsMeshesService) Delete(name string) *ProjectsLocationsMeshesDeleteCall { - c := &ProjectsLocationsMeshesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more -// details. -func (c *ProjectsLocationsMeshesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesDeleteCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsMeshesDeleteCall) Context(ctx context.Context) *ProjectsLocationsMeshesDeleteCall { - c.ctx_ = ctx - return c -} - -// Header returns a http.Header that can be modified by the caller to add -// headers to the request. -func (c *ProjectsLocationsMeshesDeleteCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsMeshesDeleteCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) - var body io.Reader = nil - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("DELETE", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "name": c.name, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "networkservices.projects.locations.meshes.delete" call. -// Any non-2xx status code is an error. Response headers are in either -// *Operation.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsMeshesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, gensupport.WrapError(&googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - }) - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, gensupport.WrapError(err) - } - ret := &Operation{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - -type ProjectsLocationsMeshesGetCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header -} - -// Get: Gets details of a single Mesh. -// -// - name: A name of the Mesh to get. Must be in the format -// `projects/*/locations/global/meshes/*`. -func (r *ProjectsLocationsMeshesService) Get(name string) *ProjectsLocationsMeshesGetCall { - c := &ProjectsLocationsMeshesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more -// details. -func (c *ProjectsLocationsMeshesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesGetCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// IfNoneMatch sets an optional parameter which makes the operation fail if the -// object's ETag matches the given value. This is useful for getting updates -// only after the object has changed since the last request. -func (c *ProjectsLocationsMeshesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsMeshesGetCall { - c.ifNoneMatch_ = entityTag - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsMeshesGetCall) Context(ctx context.Context) *ProjectsLocationsMeshesGetCall { - c.ctx_ = ctx - return c -} - -// Header returns a http.Header that can be modified by the caller to add -// headers to the request. -func (c *ProjectsLocationsMeshesGetCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsMeshesGetCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } - var body io.Reader = nil - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "name": c.name, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "networkservices.projects.locations.meshes.get" call. -// Any non-2xx status code is an error. Response headers are in either -// *Mesh.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsMeshesGetCall) Do(opts ...googleapi.CallOption) (*Mesh, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, gensupport.WrapError(&googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - }) - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, gensupport.WrapError(err) - } - ret := &Mesh{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - -type ProjectsLocationsMeshesGetIamPolicyCall struct { - s *Service - resource string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header -} - -// GetIamPolicy: Gets the access control policy for a resource. Returns an -// empty policy if the resource exists and does not have a policy set. -// -// - resource: REQUIRED: The resource for which the policy is being requested. -// See Resource names (https://cloud.google.com/apis/design/resource_names) -// for the appropriate value for this field. -func (r *ProjectsLocationsMeshesService) GetIamPolicy(resource string) *ProjectsLocationsMeshesGetIamPolicyCall { - c := &ProjectsLocationsMeshesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.resource = resource - return c -} - -// OptionsRequestedPolicyVersion sets the optional parameter -// "options.requestedPolicyVersion": The maximum policy version that will be -// used to format the policy. Valid values are 0, 1, and 3. Requests specifying -// an invalid value will be rejected. Requests for policies with any -// conditional role bindings must specify version 3. Policies with no -// conditional role bindings may specify any valid value or leave the field -// unset. The policy in the response might use the policy version that you -// specified, or it might use a lower policy version. For example, if you -// specify version 3, but the policy has no conditional role bindings, the -// response uses version 1. To learn which resources support conditions in -// their IAM policies, see the IAM documentation -// (https://cloud.google.com/iam/help/conditions/resource-policies). -func (c *ProjectsLocationsMeshesGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsMeshesGetIamPolicyCall { - c.urlParams_.Set("options.requestedPolicyVersion", fmt.Sprint(optionsRequestedPolicyVersion)) - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more -// details. -func (c *ProjectsLocationsMeshesGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesGetIamPolicyCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// IfNoneMatch sets an optional parameter which makes the operation fail if the -// object's ETag matches the given value. This is useful for getting updates -// only after the object has changed since the last request. -func (c *ProjectsLocationsMeshesGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsMeshesGetIamPolicyCall { - c.ifNoneMatch_ = entityTag - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsMeshesGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsMeshesGetIamPolicyCall { - c.ctx_ = ctx - return c -} - -// Header returns a http.Header that can be modified by the caller to add -// headers to the request. -func (c *ProjectsLocationsMeshesGetIamPolicyCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsMeshesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } - var body io.Reader = nil - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+resource}:getIamPolicy") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "resource": c.resource, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "networkservices.projects.locations.meshes.getIamPolicy" call. -// Any non-2xx status code is an error. Response headers are in either -// *Policy.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsMeshesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, gensupport.WrapError(&googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - }) - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, gensupport.WrapError(err) - } - ret := &Policy{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - -type ProjectsLocationsMeshesListCall struct { - s *Service - parent string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header -} - -// List: Lists Meshes in a given project and location. -// -// - parent: The project and location from which the Meshes should be listed, -// specified in the format `projects/*/locations/global`. -func (r *ProjectsLocationsMeshesService) List(parent string) *ProjectsLocationsMeshesListCall { - c := &ProjectsLocationsMeshesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - return c -} - -// PageSize sets the optional parameter "pageSize": Maximum number of Meshes to -// return per call. -func (c *ProjectsLocationsMeshesListCall) PageSize(pageSize int64) *ProjectsLocationsMeshesListCall { - c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) - return c -} - -// PageToken sets the optional parameter "pageToken": The value returned by the -// last `ListMeshesResponse` Indicates that this is a continuation of a prior -// `ListMeshes` call, and that the system should return the next page of data. -func (c *ProjectsLocationsMeshesListCall) PageToken(pageToken string) *ProjectsLocationsMeshesListCall { - c.urlParams_.Set("pageToken", pageToken) - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more -// details. -func (c *ProjectsLocationsMeshesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesListCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// IfNoneMatch sets an optional parameter which makes the operation fail if the -// object's ETag matches the given value. This is useful for getting updates -// only after the object has changed since the last request. -func (c *ProjectsLocationsMeshesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsMeshesListCall { - c.ifNoneMatch_ = entityTag - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsMeshesListCall) Context(ctx context.Context) *ProjectsLocationsMeshesListCall { - c.ctx_ = ctx - return c -} - -// Header returns a http.Header that can be modified by the caller to add -// headers to the request. -func (c *ProjectsLocationsMeshesListCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsMeshesListCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } - var body io.Reader = nil - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/meshes") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "networkservices.projects.locations.meshes.list" call. -// Any non-2xx status code is an error. Response headers are in either -// *ListMeshesResponse.ServerResponse.Header or (if a response was returned at -// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to -// check whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsMeshesListCall) Do(opts ...googleapi.CallOption) (*ListMeshesResponse, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, gensupport.WrapError(&googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - }) - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, gensupport.WrapError(err) - } - ret := &ListMeshesResponse{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - -// Pages invokes f for each page of results. -// A non-nil error returned from f will halt the iteration. -// The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsMeshesListCall) Pages(ctx context.Context, f func(*ListMeshesResponse) error) error { - c.ctx_ = ctx - defer c.PageToken(c.urlParams_.Get("pageToken")) - for { - x, err := c.Do() - if err != nil { - return err - } - if err := f(x); err != nil { - return err - } - if x.NextPageToken == "" { - return nil - } - c.PageToken(x.NextPageToken) - } -} - -type ProjectsLocationsMeshesPatchCall struct { - s *Service - name string - mesh *Mesh - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} - -// Patch: Updates the parameters of a single Mesh. -// -// - name: Name of the Mesh resource. It matches pattern -// `projects/*/locations/global/meshes/`. -func (r *ProjectsLocationsMeshesService) Patch(name string, mesh *Mesh) *ProjectsLocationsMeshesPatchCall { - c := &ProjectsLocationsMeshesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - c.mesh = mesh - return c -} - -// UpdateMask sets the optional parameter "updateMask": Field mask is used to -// specify the fields to be overwritten in the Mesh resource by the update. The -// fields specified in the update_mask are relative to the resource, not the -// full request. A field will be overwritten if it is in the mask. If the user -// does not provide a mask then all fields will be overwritten. -func (c *ProjectsLocationsMeshesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsMeshesPatchCall { - c.urlParams_.Set("updateMask", updateMask) - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more -// details. -func (c *ProjectsLocationsMeshesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesPatchCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsMeshesPatchCall) Context(ctx context.Context) *ProjectsLocationsMeshesPatchCall { - c.ctx_ = ctx - return c -} - -// Header returns a http.Header that can be modified by the caller to add -// headers to the request. -func (c *ProjectsLocationsMeshesPatchCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsMeshesPatchCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.mesh) - if err != nil { - return nil, err - } - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("PATCH", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "name": c.name, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "networkservices.projects.locations.meshes.patch" call. -// Any non-2xx status code is an error. Response headers are in either -// *Operation.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsMeshesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, gensupport.WrapError(&googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - }) - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, gensupport.WrapError(err) - } - ret := &Operation{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - -type ProjectsLocationsMeshesSetIamPolicyCall struct { - s *Service - resource string - setiampolicyrequest *SetIamPolicyRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +// PageSize sets the optional parameter "pageSize": Maximum number of Meshes to +// return per call. +func (c *ProjectsLocationsMeshesListCall) PageSize(pageSize int64) *ProjectsLocationsMeshesListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c } -// SetIamPolicy: Sets the access control policy on the specified resource. -// Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, -// and `PERMISSION_DENIED` errors. -// -// - resource: REQUIRED: The resource for which the policy is being specified. -// See Resource names (https://cloud.google.com/apis/design/resource_names) -// for the appropriate value for this field. -func (r *ProjectsLocationsMeshesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsMeshesSetIamPolicyCall { - c := &ProjectsLocationsMeshesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.resource = resource - c.setiampolicyrequest = setiampolicyrequest +// PageToken sets the optional parameter "pageToken": The value returned by the +// last `ListMeshesResponse` Indicates that this is a continuation of a prior +// `ListMeshes` call, and that the system should return the next page of data. +func (c *ProjectsLocationsMeshesListCall) PageToken(pageToken string) *ProjectsLocationsMeshesListCall { + c.urlParams_.Set("pageToken", pageToken) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsMeshesSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesSetIamPolicyCall { +func (c *ProjectsLocationsMeshesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets an optional parameter which makes the operation fail if the +// object's ETag matches the given value. This is useful for getting updates +// only after the object has changed since the last request. +func (c *ProjectsLocationsMeshesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsMeshesListCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsMeshesSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsMeshesSetIamPolicyCall { +func (c *ProjectsLocationsMeshesListCall) Context(ctx context.Context) *ProjectsLocationsMeshesListCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsMeshesSetIamPolicyCall) Header() http.Header { +func (c *ProjectsLocationsMeshesListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsMeshesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.setiampolicyrequest) - if err != nil { - return nil, err +func (c *ProjectsLocationsMeshesListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } + var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+resource}:setIamPolicy") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/meshes") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "resource": c.resource, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.meshes.setIamPolicy" call. +// Do executes the "networkservices.projects.locations.meshes.list" call. // Any non-2xx status code is an error. Response headers are in either -// *Policy.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsMeshesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) { +// *ListMeshesResponse.ServerResponse.Header or (if a response was returned at +// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to +// check whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsMeshesListCall) Do(opts ...googleapi.CallOption) (*ListMeshesResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -8923,7 +7876,7 @@ func (c *ProjectsLocationsMeshesSetIamPolicyCall) Do(opts ...googleapi.CallOptio if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &Policy{ + ret := &ListMeshesResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -8936,84 +7889,108 @@ func (c *ProjectsLocationsMeshesSetIamPolicyCall) Do(opts ...googleapi.CallOptio return ret, nil } -type ProjectsLocationsMeshesTestIamPermissionsCall struct { - s *Service - resource string - testiampermissionsrequest *TestIamPermissionsRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsMeshesListCall) Pages(ctx context.Context, f func(*ListMeshesResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } } -// TestIamPermissions: Returns permissions that a caller has on the specified -// resource. If the resource does not exist, this will return an empty set of -// permissions, not a `NOT_FOUND` error. Note: This operation is designed to be -// used for building permission-aware UIs and command-line tools, not for -// authorization checking. This operation may "fail open" without warning. +type ProjectsLocationsMeshesPatchCall struct { + s *Service + name string + mesh *Mesh + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Patch: Updates the parameters of a single Mesh. // -// - resource: REQUIRED: The resource for which the policy detail is being -// requested. See Resource names -// (https://cloud.google.com/apis/design/resource_names) for the appropriate -// value for this field. -func (r *ProjectsLocationsMeshesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsMeshesTestIamPermissionsCall { - c := &ProjectsLocationsMeshesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.resource = resource - c.testiampermissionsrequest = testiampermissionsrequest +// - name: Name of the Mesh resource. It matches pattern +// `projects/*/locations/global/meshes/`. +func (r *ProjectsLocationsMeshesService) Patch(name string, mesh *Mesh) *ProjectsLocationsMeshesPatchCall { + c := &ProjectsLocationsMeshesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.mesh = mesh + return c +} + +// UpdateMask sets the optional parameter "updateMask": Field mask is used to +// specify the fields to be overwritten in the Mesh resource by the update. The +// fields specified in the update_mask are relative to the resource, not the +// full request. A field will be overwritten if it is in the mask. If the user +// does not provide a mask then all fields will be overwritten. +func (c *ProjectsLocationsMeshesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsMeshesPatchCall { + c.urlParams_.Set("updateMask", updateMask) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsMeshesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesTestIamPermissionsCall { +func (c *ProjectsLocationsMeshesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsMeshesTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsMeshesTestIamPermissionsCall { +func (c *ProjectsLocationsMeshesPatchCall) Context(ctx context.Context) *ProjectsLocationsMeshesPatchCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsMeshesTestIamPermissionsCall) Header() http.Header { +func (c *ProjectsLocationsMeshesPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsMeshesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsMeshesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.testiampermissionsrequest) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.mesh) if err != nil { return nil, err } c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+resource}:testIamPermissions") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("PATCH", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "resource": c.resource, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.meshes.testIamPermissions" call. +// Do executes the "networkservices.projects.locations.meshes.patch" call. // Any non-2xx status code is an error. Response headers are in either -// *TestIamPermissionsResponse.ServerResponse.Header or (if a response was -// returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was because -// http.StatusNotModified was returned. -func (c *ProjectsLocationsMeshesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error) { +// *Operation.ServerResponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was returned. +func (c *ProjectsLocationsMeshesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -9032,7 +8009,7 @@ func (c *ProjectsLocationsMeshesTestIamPermissionsCall) Do(opts ...googleapi.Cal if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &TestIamPermissionsResponse{ + ret := &Operation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -9668,115 +8645,7 @@ func (c *ProjectsLocationsServiceBindingsDeleteCall) doRequest(alt string) (*htt c.urlParams_.Set("prettyPrint", "false") urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("DELETE", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "name": c.name, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "networkservices.projects.locations.serviceBindings.delete" call. -// Any non-2xx status code is an error. Response headers are in either -// *Operation.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsServiceBindingsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, gensupport.WrapError(&googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - }) - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, gensupport.WrapError(err) - } - ret := &Operation{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - -type ProjectsLocationsServiceBindingsGetCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header -} - -// Get: Gets details of a single ServiceBinding. -// -// - name: A name of the ServiceBinding to get. Must be in the format -// `projects/*/locations/global/serviceBindings/*`. -func (r *ProjectsLocationsServiceBindingsService) Get(name string) *ProjectsLocationsServiceBindingsGetCall { - c := &ProjectsLocationsServiceBindingsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more -// details. -func (c *ProjectsLocationsServiceBindingsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsServiceBindingsGetCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// IfNoneMatch sets an optional parameter which makes the operation fail if the -// object's ETag matches the given value. This is useful for getting updates -// only after the object has changed since the last request. -func (c *ProjectsLocationsServiceBindingsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsServiceBindingsGetCall { - c.ifNoneMatch_ = entityTag - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsServiceBindingsGetCall) Context(ctx context.Context) *ProjectsLocationsServiceBindingsGetCall { - c.ctx_ = ctx - return c -} - -// Header returns a http.Header that can be modified by the caller to add -// headers to the request. -func (c *ProjectsLocationsServiceBindingsGetCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsServiceBindingsGetCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } - var body io.Reader = nil - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("DELETE", urls, body) if err != nil { return nil, err } @@ -9787,12 +8656,12 @@ func (c *ProjectsLocationsServiceBindingsGetCall) doRequest(alt string) (*http.R return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.serviceBindings.get" call. +// Do executes the "networkservices.projects.locations.serviceBindings.delete" call. // Any non-2xx status code is an error. Response headers are in either -// *ServiceBinding.ServerResponse.Header or (if a response was returned at all) -// in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// *Operation.ServerResponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsServiceBindingsGetCall) Do(opts ...googleapi.CallOption) (*ServiceBinding, error) { +func (c *ProjectsLocationsServiceBindingsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -9811,7 +8680,7 @@ func (c *ProjectsLocationsServiceBindingsGetCall) Do(opts ...googleapi.CallOptio if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &ServiceBinding{ + ret := &Operation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -9824,48 +8693,29 @@ func (c *ProjectsLocationsServiceBindingsGetCall) Do(opts ...googleapi.CallOptio return ret, nil } -type ProjectsLocationsServiceBindingsGetIamPolicyCall struct { +type ProjectsLocationsServiceBindingsGetCall struct { s *Service - resource string + name string urlParams_ gensupport.URLParams ifNoneMatch_ string ctx_ context.Context header_ http.Header } -// GetIamPolicy: Gets the access control policy for a resource. Returns an -// empty policy if the resource exists and does not have a policy set. +// Get: Gets details of a single ServiceBinding. // -// - resource: REQUIRED: The resource for which the policy is being requested. -// See Resource names (https://cloud.google.com/apis/design/resource_names) -// for the appropriate value for this field. -func (r *ProjectsLocationsServiceBindingsService) GetIamPolicy(resource string) *ProjectsLocationsServiceBindingsGetIamPolicyCall { - c := &ProjectsLocationsServiceBindingsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.resource = resource - return c -} - -// OptionsRequestedPolicyVersion sets the optional parameter -// "options.requestedPolicyVersion": The maximum policy version that will be -// used to format the policy. Valid values are 0, 1, and 3. Requests specifying -// an invalid value will be rejected. Requests for policies with any -// conditional role bindings must specify version 3. Policies with no -// conditional role bindings may specify any valid value or leave the field -// unset. The policy in the response might use the policy version that you -// specified, or it might use a lower policy version. For example, if you -// specify version 3, but the policy has no conditional role bindings, the -// response uses version 1. To learn which resources support conditions in -// their IAM policies, see the IAM documentation -// (https://cloud.google.com/iam/help/conditions/resource-policies). -func (c *ProjectsLocationsServiceBindingsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsServiceBindingsGetIamPolicyCall { - c.urlParams_.Set("options.requestedPolicyVersion", fmt.Sprint(optionsRequestedPolicyVersion)) +// - name: A name of the ServiceBinding to get. Must be in the format +// `projects/*/locations/global/serviceBindings/*`. +func (r *ProjectsLocationsServiceBindingsService) Get(name string) *ProjectsLocationsServiceBindingsGetCall { + c := &ProjectsLocationsServiceBindingsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. -func (c *ProjectsLocationsServiceBindingsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsServiceBindingsGetIamPolicyCall { +func (c *ProjectsLocationsServiceBindingsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsServiceBindingsGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -9873,27 +8723,27 @@ func (c *ProjectsLocationsServiceBindingsGetIamPolicyCall) Fields(s ...googleapi // IfNoneMatch sets an optional parameter which makes the operation fail if the // object's ETag matches the given value. This is useful for getting updates // only after the object has changed since the last request. -func (c *ProjectsLocationsServiceBindingsGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsServiceBindingsGetIamPolicyCall { +func (c *ProjectsLocationsServiceBindingsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsServiceBindingsGetCall { c.ifNoneMatch_ = entityTag return c } // Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsServiceBindingsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsServiceBindingsGetIamPolicyCall { +func (c *ProjectsLocationsServiceBindingsGetCall) Context(ctx context.Context) *ProjectsLocationsServiceBindingsGetCall { c.ctx_ = ctx return c } // Header returns a http.Header that can be modified by the caller to add // headers to the request. -func (c *ProjectsLocationsServiceBindingsGetIamPolicyCall) Header() http.Header { +func (c *ProjectsLocationsServiceBindingsGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsServiceBindingsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsServiceBindingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) if c.ifNoneMatch_ != "" { reqHeaders.Set("If-None-Match", c.ifNoneMatch_) @@ -9901,7 +8751,7 @@ func (c *ProjectsLocationsServiceBindingsGetIamPolicyCall) doRequest(alt string) var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+resource}:getIamPolicy") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -9909,17 +8759,17 @@ func (c *ProjectsLocationsServiceBindingsGetIamPolicyCall) doRequest(alt string) } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "resource": c.resource, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "networkservices.projects.locations.serviceBindings.getIamPolicy" call. +// Do executes the "networkservices.projects.locations.serviceBindings.get" call. // Any non-2xx status code is an error. Response headers are in either -// *Policy.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// *ServiceBinding.ServerResponse.Header or (if a response was returned at all) +// in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsServiceBindingsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) { +func (c *ProjectsLocationsServiceBindingsGetCall) Do(opts ...googleapi.CallOption) (*ServiceBinding, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -9938,7 +8788,7 @@ func (c *ProjectsLocationsServiceBindingsGetIamPolicyCall) Do(opts ...googleapi. if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &Policy{ + ret := &ServiceBinding{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -10097,220 +8947,6 @@ func (c *ProjectsLocationsServiceBindingsListCall) Pages(ctx context.Context, f } } -type ProjectsLocationsServiceBindingsSetIamPolicyCall struct { - s *Service - resource string - setiampolicyrequest *SetIamPolicyRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} - -// SetIamPolicy: Sets the access control policy on the specified resource. -// Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, -// and `PERMISSION_DENIED` errors. -// -// - resource: REQUIRED: The resource for which the policy is being specified. -// See Resource names (https://cloud.google.com/apis/design/resource_names) -// for the appropriate value for this field. -func (r *ProjectsLocationsServiceBindingsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsServiceBindingsSetIamPolicyCall { - c := &ProjectsLocationsServiceBindingsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.resource = resource - c.setiampolicyrequest = setiampolicyrequest - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more -// details. -func (c *ProjectsLocationsServiceBindingsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsServiceBindingsSetIamPolicyCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsServiceBindingsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsServiceBindingsSetIamPolicyCall { - c.ctx_ = ctx - return c -} - -// Header returns a http.Header that can be modified by the caller to add -// headers to the request. -func (c *ProjectsLocationsServiceBindingsSetIamPolicyCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsServiceBindingsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.setiampolicyrequest) - if err != nil { - return nil, err - } - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+resource}:setIamPolicy") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "resource": c.resource, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "networkservices.projects.locations.serviceBindings.setIamPolicy" call. -// Any non-2xx status code is an error. Response headers are in either -// *Policy.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsServiceBindingsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, gensupport.WrapError(&googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - }) - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, gensupport.WrapError(err) - } - ret := &Policy{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - -type ProjectsLocationsServiceBindingsTestIamPermissionsCall struct { - s *Service - resource string - testiampermissionsrequest *TestIamPermissionsRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} - -// TestIamPermissions: Returns permissions that a caller has on the specified -// resource. If the resource does not exist, this will return an empty set of -// permissions, not a `NOT_FOUND` error. Note: This operation is designed to be -// used for building permission-aware UIs and command-line tools, not for -// authorization checking. This operation may "fail open" without warning. -// -// - resource: REQUIRED: The resource for which the policy detail is being -// requested. See Resource names -// (https://cloud.google.com/apis/design/resource_names) for the appropriate -// value for this field. -func (r *ProjectsLocationsServiceBindingsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsServiceBindingsTestIamPermissionsCall { - c := &ProjectsLocationsServiceBindingsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.resource = resource - c.testiampermissionsrequest = testiampermissionsrequest - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more -// details. -func (c *ProjectsLocationsServiceBindingsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsServiceBindingsTestIamPermissionsCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsServiceBindingsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsServiceBindingsTestIamPermissionsCall { - c.ctx_ = ctx - return c -} - -// Header returns a http.Header that can be modified by the caller to add -// headers to the request. -func (c *ProjectsLocationsServiceBindingsTestIamPermissionsCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsServiceBindingsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.testiampermissionsrequest) - if err != nil { - return nil, err - } - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+resource}:testIamPermissions") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "resource": c.resource, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "networkservices.projects.locations.serviceBindings.testIamPermissions" call. -// Any non-2xx status code is an error. Response headers are in either -// *TestIamPermissionsResponse.ServerResponse.Header or (if a response was -// returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was because -// http.StatusNotModified was returned. -func (c *ProjectsLocationsServiceBindingsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, gensupport.WrapError(&googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - }) - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, gensupport.WrapError(err) - } - ret := &TestIamPermissionsResponse{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - type ProjectsLocationsServiceLbPoliciesCreateCall struct { s *Service parent string @@ -12271,7 +10907,7 @@ type ProjectsLocationsTlsRoutesPatchCall struct { // Patch: Updates the parameters of a single TlsRoute. // -// - name: Name of the TlsRoute resource. It matches pattern +// - name: Identifier. Name of the TlsRoute resource. It matches pattern // `projects/*/locations/global/tlsRoutes/tls_route_name>`. func (r *ProjectsLocationsTlsRoutesService) Patch(name string, tlsroute *TlsRoute) *ProjectsLocationsTlsRoutesPatchCall { c := &ProjectsLocationsTlsRoutesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} diff --git a/vendor/google.golang.org/api/tpu/v1/tpu-gen.go b/vendor/google.golang.org/api/tpu/v1/tpu-gen.go index 32a24ad72e..30463fd384 100644 --- a/vendor/google.golang.org/api/tpu/v1/tpu-gen.go +++ b/vendor/google.golang.org/api/tpu/v1/tpu-gen.go @@ -245,9 +245,9 @@ type AcceleratorType struct { NullFields []string `json:"-"` } -func (s *AcceleratorType) MarshalJSON() ([]byte, error) { +func (s AcceleratorType) MarshalJSON() ([]byte, error) { type NoMethod AcceleratorType - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Empty: A generic empty message that you can re-use to avoid defining @@ -283,9 +283,9 @@ type ListAcceleratorTypesResponse struct { NullFields []string `json:"-"` } -func (s *ListAcceleratorTypesResponse) MarshalJSON() ([]byte, error) { +func (s ListAcceleratorTypesResponse) MarshalJSON() ([]byte, error) { type NoMethod ListAcceleratorTypesResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListLocationsResponse: The response message for Locations.ListLocations. @@ -311,9 +311,9 @@ type ListLocationsResponse struct { NullFields []string `json:"-"` } -func (s *ListLocationsResponse) MarshalJSON() ([]byte, error) { +func (s ListLocationsResponse) MarshalJSON() ([]byte, error) { type NoMethod ListLocationsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListNodesResponse: Response for ListNodes. @@ -340,9 +340,9 @@ type ListNodesResponse struct { NullFields []string `json:"-"` } -func (s *ListNodesResponse) MarshalJSON() ([]byte, error) { +func (s ListNodesResponse) MarshalJSON() ([]byte, error) { type NoMethod ListNodesResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListOperationsResponse: The response message for Operations.ListOperations. @@ -368,9 +368,9 @@ type ListOperationsResponse struct { NullFields []string `json:"-"` } -func (s *ListOperationsResponse) MarshalJSON() ([]byte, error) { +func (s ListOperationsResponse) MarshalJSON() ([]byte, error) { type NoMethod ListOperationsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ListTensorFlowVersionsResponse: Response for ListTensorFlowVersions. @@ -397,9 +397,9 @@ type ListTensorFlowVersionsResponse struct { NullFields []string `json:"-"` } -func (s *ListTensorFlowVersionsResponse) MarshalJSON() ([]byte, error) { +func (s ListTensorFlowVersionsResponse) MarshalJSON() ([]byte, error) { type NoMethod ListTensorFlowVersionsResponse - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Location: A resource that represents a Google Cloud location. @@ -435,9 +435,9 @@ type Location struct { NullFields []string `json:"-"` } -func (s *Location) MarshalJSON() ([]byte, error) { +func (s Location) MarshalJSON() ([]byte, error) { type NoMethod Location - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // NetworkEndpoint: A network endpoint over which a TPU worker can be reached. @@ -459,9 +459,9 @@ type NetworkEndpoint struct { NullFields []string `json:"-"` } -func (s *NetworkEndpoint) MarshalJSON() ([]byte, error) { +func (s NetworkEndpoint) MarshalJSON() ([]byte, error) { type NoMethod NetworkEndpoint - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Node: A TPU instance. @@ -579,9 +579,9 @@ type Node struct { NullFields []string `json:"-"` } -func (s *Node) MarshalJSON() ([]byte, error) { +func (s Node) MarshalJSON() ([]byte, error) { type NoMethod Node - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // Operation: This resource represents a long-running operation that is the @@ -626,9 +626,9 @@ type Operation struct { NullFields []string `json:"-"` } -func (s *Operation) MarshalJSON() ([]byte, error) { +func (s Operation) MarshalJSON() ([]byte, error) { type NoMethod Operation - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // OperationMetadata: Metadata describing an Operation @@ -661,9 +661,9 @@ type OperationMetadata struct { NullFields []string `json:"-"` } -func (s *OperationMetadata) MarshalJSON() ([]byte, error) { +func (s OperationMetadata) MarshalJSON() ([]byte, error) { type NoMethod OperationMetadata - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // ReimageNodeRequest: Request for ReimageNode. @@ -683,9 +683,9 @@ type ReimageNodeRequest struct { NullFields []string `json:"-"` } -func (s *ReimageNodeRequest) MarshalJSON() ([]byte, error) { +func (s ReimageNodeRequest) MarshalJSON() ([]byte, error) { type NoMethod ReimageNodeRequest - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // SchedulingConfig: Sets the scheduling options for this node. @@ -707,9 +707,9 @@ type SchedulingConfig struct { NullFields []string `json:"-"` } -func (s *SchedulingConfig) MarshalJSON() ([]byte, error) { +func (s SchedulingConfig) MarshalJSON() ([]byte, error) { type NoMethod SchedulingConfig - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StartNodeRequest: Request for StartNode. @@ -745,9 +745,9 @@ type Status struct { NullFields []string `json:"-"` } -func (s *Status) MarshalJSON() ([]byte, error) { +func (s Status) MarshalJSON() ([]byte, error) { type NoMethod Status - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // StopNodeRequest: Request for StopNode. @@ -788,9 +788,9 @@ type Symptom struct { NullFields []string `json:"-"` } -func (s *Symptom) MarshalJSON() ([]byte, error) { +func (s Symptom) MarshalJSON() ([]byte, error) { type NoMethod Symptom - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // TensorFlowVersion: A tensorflow version that a Node can be configured with. @@ -815,9 +815,9 @@ type TensorFlowVersion struct { NullFields []string `json:"-"` } -func (s *TensorFlowVersion) MarshalJSON() ([]byte, error) { +func (s TensorFlowVersion) MarshalJSON() ([]byte, error) { type NoMethod TensorFlowVersion - return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } type ProjectsLocationsGetCall struct { diff --git a/vendor/google.golang.org/api/transport/http/dial.go b/vendor/google.golang.org/api/transport/http/dial.go index a36e24315b..3747d0df0b 100644 --- a/vendor/google.golang.org/api/transport/http/dial.go +++ b/vendor/google.golang.org/api/transport/http/dial.go @@ -107,10 +107,6 @@ func newClientNewAuth(ctx context.Context, base http.RoundTripper, ds *internal. if ds.RequestReason != "" { headers.Set("X-goog-request-reason", ds.RequestReason) } - tokenURL, oauth2Client, err := internal.GetOAuth2Configuration(ctx, ds) - if err != nil { - return nil, err - } client, err := httptransport.NewClient(&httptransport.Options{ DisableTelemetry: ds.TelemetryDisabled, DisableAuthentication: ds.NoAuth, @@ -125,8 +121,6 @@ func newClientNewAuth(ctx context.Context, base http.RoundTripper, ds *internal. Audience: aud, CredentialsFile: ds.CredentialsFile, CredentialsJSON: ds.CredentialsJSON, - TokenURL: tokenURL, - Client: oauth2Client, }, InternalOptions: &httptransport.InternalOptions{ EnableJWTWithScope: ds.EnableJwtWithScope, diff --git a/vendor/google.golang.org/genproto/googleapis/api/annotations/client.pb.go b/vendor/google.golang.org/genproto/googleapis/api/annotations/client.pb.go index 636edb460a..fe19e8f97a 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/annotations/client.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/annotations/client.pb.go @@ -1024,6 +1024,13 @@ type MethodSettings struct { // The fully qualified name of the method, for which the options below apply. // This is used to find the method to apply the options. + // + // Example: + // + // publishing: + // method_settings: + // - selector: google.storage.control.v2.StorageControl.CreateFolder + // # method settings for CreateFolder... Selector string `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"` // Describes settings to use for long-running operations when generating // API methods for RPCs. Complements RPCs that use the annotations in @@ -1033,15 +1040,12 @@ type MethodSettings struct { // // publishing: // method_settings: - // - selector: google.cloud.speech.v2.Speech.BatchRecognize - // long_running: - // initial_poll_delay: - // seconds: 60 # 1 minute - // poll_delay_multiplier: 1.5 - // max_poll_delay: - // seconds: 360 # 6 minutes - // total_poll_timeout: - // seconds: 54000 # 90 minutes + // - selector: google.cloud.speech.v2.Speech.BatchRecognize + // long_running: + // initial_poll_delay: 60s # 1 minute + // poll_delay_multiplier: 1.5 + // max_poll_delay: 360s # 6 minutes + // total_poll_timeout: 54000s # 90 minutes LongRunning *MethodSettings_LongRunning `protobuf:"bytes,2,opt,name=long_running,json=longRunning,proto3" json:"long_running,omitempty"` // List of top-level fields of the request message, that should be // automatically populated by the client libraries based on their @@ -1051,9 +1055,9 @@ type MethodSettings struct { // // publishing: // method_settings: - // - selector: google.example.v1.ExampleService.CreateExample - // auto_populated_fields: - // - request_id + // - selector: google.example.v1.ExampleService.CreateExample + // auto_populated_fields: + // - request_id AutoPopulatedFields []string `protobuf:"bytes,3,rep,name=auto_populated_fields,json=autoPopulatedFields,proto3" json:"auto_populated_fields,omitempty"` } diff --git a/vendor/google.golang.org/genproto/googleapis/api/annotations/field_info.pb.go b/vendor/google.golang.org/genproto/googleapis/api/annotations/field_info.pb.go index d339dfb02a..a462e7d013 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/annotations/field_info.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/annotations/field_info.pb.go @@ -121,6 +121,11 @@ type FieldInfo struct { // any API consumer, just documents the API's format for the field it is // applied to. Format FieldInfo_Format `protobuf:"varint,1,opt,name=format,proto3,enum=google.api.FieldInfo_Format" json:"format,omitempty"` + // The type(s) that the annotated, generic field may represent. + // + // Currently, this must only be used on fields of type `google.protobuf.Any`. + // Supporting other generic types may be considered in the future. + ReferencedTypes []*TypeReference `protobuf:"bytes,2,rep,name=referenced_types,json=referencedTypes,proto3" json:"referenced_types,omitempty"` } func (x *FieldInfo) Reset() { @@ -162,6 +167,70 @@ func (x *FieldInfo) GetFormat() FieldInfo_Format { return FieldInfo_FORMAT_UNSPECIFIED } +func (x *FieldInfo) GetReferencedTypes() []*TypeReference { + if x != nil { + return x.ReferencedTypes + } + return nil +} + +// A reference to a message type, for use in [FieldInfo][google.api.FieldInfo]. +type TypeReference struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The name of the type that the annotated, generic field may represent. + // If the type is in the same protobuf package, the value can be the simple + // message name e.g., `"MyMessage"`. Otherwise, the value must be the + // fully-qualified message name e.g., `"google.library.v1.Book"`. + // + // If the type(s) are unknown to the service (e.g. the field accepts generic + // user input), use the wildcard `"*"` to denote this behavior. + // + // See [AIP-202](https://google.aip.dev/202#type-references) for more details. + TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` +} + +func (x *TypeReference) Reset() { + *x = TypeReference{} + if protoimpl.UnsafeEnabled { + mi := &file_google_api_field_info_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TypeReference) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TypeReference) ProtoMessage() {} + +func (x *TypeReference) ProtoReflect() protoreflect.Message { + mi := &file_google_api_field_info_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TypeReference.ProtoReflect.Descriptor instead. +func (*TypeReference) Descriptor() ([]byte, []int) { + return file_google_api_field_info_proto_rawDescGZIP(), []int{1} +} + +func (x *TypeReference) GetTypeName() string { + if x != nil { + return x.TypeName + } + return "" +} + var file_google_api_field_info_proto_extTypes = []protoimpl.ExtensionInfo{ { ExtendedType: (*descriptorpb.FieldOptions)(nil), @@ -185,6 +254,13 @@ var ( // string actual_ip_address = 4 [ // (google.api.field_info).format = IPV4_OR_IPV6 // ]; + // google.protobuf.Any generic_field = 5 [ + // (google.api.field_info).referenced_types = {type_name: "ActualType"}, + // (google.api.field_info).referenced_types = {type_name: "OtherType"}, + // ]; + // google.protobuf.Any generic_user_input = 5 [ + // (google.api.field_info).referenced_types = {type_name: "*"}, + // ]; // // optional google.api.FieldInfo field_info = 291403980; E_FieldInfo = &file_google_api_field_info_proto_extTypes[0] @@ -197,30 +273,37 @@ var file_google_api_field_info_proto_rawDesc = []byte{ 0x6c, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x94, 0x01, 0x0a, 0x09, + 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xda, 0x01, 0x0a, 0x09, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x34, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, - 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, - 0x51, 0x0a, 0x06, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x16, 0x0a, 0x12, 0x46, 0x4f, 0x52, - 0x4d, 0x41, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, - 0x00, 0x12, 0x09, 0x0a, 0x05, 0x55, 0x55, 0x49, 0x44, 0x34, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, - 0x49, 0x50, 0x56, 0x34, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x50, 0x56, 0x36, 0x10, 0x03, - 0x12, 0x10, 0x0a, 0x0c, 0x49, 0x50, 0x56, 0x34, 0x5f, 0x4f, 0x52, 0x5f, 0x49, 0x50, 0x56, 0x36, - 0x10, 0x04, 0x3a, 0x57, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, - 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, - 0xcc, 0xf1, 0xf9, 0x8a, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, - 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x6c, 0x0a, 0x0e, 0x63, - 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x0e, 0x46, - 0x69, 0x65, 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, - 0x41, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, - 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0xa2, 0x02, 0x04, 0x47, 0x41, 0x50, 0x49, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, + 0x44, 0x0a, 0x10, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, + 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, + 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x51, 0x0a, 0x06, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, + 0x16, 0x0a, 0x12, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, + 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x55, 0x55, 0x49, 0x44, 0x34, + 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x50, 0x56, 0x34, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, + 0x49, 0x50, 0x56, 0x36, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x49, 0x50, 0x56, 0x34, 0x5f, 0x4f, + 0x52, 0x5f, 0x49, 0x50, 0x56, 0x36, 0x10, 0x04, 0x22, 0x2c, 0x0a, 0x0d, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, + 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, + 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x3a, 0x57, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0xcc, 0xf1, 0xf9, 0x8a, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x42, + 0x6c, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, + 0x69, 0x42, 0x0e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x50, 0x01, 0x5a, 0x41, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, + 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, + 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0xa2, 0x02, 0x04, 0x47, 0x41, 0x50, 0x49, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -236,21 +319,23 @@ func file_google_api_field_info_proto_rawDescGZIP() []byte { } var file_google_api_field_info_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_google_api_field_info_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_api_field_info_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_google_api_field_info_proto_goTypes = []interface{}{ (FieldInfo_Format)(0), // 0: google.api.FieldInfo.Format (*FieldInfo)(nil), // 1: google.api.FieldInfo - (*descriptorpb.FieldOptions)(nil), // 2: google.protobuf.FieldOptions + (*TypeReference)(nil), // 2: google.api.TypeReference + (*descriptorpb.FieldOptions)(nil), // 3: google.protobuf.FieldOptions } var file_google_api_field_info_proto_depIdxs = []int32{ 0, // 0: google.api.FieldInfo.format:type_name -> google.api.FieldInfo.Format - 2, // 1: google.api.field_info:extendee -> google.protobuf.FieldOptions - 1, // 2: google.api.field_info:type_name -> google.api.FieldInfo - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 2, // [2:3] is the sub-list for extension type_name - 1, // [1:2] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name + 2, // 1: google.api.FieldInfo.referenced_types:type_name -> google.api.TypeReference + 3, // 2: google.api.field_info:extendee -> google.protobuf.FieldOptions + 1, // 3: google.api.field_info:type_name -> google.api.FieldInfo + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 3, // [3:4] is the sub-list for extension type_name + 2, // [2:3] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name } func init() { file_google_api_field_info_proto_init() } @@ -271,6 +356,18 @@ func file_google_api_field_info_proto_init() { return nil } } + file_google_api_field_info_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TypeReference); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } type x struct{} out := protoimpl.TypeBuilder{ @@ -278,7 +375,7 @@ func file_google_api_field_info_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_google_api_field_info_proto_rawDesc, NumEnums: 1, - NumMessages: 1, + NumMessages: 2, NumExtensions: 1, NumServices: 0, }, diff --git a/vendor/google.golang.org/genproto/googleapis/api/annotations/http.pb.go b/vendor/google.golang.org/genproto/googleapis/api/annotations/http.pb.go index 76ea76df33..ffb5838cb1 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/annotations/http.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/annotations/http.pb.go @@ -102,7 +102,7 @@ func (x *Http) GetFullyDecodeReservedExpansion() bool { return false } -// # gRPC Transcoding +// gRPC Transcoding // // gRPC Transcoding is a feature for mapping between a gRPC method and one or // more HTTP REST endpoints. It allows developers to build a single API service @@ -143,9 +143,8 @@ func (x *Http) GetFullyDecodeReservedExpansion() bool { // // This enables an HTTP REST to gRPC mapping as below: // -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` +// - HTTP: `GET /v1/messages/123456` +// - gRPC: `GetMessage(name: "messages/123456")` // // Any fields in the request message which are not bound by the path template // automatically become HTTP query parameters if there is no HTTP request body. @@ -169,11 +168,9 @@ func (x *Http) GetFullyDecodeReservedExpansion() bool { // // This enables a HTTP JSON to RPC mapping as below: // -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456?revision=2&sub.subfield=foo` | -// `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: -// "foo"))` +// - HTTP: `GET /v1/messages/123456?revision=2&sub.subfield=foo` +// - gRPC: `GetMessage(message_id: "123456" revision: 2 sub: +// SubMessage(subfield: "foo"))` // // Note that fields which are mapped to URL query parameters must have a // primitive type or a repeated primitive type or a non-repeated message type. @@ -203,10 +200,8 @@ func (x *Http) GetFullyDecodeReservedExpansion() bool { // representation of the JSON in the request body is determined by // protos JSON encoding: // -// HTTP | gRPC -// -----|----- -// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: -// "123456" message { text: "Hi!" })` +// - HTTP: `PATCH /v1/messages/123456 { "text": "Hi!" }` +// - gRPC: `UpdateMessage(message_id: "123456" message { text: "Hi!" })` // // The special name `*` can be used in the body mapping to define that // every field not bound by the path template should be mapped to the @@ -228,10 +223,8 @@ func (x *Http) GetFullyDecodeReservedExpansion() bool { // // The following HTTP JSON to RPC mapping is enabled: // -// HTTP | gRPC -// -----|----- -// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: -// "123456" text: "Hi!")` +// - HTTP: `PATCH /v1/messages/123456 { "text": "Hi!" }` +// - gRPC: `UpdateMessage(message_id: "123456" text: "Hi!")` // // Note that when using `*` in the body mapping, it is not possible to // have HTTP parameters, as all fields not bound by the path end in @@ -259,13 +252,13 @@ func (x *Http) GetFullyDecodeReservedExpansion() bool { // // This enables the following two alternative HTTP JSON to RPC mappings: // -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` -// `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: -// "123456")` +// - HTTP: `GET /v1/messages/123456` +// - gRPC: `GetMessage(message_id: "123456")` // -// ## Rules for HTTP mapping +// - HTTP: `GET /v1/users/me/messages/123456` +// - gRPC: `GetMessage(user_id: "me" message_id: "123456")` +// +// # Rules for HTTP mapping // // 1. Leaf request fields (recursive expansion nested messages in the request // message) are classified into three categories: @@ -284,7 +277,7 @@ func (x *Http) GetFullyDecodeReservedExpansion() bool { // request body, all // fields are passed via URL path and URL query parameters. // -// ### Path template syntax +// Path template syntax // // Template = "/" Segments [ Verb ] ; // Segments = Segment { "/" Segment } ; @@ -323,7 +316,7 @@ func (x *Http) GetFullyDecodeReservedExpansion() bool { // Document](https://developers.google.com/discovery/v1/reference/apis) as // `{+var}`. // -// ## Using gRPC API Service Configuration +// # Using gRPC API Service Configuration // // gRPC API Service Configuration (service config) is a configuration language // for configuring a gRPC service to become a user-facing product. The @@ -338,15 +331,14 @@ func (x *Http) GetFullyDecodeReservedExpansion() bool { // specified in the service config will override any matching transcoding // configuration in the proto. // -// Example: +// The following example selects a gRPC method and applies an `HttpRule` to it: // // http: // rules: -// # Selects a gRPC method and applies HttpRule to it. // - selector: example.v1.Messaging.GetMessage // get: /v1/messages/{message_id}/{sub.subfield} // -// ## Special notes +// # Special notes // // When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the // proto to JSON conversion must follow the [proto3 diff --git a/vendor/google.golang.org/genproto/googleapis/api/annotations/resource.pb.go b/vendor/google.golang.org/genproto/googleapis/api/annotations/resource.pb.go index 7a3fd93fcd..b5db279aeb 100644 --- a/vendor/google.golang.org/genproto/googleapis/api/annotations/resource.pb.go +++ b/vendor/google.golang.org/genproto/googleapis/api/annotations/resource.pb.go @@ -253,8 +253,13 @@ type ResourceDescriptor struct { History ResourceDescriptor_History `protobuf:"varint,4,opt,name=history,proto3,enum=google.api.ResourceDescriptor_History" json:"history,omitempty"` // The plural name used in the resource name and permission names, such as // 'projects' for the resource name of 'projects/{project}' and the permission - // name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same - // concept of the `plural` field in k8s CRD spec + // name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception + // to this is for Nested Collections that have stuttering names, as defined + // in [AIP-122](https://google.aip.dev/122#nested-collections), where the + // collection ID in the resource name pattern does not necessarily directly + // match the `plural` value. + // + // It is the same concept of the `plural` field in k8s CRD spec // https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/ // // Note: The plural form is required even for singleton resources. See diff --git a/vendor/google.golang.org/grpc/metadata/metadata.go b/vendor/google.golang.org/grpc/metadata/metadata.go index 6c01a9b359..1e9485fd6e 100644 --- a/vendor/google.golang.org/grpc/metadata/metadata.go +++ b/vendor/google.golang.org/grpc/metadata/metadata.go @@ -90,21 +90,6 @@ func Pairs(kv ...string) MD { return md } -// String implements the Stringer interface for pretty-printing a MD. -// Ordering of the values is non-deterministic as it ranges over a map. -func (md MD) String() string { - var sb strings.Builder - fmt.Fprintf(&sb, "MD{") - for k, v := range md { - if sb.Len() > 3 { - fmt.Fprintf(&sb, ", ") - } - fmt.Fprintf(&sb, "%s=[%s]", k, strings.Join(v, ", ")) - } - fmt.Fprintf(&sb, "}") - return sb.String() -} - // Len returns the number of items in md. func (md MD) Len() int { return len(md) diff --git a/vendor/google.golang.org/grpc/version.go b/vendor/google.golang.org/grpc/version.go index e1806e7600..a0b7828904 100644 --- a/vendor/google.golang.org/grpc/version.go +++ b/vendor/google.golang.org/grpc/version.go @@ -19,4 +19,4 @@ package grpc // Version is the current grpc version. -const Version = "1.64.0" +const Version = "1.64.1" diff --git a/vendor/modules.txt b/vendor/modules.txt index 9bcc79eb3b..34ecf97b68 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1,4 +1,4 @@ -# cloud.google.com/go/auth v0.6.1 +# cloud.google.com/go/auth v0.7.2 ## explicit; go 1.20 cloud.google.com/go/auth cloud.google.com/go/auth/credentials @@ -13,11 +13,11 @@ cloud.google.com/go/auth/internal/credsfile cloud.google.com/go/auth/internal/jwt cloud.google.com/go/auth/internal/transport cloud.google.com/go/auth/internal/transport/cert -# cloud.google.com/go/auth/oauth2adapt v0.2.2 -## explicit; go 1.19 +# cloud.google.com/go/auth/oauth2adapt v0.2.3 +## explicit; go 1.20 cloud.google.com/go/auth/oauth2adapt -# cloud.google.com/go/compute/metadata v0.3.0 -## explicit; go 1.19 +# cloud.google.com/go/compute/metadata v0.5.0 +## explicit; go 1.20 cloud.google.com/go/compute/metadata # github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 ## explicit; go 1.16 @@ -97,7 +97,7 @@ github.com/felixge/httpsnoop # github.com/fsnotify/fsnotify v1.7.0 ## explicit; go 1.17 github.com/fsnotify/fsnotify -# github.com/go-logr/logr v1.4.1 +# github.com/go-logr/logr v1.4.2 ## explicit; go 1.18 github.com/go-logr/logr github.com/go-logr/logr/funcr @@ -206,7 +206,7 @@ github.com/google/uuid ## explicit; go 1.19 github.com/googleapis/enterprise-certificate-proxy/client github.com/googleapis/enterprise-certificate-proxy/client/util -# github.com/googleapis/gax-go/v2 v2.12.5 +# github.com/googleapis/gax-go/v2 v2.13.0 ## explicit; go 1.20 github.com/googleapis/gax-go/v2 github.com/googleapis/gax-go/v2/apierror @@ -438,8 +438,8 @@ go.uber.org/zap/internal/pool go.uber.org/zap/internal/stacktrace go.uber.org/zap/zapcore go.uber.org/zap/zapgrpc -# golang.org/x/crypto v0.24.0 -## explicit; go 1.18 +# golang.org/x/crypto v0.25.0 +## explicit; go 1.20 golang.org/x/crypto/chacha20 golang.org/x/crypto/chacha20poly1305 golang.org/x/crypto/cryptobyte @@ -458,7 +458,7 @@ golang.org/x/exp/slices golang.org/x/mod/internal/lazyregexp golang.org/x/mod/module golang.org/x/mod/semver -# golang.org/x/net v0.26.0 => golang.org/x/net v0.17.0 +# golang.org/x/net v0.27.0 => golang.org/x/net v0.17.0 ## explicit; go 1.17 golang.org/x/net/context golang.org/x/net/html @@ -487,14 +487,14 @@ golang.org/x/oauth2/jwt ## explicit; go 1.18 golang.org/x/sync/errgroup golang.org/x/sync/singleflight -# golang.org/x/sys v0.21.0 +# golang.org/x/sys v0.22.0 ## explicit; go 1.18 golang.org/x/sys/cpu golang.org/x/sys/plan9 golang.org/x/sys/unix golang.org/x/sys/windows golang.org/x/sys/windows/registry -# golang.org/x/term v0.21.0 +# golang.org/x/term v0.22.0 ## explicit; go 1.18 golang.org/x/term # golang.org/x/text v0.16.0 @@ -554,7 +554,7 @@ golang.org/x/tools/internal/stdlib golang.org/x/tools/internal/tokeninternal golang.org/x/tools/internal/typesinternal golang.org/x/tools/internal/versions -# google.golang.org/api v0.187.0 +# google.golang.org/api v0.189.0 ## explicit; go 1.20 google.golang.org/api/compute/v0.alpha google.golang.org/api/compute/v0.beta @@ -574,18 +574,18 @@ google.golang.org/api/option/internaloption google.golang.org/api/tpu/v1 google.golang.org/api/transport/http google.golang.org/api/transport/http/internal/propagation -# google.golang.org/genproto/googleapis/api v0.0.0-20240617180043-68d350f18fd4 +# google.golang.org/genproto/googleapis/api v0.0.0-20240722135656-d784300faade ## explicit; go 1.20 google.golang.org/genproto/googleapis/api google.golang.org/genproto/googleapis/api/annotations google.golang.org/genproto/googleapis/api/expr/v1alpha1 google.golang.org/genproto/googleapis/api/httpbody -# google.golang.org/genproto/googleapis/rpc v0.0.0-20240624140628-dc46fd24d27d +# google.golang.org/genproto/googleapis/rpc v0.0.0-20240722135656-d784300faade ## explicit; go 1.20 google.golang.org/genproto/googleapis/rpc/code google.golang.org/genproto/googleapis/rpc/errdetails google.golang.org/genproto/googleapis/rpc/status -# google.golang.org/grpc v1.64.0 +# google.golang.org/grpc v1.64.1 ## explicit; go 1.19 google.golang.org/grpc google.golang.org/grpc/attributes