Skip to content

Commit

Permalink
all: autogenerated update (2018-02-15)
Browse files Browse the repository at this point in the history
Update:
- androidpublisher/v1.1
- androidpublisher/v2
- cloudiot/v1
- container/v1beta1
- dataproc/v1beta2
- dlp/v2beta2
- testing/v1
  • Loading branch information
googleapis-publisher committed Feb 15, 2018
1 parent b0284fd commit 3acc4f9
Show file tree
Hide file tree
Showing 15 changed files with 2,622 additions and 304 deletions.
8 changes: 4 additions & 4 deletions androidpublisher/v1.1/androidpublisher-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"description": "Lets Android application developers access their Google Play accounts.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/android-publisher",
"etag": "\"-iA1DTNe4s-I6JZXPt1t1Ypy8IU/6dC3d2bXqaEYDQ4ff3_tM64T-kM\"",
"etag": "\"-iA1DTNe4s-I6JZXPt1t1Ypy8IU/Xvb720kj6kaUU3p6XJECzzWJnek\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/android-16.png",
"x32": "https://www.google.com/images/icons/product/android-32.png"
Expand Down Expand Up @@ -189,7 +189,7 @@
}
}
},
"revision": "20180121",
"revision": "20180211",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"InappPurchase": {
Expand All @@ -215,7 +215,7 @@
"type": "string"
},
"purchaseState": {
"description": "The purchase state of the order. Possible values are: \n- Purchased \n- Cancelled",
"description": "The purchase state of the order. Possible values are: \n- Purchased \n- Canceled",
"format": "int32",
"type": "integer"
},
Expand All @@ -225,7 +225,7 @@
"type": "string"
},
"purchaseType": {
"description": "The type of purchase of the inapp product. This field is only set if this purchase was not made using the standard in-app billing flow. Possible values are: \n- Test (i.e. purchased from a license testing account)",
"description": "The type of purchase of the inapp product. This field is only set if this purchase was not made using the standard in-app billing flow. Possible values are: \n- Test (i.e. purchased from a license testing account) \n- Promo (i.e. purchased using a promo code)",
"format": "int32",
"type": "integer"
}
Expand Down
3 changes: 2 additions & 1 deletion androidpublisher/v1.1/androidpublisher-gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ type InappPurchase struct {
// PurchaseState: The purchase state of the order. Possible values are:
//
// - Purchased
// - Cancelled
// - Canceled
PurchaseState int64 `json:"purchaseState,omitempty"`

// PurchaseTime: The time the product was purchased, in milliseconds
Expand All @@ -131,6 +131,7 @@ type InappPurchase struct {
// is only set if this purchase was not made using the standard in-app
// billing flow. Possible values are:
// - Test (i.e. purchased from a license testing account)
// - Promo (i.e. purchased using a promo code)
PurchaseType int64 `json:"purchaseType,omitempty"`

// ServerResponse contains the HTTP response code and headers from the
Expand Down
16 changes: 8 additions & 8 deletions androidpublisher/v2/androidpublisher-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"description": "Lets Android application developers access their Google Play accounts.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/android-publisher",
"etag": "\"-iA1DTNe4s-I6JZXPt1t1Ypy8IU/yZuI9Zc3vP87m6b_jbqnCJdkFDI\"",
"etag": "\"-iA1DTNe4s-I6JZXPt1t1Ypy8IU/JHo8f1I6kYzk10q6NwBbUC9DMxw\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/android-16.png",
"x32": "https://www.google.com/images/icons/product/android-32.png"
Expand Down Expand Up @@ -2248,7 +2248,7 @@
"voidedpurchases": {
"methods": {
"list": {
"description": "Lists the purchases that were cancelled, refunded or charged-back.",
"description": "Lists the purchases that were canceled, refunded or charged-back.",
"httpMethod": "GET",
"id": "androidpublisher.purchases.voidedpurchases.list",
"parameterOrder": [
Expand Down Expand Up @@ -2411,7 +2411,7 @@
}
}
},
"revision": "20180121",
"revision": "20180211",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Apk": {
Expand Down Expand Up @@ -3075,7 +3075,7 @@
"type": "string"
},
"purchaseState": {
"description": "The purchase state of the order. Possible values are: \n- Purchased \n- Cancelled",
"description": "The purchase state of the order. Possible values are: \n- Purchased \n- Canceled",
"format": "int32",
"type": "integer"
},
Expand All @@ -3085,7 +3085,7 @@
"type": "string"
},
"purchaseType": {
"description": "The type of purchase of the inapp product. This field is only set if this purchase was not made using the standard in-app billing flow. Possible values are: \n- Test (i.e. purchased from a license testing account)",
"description": "The type of purchase of the inapp product. This field is only set if this purchase was not made using the standard in-app billing flow. Possible values are: \n- Test (i.e. purchased from a license testing account) \n- Promo (i.e. purchased using a promo code)",
"format": "int32",
"type": "integer"
}
Expand Down Expand Up @@ -3225,7 +3225,7 @@
"type": "boolean"
},
"cancelReason": {
"description": "The reason why a subscription was cancelled or is not auto-renewing. Possible values are: \n- User cancelled the subscription \n- Subscription was cancelled by the system, for example because of a billing problem \n- Subscription was replaced with a new subscription \n- Subscription was cancelled by the developer",
"description": "The reason why a subscription was canceled or is not auto-renewing. Possible values are: \n- User canceled the subscription \n- Subscription was canceled by the system, for example because of a billing problem \n- Subscription was replaced with a new subscription \n- Subscription was canceled by the developer",
"format": "int32",
"type": "integer"
},
Expand Down Expand Up @@ -3450,7 +3450,7 @@
"type": "object"
},
"VoidedPurchase": {
"description": "A VoidedPurchase resource indicates a purchase that was either cancelled/refunded/charged-back.",
"description": "A VoidedPurchase resource indicates a purchase that was either canceled/refunded/charged-back.",
"id": "VoidedPurchase",
"properties": {
"kind": {
Expand All @@ -3468,7 +3468,7 @@
"type": "string"
},
"voidedTimeMillis": {
"description": "The time at which the purchase was cancelled/refunded/charged-back, in milliseconds since the epoch (Jan 1, 1970).",
"description": "The time at which the purchase was canceled/refunded/charged-back, in milliseconds since the epoch (Jan 1, 1970).",
"format": "int64",
"type": "string"
}
Expand Down
19 changes: 10 additions & 9 deletions androidpublisher/v2/androidpublisher-gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -1481,7 +1481,7 @@ type ProductPurchase struct {
// PurchaseState: The purchase state of the order. Possible values are:
//
// - Purchased
// - Cancelled
// - Canceled
PurchaseState int64 `json:"purchaseState,omitempty"`

// PurchaseTimeMillis: The time the product was purchased, in
Expand All @@ -1492,6 +1492,7 @@ type ProductPurchase struct {
// is only set if this purchase was not made using the standard in-app
// billing flow. Possible values are:
// - Test (i.e. purchased from a license testing account)
// - Promo (i.e. purchased using a promo code)
PurchaseType int64 `json:"purchaseType,omitempty"`

// ServerResponse contains the HTTP response code and headers from the
Expand Down Expand Up @@ -1797,13 +1798,13 @@ type SubscriptionPurchase struct {
// when it reaches its current expiry time.
AutoRenewing bool `json:"autoRenewing,omitempty"`

// CancelReason: The reason why a subscription was cancelled or is not
// CancelReason: The reason why a subscription was canceled or is not
// auto-renewing. Possible values are:
// - User cancelled the subscription
// - Subscription was cancelled by the system, for example because of a
// - User canceled the subscription
// - Subscription was canceled by the system, for example because of a
// billing problem
// - Subscription was replaced with a new subscription
// - Subscription was cancelled by the developer
// - Subscription was canceled by the developer
CancelReason *int64 `json:"cancelReason,omitempty"`

// CountryCode: ISO 3166-1 alpha-2 billing country/region code of the
Expand Down Expand Up @@ -2209,7 +2210,7 @@ func (s *UserComment) MarshalJSON() ([]byte, error) {
}

// VoidedPurchase: A VoidedPurchase resource indicates a purchase that
// was either cancelled/refunded/charged-back.
// was either canceled/refunded/charged-back.
type VoidedPurchase struct {
// Kind: This kind represents a voided purchase object in the
// androidpublisher service.
Expand All @@ -2224,7 +2225,7 @@ type VoidedPurchase struct {
PurchaseToken string `json:"purchaseToken,omitempty"`

// VoidedTimeMillis: The time at which the purchase was
// cancelled/refunded/charged-back, in milliseconds since the epoch (Jan
// canceled/refunded/charged-back, in milliseconds since the epoch (Jan
// 1, 1970).
VoidedTimeMillis int64 `json:"voidedTimeMillis,omitempty,string"`

Expand Down Expand Up @@ -10395,7 +10396,7 @@ type PurchasesVoidedpurchasesListCall struct {
header_ http.Header
}

// List: Lists the purchases that were cancelled, refunded or
// List: Lists the purchases that were canceled, refunded or
// charged-back.
func (r *PurchasesVoidedpurchasesService) List(packageName string) *PurchasesVoidedpurchasesListCall {
c := &PurchasesVoidedpurchasesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
Expand Down Expand Up @@ -10541,7 +10542,7 @@ func (c *PurchasesVoidedpurchasesListCall) Do(opts ...googleapi.CallOption) (*Vo
}
return ret, nil
// {
// "description": "Lists the purchases that were cancelled, refunded or charged-back.",
// "description": "Lists the purchases that were canceled, refunded or charged-back.",
// "httpMethod": "GET",
// "id": "androidpublisher.purchases.voidedpurchases.list",
// "parameterOrder": [
Expand Down
86 changes: 29 additions & 57 deletions cloudiot/v1/cloudiot-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -658,61 +658,17 @@
}
}
},
"revision": "20180208",
"revision": "20180131",
"rootUrl": "https://cloudiot.googleapis.com/",
"schemas": {
"AuditConfig": {
"description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:[email protected]\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"fooservice.googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:[email protected]\"\n ]\n }\n ]\n }\n ]\n }\n\nFor fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts [email protected] from DATA_READ logging, and\[email protected] from DATA_WRITE logging.",
"id": "AuditConfig",
"properties": {
"auditLogConfigs": {
"description": "The configuration for logging of each type of permission.\nNext ID: 4",
"items": {
"$ref": "AuditLogConfig"
},
"type": "array"
},
"service": {
"description": "Specifies a service that will be enabled for audit logging.\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com`.\n`allServices` is a special value that covers all services.",
"type": "string"
}
},
"type": "object"
},
"AuditLogConfig": {
"description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:[email protected]\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\n[email protected] from DATA_READ logging.",
"id": "AuditLogConfig",
"properties": {
"exemptedMembers": {
"description": "Specifies the identities that do not cause logging for this type of\npermission.\nFollows the same format of Binding.members.",
"items": {
"type": "string"
},
"type": "array"
},
"logType": {
"description": "The log type that this config enables.",
"enum": [
"LOG_TYPE_UNSPECIFIED",
"ADMIN_READ",
"DATA_WRITE",
"DATA_READ"
],
"enumDescriptions": [
"Default case. Should never be this.",
"Admin reads. Example: CloudIAM getIamPolicy",
"Data writes. Example: CloudSQL Users create",
"Data reads. Example: CloudSQL Users list"
],
"type": "string"
}
},
"type": "object"
},
"Binding": {
"description": "Associates `members` with a `role`.",
"id": "Binding",
"properties": {
"condition": {
"$ref": "Expr",
"description": "The condition that is associated with this binding.\nNOTE: an unsatisfied condition will not allow user access via current\nbinding. Different bindings, including their conditions, are examined\nindependently.\nThis field is only visible as GOOGLE_INTERNAL or CONDITION_TRUSTED_TESTER."
},
"members": {
"description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `[email protected]` or `[email protected]`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `[email protected]`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `[email protected]`.\n\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
"items": {
Expand Down Expand Up @@ -775,7 +731,7 @@
"type": "string"
},
"lastHeartbeatTime": {
"description": "[Output only] The last time an MQTT `PINGREQ` was received. This field\napplies only to devices connecting through MQTT. MQTT clients usually only\nsend `PINGREQ` messages if the connection is idle, and no other messages\nhave been sent. Timestamps are periodically collected and written to\nstorage; they may be stale by a few minutes.",
"description": "[Output only] The last time a heartbeat was received. Timestamps are\nperiodically collected and written to storage; they may be stale by a few\nminutes. This field is only for devices connecting through MQTT.",
"format": "google-datetime",
"type": "string"
},
Expand Down Expand Up @@ -928,6 +884,29 @@
},
"type": "object"
},
"Expr": {
"description": "Represents an expression text. Example:\n\n title: \"User account presence\"\n description: \"Determines whether the request has a user account\"\n expression: \"size(request.user) \u003e 0\"",
"id": "Expr",
"properties": {
"description": {
"description": "An optional description of the expression. This is a longer text which\ndescribes the expression, e.g. when hovered over it in a UI.",
"type": "string"
},
"expression": {
"description": "Textual representation of an expression in\nCommon Expression Language syntax.\n\nThe application context of the containing message determines which\nwell-known feature set of CEL is supported.",
"type": "string"
},
"location": {
"description": "An optional string indicating the location of the expression for error\nreporting, e.g. a file name and a position in the file.",
"type": "string"
},
"title": {
"description": "An optional title for the expression, i.e. a short string describing\nits purpose. This can be used e.g. in UIs which allow to enter the\nexpression.",
"type": "string"
}
},
"type": "object"
},
"GetIamPolicyRequest": {
"description": "Request message for `GetIamPolicy` method.",
"id": "GetIamPolicyRequest",
Expand Down Expand Up @@ -1061,13 +1040,6 @@
"description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:[email protected]\",\n \"group:[email protected]\",\n \"domain:google.com\",\n \"serviceAccount:[email protected]\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:[email protected]\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam/docs).",
"id": "Policy",
"properties": {
"auditConfigs": {
"description": "Specifies cloud audit logging configuration for this policy.",
"items": {
"$ref": "AuditConfig"
},
"type": "array"
},
"bindings": {
"description": "Associates a list of `members` to a `role`.\n`bindings` with no members will result in an error.",
"items": {
Expand Down
Loading

0 comments on commit 3acc4f9

Please sign in to comment.